pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/nyancat Import nyancat-1.5.1 as misc/nyancat



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4978b4f36d85
branches:  trunk
changeset: 350393:4978b4f36d85
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Tue Jul 26 18:01:53 2016 +0000

description:
Import nyancat-1.5.1 as misc/nyancat

nyancat is an animated, color, ANSI-text program that renders a loop of
the classic Nyan Cat animation.

nyancat makes use of various ANSI escape sequences to render color, or
in the case of a VT220, simply dumps text to the screen.

Originally packaged in pkgsrc-wip by:
- Frederic Cambus
and
- myself.

diffstat:

 misc/nyancat/DESCR                  |   5 +++++
 misc/nyancat/Makefile               |  16 ++++++++++++++++
 misc/nyancat/PLIST                  |   3 +++
 misc/nyancat/distinfo               |   7 +++++++
 misc/nyancat/patches/patch-Makefile |  28 ++++++++++++++++++++++++++++
 5 files changed, 59 insertions(+), 0 deletions(-)

diffs (79 lines):

diff -r 4167f554d116 -r 4978b4f36d85 misc/nyancat/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/nyancat/DESCR        Tue Jul 26 18:01:53 2016 +0000
@@ -0,0 +1,5 @@
+nyancat is an animated, color, ANSI-text program that renders a loop of
+the classic Nyan Cat animation.
+
+nyancat makes use of various ANSI escape sequences to render color, or
+in the case of a VT220, simply dumps text to the screen.
diff -r 4167f554d116 -r 4978b4f36d85 misc/nyancat/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/nyancat/Makefile     Tue Jul 26 18:01:53 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/07/26 18:01:53 kamil Exp $
+
+DISTNAME=      nyancat-1.5.1
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=klange/}
+
+MAINTAINER=    fred%statdns.com@localhost
+HOMEPAGE=      http://nyancat.dakko.us/
+COMMENT=       Nyancat in your terminal
+LICENSE=       modified-bsd
+
+INSTALL_MAKE_FLAGS+=   MANDIR=${PKGMANDIR}
+
+MANCOMPRESSED= yes
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4167f554d116 -r 4978b4f36d85 misc/nyancat/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/nyancat/PLIST        Tue Jul 26 18:01:53 2016 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 18:01:53 kamil Exp $
+bin/nyancat
+man/man1/nyancat.1
diff -r 4167f554d116 -r 4978b4f36d85 misc/nyancat/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/nyancat/distinfo     Tue Jul 26 18:01:53 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/07/26 18:01:53 kamil Exp $
+
+SHA1 (nyancat-1.5.1.tar.gz) = fd59f53f29a7164246c6fe3c29657b65493b7e0c
+RMD160 (nyancat-1.5.1.tar.gz) = d6cef020e4dd7aeed727ed6d95da29b7abaf7e7f
+SHA512 (nyancat-1.5.1.tar.gz) = 0a45bd0b1a9b9f85650a986c7f9f8120441f6b0bd346281fb44a5470382484738e660dffe17b95088332c50b6aed3feb4b2f949f15f37dd9c1b1885f345e157d
+Size (nyancat-1.5.1.tar.gz) = 15124 bytes
+SHA1 (patch-Makefile) = 81ff0d28036fcd24351dffd68e97610d26b17c01
diff -r 4167f554d116 -r 4978b4f36d85 misc/nyancat/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/nyancat/patches/patch-Makefile       Tue Jul 26 18:01:53 2016 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile,v 1.1 2016/07/26 18:01:53 kamil Exp $
+
+Adapt install target for pkgsrc.
+
+--- Makefile.orig      2015-11-24 05:05:00.000000000 +0000
++++ Makefile
+@@ -3,6 +3,9 @@ version = 1.5.1
+ tarname = $(package)
+ distdir = $(tarname)-$(version)
+ 
++DESTDIR?=
++MANDIR?=share/man
++
+ all clean check nyancat:
+       cd src && $(MAKE) $@
+ 
+@@ -33,7 +36,9 @@ distcheck: $(distdir).tar.gz
+       @echo "*** Package $(distdir).tar.gz is ready for distribution."
+ 
+ install: all
+-      install src/nyancat /usr/bin/${package}
+-      gzip -9 -c < nyancat.1 > /usr/share/man/man1/nyancat.1.gz
++      install -d $(DESTDIR)$(PREFIX)/bin/
++      install src/nyancat $(DESTDIR)$(PREFIX)/bin/${package}
++      install -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
++      gzip -9 -c < nyancat.1 > $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/nyancat.1.gz
+ 
+ .PHONY: FORCE all clean check dist distcheck install



Home | Main Index | Thread Index | Old Index