pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/nyancat



Module Name:    pkgsrc
Committed By:   kamil
Date:           Tue Jul 26 18:01:53 UTC 2016

Added Files:
        pkgsrc/misc/nyancat: DESCR Makefile PLIST distinfo
        pkgsrc/misc/nyancat/patches: patch-Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/nyancat/DESCR pkgsrc/misc/nyancat/Makefile \
    pkgsrc/misc/nyancat/PLIST pkgsrc/misc/nyancat/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/nyancat/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/nyancat/DESCR
diff -u /dev/null pkgsrc/misc/nyancat/DESCR:1.1
--- /dev/null   Tue Jul 26 18:01:53 2016
+++ pkgsrc/misc/nyancat/DESCR   Tue Jul 26 18:01:53 2016
@@ -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.
Index: pkgsrc/misc/nyancat/Makefile
diff -u /dev/null pkgsrc/misc/nyancat/Makefile:1.1
--- /dev/null   Tue Jul 26 18:01:53 2016
+++ pkgsrc/misc/nyancat/Makefile        Tue Jul 26 18:01:53 2016
@@ -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"
Index: pkgsrc/misc/nyancat/PLIST
diff -u /dev/null pkgsrc/misc/nyancat/PLIST:1.1
--- /dev/null   Tue Jul 26 18:01:53 2016
+++ pkgsrc/misc/nyancat/PLIST   Tue Jul 26 18:01:53 2016
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/26 18:01:53 kamil Exp $
+bin/nyancat
+man/man1/nyancat.1
Index: pkgsrc/misc/nyancat/distinfo
diff -u /dev/null pkgsrc/misc/nyancat/distinfo:1.1
--- /dev/null   Tue Jul 26 18:01:53 2016
+++ pkgsrc/misc/nyancat/distinfo        Tue Jul 26 18:01:53 2016
@@ -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

Index: pkgsrc/misc/nyancat/patches/patch-Makefile
diff -u /dev/null pkgsrc/misc/nyancat/patches/patch-Makefile:1.1
--- /dev/null   Tue Jul 26 18:01:53 2016
+++ pkgsrc/misc/nyancat/patches/patch-Makefile  Tue Jul 26 18:01:53 2016
@@ -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