import misc/nyancat, req by zinke@, ok landry@
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.
This commit is contained in:
parent
a132bfeaf2
commit
d4848269e8
29
misc/nyancat/Makefile
Normal file
29
misc/nyancat/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/11/05 22:20:37 sthen Exp $
|
||||
|
||||
COMMENT= nyancat in your terminal
|
||||
|
||||
DISTNAME= nyancat-20121007
|
||||
|
||||
CATEGORIES= misc
|
||||
|
||||
HOMEPAGE= https://github.com/klange/nyancat
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
MASTER_SITES= http://spacehopper.org/mirrors/
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/nyancat-master
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/nyancat ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/nyancat.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
2
misc/nyancat/distinfo
Normal file
2
misc/nyancat/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (nyancat-20121007.tar.gz) = f537Hm+Nah3zi8hgFFSU4mvAqSR6j04ebRAlo9kQjCg=
|
||||
SIZE (nyancat-20121007.tar.gz) = 13749
|
12
misc/nyancat/patches/patch-src_nyancat_c
Normal file
12
misc/nyancat/patches/patch-src_nyancat_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_nyancat_c,v 1.1.1.1 2012/11/05 22:20:37 sthen Exp $
|
||||
--- src/nyancat.c.orig Sun Oct 7 19:41:43 2012
|
||||
+++ src/nyancat.c Mon Nov 5 22:12:33 2012
|
||||
@@ -545,6 +545,8 @@ int main(int argc, char ** argv) {
|
||||
ttype = 6; /* No color support */
|
||||
} else if (strstr(term, "fallback")) {
|
||||
ttype = 4; /* Unicode fallback */
|
||||
+ } else if (strstr(term, "rxvt-256color")) {
|
||||
+ ttype = 1; /* xterm-256color compatible */
|
||||
} else if (strstr(term, "rxvt")) {
|
||||
ttype = 3; /* Accepts LINUX mode */
|
||||
} else if (strstr(term, "vt100") && terminal_width == 40) {
|
5
misc/nyancat/pkg/DESCR
Normal file
5
misc/nyancat/pkg/DESCR
Normal file
@ -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.
|
3
misc/nyancat/pkg/PLIST
Normal file
3
misc/nyancat/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/11/05 22:20:37 sthen Exp $
|
||||
@bin bin/nyancat
|
||||
@man man/man1/nyancat.1
|
Loading…
Reference in New Issue
Block a user