Hello ports@, Here is a diff to update nyancat to latest version (1.5.0).
If possible, I would like to adopt this port and added myself as MAINTAINER just in case this is allowed. If not, please discard the MAINTAINER line. I upstreamed the content of patches and all changes have been merged, which means no patches are required anymore to build this version. Also removed some unused variables in Makefile and tweaked formatting. Index: Makefile =================================================================== RCS file: /cvs/ports/misc/nyancat/Makefile,v retrieving revision 1.10 diff -u -p -u -p -r1.10 Makefile --- Makefile 23 May 2015 16:34:40 -0000 1.10 +++ Makefile 31 Oct 2015 22:59:06 -0000 @@ -1,27 +1,26 @@ # $OpenBSD: Makefile,v 1.10 2015/05/23 16:34:40 czarkoff Exp $ -PORTROACH= limit:^[0-9].* +PORTROACH = limit:^[0-9].* -COMMENT= nyancat in your terminal +COMMENT = nyancat in your terminal -GH_ACCOUNT= klange -GH_PROJECT= nyancat -GH_TAGNAME= 1.4.4 +GH_ACCOUNT = klange +GH_PROJECT = nyancat +GH_TAGNAME = 1.5.0 EPOCH = 0 -WRKDIST= ${WRKDIR}/nyancat-c502754f9b79b03c912815f6139ccfcc75ecf513 -DISTNAME= nyancat-${GH_TAGNAME} +DISTNAME = nyancat-${GH_TAGNAME} -CATEGORIES= misc +CATEGORIES = misc + +MAINTAINER = Frederic Cambus <fcam...@users.sourceforge.net> # BSD -PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_CDROM = Yes WANTLIB += c -MASTER_SITES= ${HOMEPAGE}/archive/ - -NO_TEST= Yes +NO_TEST = Yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/nyancat ${PREFIX}/bin Index: distinfo =================================================================== RCS file: /cvs/ports/misc/nyancat/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 16 Oct 2014 15:48:58 -0000 1.4 +++ distinfo 31 Oct 2015 22:59:06 -0000 @@ -1,2 +1,2 @@ -SHA256 (nyancat-1.4.4.tar.gz) = Jm71QcdGzXXj1MzaXdoswV7oAFpBO+xrdE5Yz2/Z/2U= -SIZE (nyancat-1.4.4.tar.gz) = 15058 +SHA256 (nyancat-1.5.0.tar.gz) = muT3QAYLd7uoFdjU6XcS2CK9CBKhGLiLf9a0E2qXG84= +SIZE (nyancat-1.5.0.tar.gz) = 15112 Index: patches/patch-src_nyancat_c =================================================================== RCS file: patches/patch-src_nyancat_c diff -N patches/patch-src_nyancat_c --- patches/patch-src_nyancat_c 16 Oct 2014 15:48:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ -$OpenBSD: patch-src_nyancat_c,v 1.3 2014/10/16 15:48:58 sthen Exp $ ---- src/nyancat.c.orig Thu May 1 19:14:53 2014 -+++ src/nyancat.c Thu Oct 16 16:46:09 2014 -@@ -50,6 +50,7 @@ - */ - - #define _XOPEN_SOURCE 500 -+#define _BSD_SOURCE - #include <ctype.h> - #include <stdio.h> - #include <stdint.h> -@@ -591,6 +592,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) {