Index: head/games/bsdgames/Makefile =================================================================== --- head/games/bsdgames/Makefile (revision 483674) +++ head/games/bsdgames/Makefile (revision 483675) @@ -1,99 +1,89 @@ # Created by: Mark Murray # $FreeBSD$ PORTNAME= bsdgames -PORTVERSION= 4.8.1 +PORTVERSION= 5.2.2 PORTEPOCH= 1 CATEGORIES= games -MASTER_SITES= LOCAL/adamw +MASTER_SITES= LOCAL/swills -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jockl@pianojockl.org COMMENT= Traditional BSD games taken from DragonFly BSD LICENSE= BSD3CLAUSE +USES= ncurses tar:xz uidfix + CONFLICTS= hangman-[0-9]* -USES= ncurses tar:xz uidfix MAKE_ENV= NO_WERROR=1 MAKE_ARGS= BINGRP=${BINGRP} # contain /usr/share/games SHAREPATH_FILES=atc/atc.6 \ atc/pathnames.h \ + boggle/boggle/bog.h \ + boggle/boggle/boggle.6 \ cribbage/cribbage.6 \ cribbage/pathnames.h \ fish/pathnames.h \ larn/pathnames.h \ quiz/datfiles/index \ quiz/pathnames.h \ quiz/quiz.6 \ wump/pathnames.h # contain /usr/games/* GAMESPATH_FILES=backgammon/backgammon/backgammon.6 \ backgammon/common_source/init.c \ canfield/canfield/canfield.6 \ cribbage/cribbage.6 \ hunt/hunt/hunt.6 \ hunt/huntd/huntd.6 \ phantasia/pathnames.h \ wargames/wargames.sh -# These keep score in /var/games -SGID_BINARIES= atc battlestar canfield/canfield cribbage hack phantasia \ - robots sail snake/snake - .include post-patch: - @${REINPLACE_CMD} -e "s/NOMAN/NO_MAN/" \ - ${WRKSRC}/backgammon/teachgammon/Makefile \ - ${WRKSRC}/canfield/cfscores/Makefile \ - ${WRKSRC}/snake/snscore/Makefile \ - ${WRKSRC}/fortune/unstr/Makefile \ - ${WRKSRC}/primes/Makefile @for f in ${SHAREPATH_FILES}; do \ ${REINPLACE_CMD} -e 's|/usr/share/games|${PREFIX}/share/games|g' \ ${WRKSRC}/$${f}; \ done @for f in ${GAMESPATH_FILES}; do \ ${REINPLACE_CMD} -e 's|/usr/games|${PREFIX}/bin|g' \ ${WRKSRC}/$${f}; \ done - @for f in ${SGID_BINARIES}; do \ - ${REINPLACE_CMD} -e 's/HIDEGAME/SGIDGAME/' \ - ${WRKSRC}/$${f}/Makefile; \ - done - @${FIND} ${WRKSRC} -type f -name Makefile \ - | ${XARGS} ${REINPLACE_CMD} -e 's/-lprivate_ncurses/-lncurses/' pre-install: -.for d in atc larn quiz.db +.for d in atc larn quiz.db boggle @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/$d .endfor .for d in atc battlestar hackdir/save larn phantasia @${MKDIR} ${STAGEDIR}/var/games/$d .endfor post-install: # avoid conflict with games/bs and shells/fish .for prog in bs fish ${MV} ${STAGEDIR}${PREFIX}/bin/${prog} ${STAGEDIR}${PREFIX}/bin/${prog}-game ${MV} ${STAGEDIR}${MAN6PREFIX}/man/man6/${prog}.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6/${prog}-game.6.gz .endfor @${TOUCH} ${STAGEDIR}/var/games/atc_score @${FIND} ${STAGEDIR}/var/games -type f -exec ${MV} {} {}.sample \; dist: - fetch -o- https://github.com/DragonFlyBSD/DragonFlyBSD/archive/v${PORTVERSION}.zip | \ - unzip - DragonFlyBSD-${PORTVERSION}/games/\* - mv DragonFlyBSD-${PORTVERSION}/games bsdgames-${PORTVERSION} - tar -cvf bsdgames-${PORTVERSION}.tar bsdgames-${PORTVERSION} - xz -v bsdgames-${PORTVERSION}.tar - @echo - @echo 'UPLOAD THE DISTFILE BEFORE YOU FORGET' - @echo '=====================================' + ${FETCH_CMD} -o- https://github.com/DragonFlyBSD/DragonFlyBSD/archive/v${PORTVERSION}.zip | \ + ${TAR_CMD} xfv - DragonFlyBSD-${PORTVERSION}/games/\* + ${MV} DragonFlyBSD-${PORTVERSION}/games bsdgames-${PORTVERSION} + ${RMDIR} DragonFlyBSD-${PORTVERSION} + ${TAR_CMD} -cvf bsdgames-${PORTVERSION}.tar bsdgames-${PORTVERSION} + ${XZ_CMD} -v bsdgames-${PORTVERSION}.tar + @${ECHO_CMD} + @${ECHO_CMD} '=======================================' + @${ECHO_CMD} ' UPLOAD THE DISTFILE BEFORE YOU FORGET ' + @${ECHO_CMD} '=======================================' + @${ECHO_CMD} 'bsdgames-${PORTVERSION} can be deleted!' .include Index: head/games/bsdgames/distinfo =================================================================== --- head/games/bsdgames/distinfo (revision 483674) +++ head/games/bsdgames/distinfo (revision 483675) @@ -1,3 +1,3 @@ -TIMESTAMP = 1506702661 -SHA256 (bsdgames-4.8.1.tar.xz) = 31a27fcd003cc04f942078a278618e1bb5d472f68d52dcc1a26a3fcf74b4532b -SIZE (bsdgames-4.8.1.tar.xz) = 1745908 +TIMESTAMP = 1538837076 +SHA256 (bsdgames-5.2.2.tar.xz) = f80bcac0838e9cee60b4c6ab86dee95ba039034691ddf1c28ce26d3a05943f15 +SIZE (bsdgames-5.2.2.tar.xz) = 1773360 Index: head/games/bsdgames/files/patch-colorbars_colorbars.c =================================================================== --- head/games/bsdgames/files/patch-colorbars_colorbars.c (revision 483674) +++ head/games/bsdgames/files/patch-colorbars_colorbars.c (nonexistent) @@ -1,13 +0,0 @@ ---- colorbars/colorbars.c.orig 2016-10-31 17:00:48 UTC -+++ colorbars/colorbars.c -@@ -31,6 +31,10 @@ - #include - #include - -+#ifndef __arysize -+#define __arysize(n) (sizeof(n)/sizeof((n)[0])) -+#endif -+ - int - main(void) - { Property changes on: head/games/bsdgames/files/patch-colorbars_colorbars.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-battlestar_fly.c =================================================================== --- head/games/bsdgames/files/patch-battlestar_fly.c (revision 483674) +++ head/games/bsdgames/files/patch-battlestar_fly.c (nonexistent) @@ -1,11 +0,0 @@ -diff -Naur battlestar.orig/fly.c battlestar/fly.c ---- battlestar.orig/fly.c 2012-03-22 13:59:00.000000000 +0100 -+++ battlestar/fly.c 2012-03-22 13:59:09.000000000 +0100 -@@ -286,6 +286,7 @@ - signal(SIGALRM, SIG_DFL); - mvcur(0,COLS-1,LINES-1,0); - endwin(); -+ setlinebuf(stdout); - signal(SIGTSTP, SIG_DFL); - signal(SIGINT, oldsig); - } Property changes on: head/games/bsdgames/files/patch-battlestar_fly.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-rogue_inventory.c =================================================================== --- head/games/bsdgames/files/patch-rogue_inventory.c (revision 483674) +++ head/games/bsdgames/files/patch-rogue_inventory.c (nonexistent) @@ -1,10 +0,0 @@ ---- rogue/inventory.c.orig 2016-05-12 14:49:52 UTC -+++ rogue/inventory.c -@@ -417,6 +417,7 @@ mix_colors(void) - k = get_rand(0, (POTIONS - 1)); - memcpy(t, id_potions[j].title, MAX_ID_TITLE_LEN); - memcpy(id_potions[j].title, id_potions[k].title, MAX_ID_TITLE_LEN); -+ memcpy(id_potions[k].title, t, MAX_ID_TITLE_LEN); - } - } - Property changes on: head/games/bsdgames/files/patch-rogue_inventory.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-hack_hack.unix.c =================================================================== --- head/games/bsdgames/files/patch-hack_hack.unix.c (revision 483674) +++ head/games/bsdgames/files/patch-hack_hack.unix.c (nonexistent) @@ -1,51 +0,0 @@ ---- hack/hack.unix.c.orig 2014-07-22 09:54:22.000000000 -0400 -+++ hack/hack.unix.c 2014-07-22 10:20:43.000000000 -0400 -@@ -18,7 +18,9 @@ - - #include /* for time_t and stat */ - #include -+#include - #include -+#include - - static struct tm *getlt(void); - static bool veryold(int); -@@ -94,13 +96,32 @@ - void - gethdate(const char *name) - { --/* old version - for people short of space */ -- char *np; -+ char *p, *np, *path; -+ char filename[MAXPATHLEN+1]; - -- name = "/usr/games/hide/hack"; -- if (stat(name, &hbuf)) -- error("Cannot get status of %s.", -- (np = strrchr(name, '/')) ? np + 1 : name); -+ if (strchr(name, '/') != NULL || (p = getenv("PATH")) == NULL) -+ p = ""; -+ np = path = strdup(p); /* Make a copy for strsep. */ -+ if (path == NULL) -+ err(1, NULL); -+ -+ for (;;) { -+ if ((p = strsep(&np, ":")) == NULL) -+ break; -+ if (*p == '\0') /* :: */ -+ (void) strlcpy(filename, name, sizeof filename); -+ else -+ (void) snprintf(filename, sizeof filename, -+ "%s/%s", p, name); -+ -+ if (stat(filename, &hbuf) == 0) { -+ free(path); -+ return; -+ } -+ } -+ error("Cannot get status of %s.", -+ (p = strrchr(name, '/')) ? p+1 : name); -+ free(path); - } - - bool Property changes on: head/games/bsdgames/files/patch-hack_hack.unix.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-battlestar_externs.h =================================================================== --- head/games/bsdgames/files/patch-battlestar_externs.h (revision 483674) +++ head/games/bsdgames/files/patch-battlestar_externs.h (nonexistent) @@ -1,23 +0,0 @@ ---- battlestar/externs.h.orig 2012-05-25 11:57:52.000000000 +0200 -+++ battlestar/externs.h 2012-05-25 11:57:55.000000000 +0200 -@@ -44,15 +44,18 @@ - #include - #include - -+/* We use our own */ -+#undef setbit -+#undef testbit -+#undef clearbit -+ - #define BITS (8) - - #define OUTSIDE (position > 68 && position < 246 && position != 218) - #define rnd(x) (random() % (x)) - #define max(a,b) ((a) < (b) ? (b) : (a)) - #define testbit(array, index) (array[index/BITS] & (1 << (index % BITS))) --#ifndef setbit - #define setbit(array, index) (array[index/BITS] |= (1 << (index % BITS))) --#endif - #define clearbit(array, index) (array[index/BITS] &= ~(1 << (index % BITS))) - - /* well known rooms */ Property changes on: head/games/bsdgames/files/patch-battlestar_externs.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-Makefile =================================================================== --- head/games/bsdgames/files/patch-Makefile (revision 483674) +++ head/games/bsdgames/files/patch-Makefile (revision 483675) @@ -1,36 +1,38 @@ ---- Makefile.orig 2016-10-31 16:52:06 UTC +--- Makefile.orig 2018-06-15 14:40:00 UTC +++ Makefile -@@ -8,33 +8,21 @@ SUBDIR= adventure \ +@@ -5,35 +5,25 @@ SUBDIR= adventure \ + arithmetic \ atc \ backgammon \ +- banner \ battlestar \ -- bcd \ + bcd \ bs \ + boggle \ - caesar \ canfield \ cribbage \ colorbars \ -- dm \ - factor \ fish \ - fortune \ - grdc \ hack \ hals_end \ hangman \ hunt \ larn \ mille \ - morse \ - number \ phantasia \ pig \ - pom \ -- ppt \ + ppt \ - primes \ quiz \ rain \ - random \ robots \ rogue \ sail \ Index: head/games/bsdgames/files/patch-Makefile.inc =================================================================== --- head/games/bsdgames/files/patch-Makefile.inc (revision 483674) +++ head/games/bsdgames/files/patch-Makefile.inc (revision 483675) @@ -1,49 +1,68 @@ ---- Makefile.inc.orig 2009-09-24 10:46:30.000000000 +0200 -+++ Makefile.inc 2009-11-25 23:07:35.000000000 +0100 -@@ -2,14 +2,40 @@ - # $FreeBSD: /tmp/pcvs/ports/games/bsdgames/files/patch-Makefile.inc,v 1.2 2009-11-26 14:45:24 miwi Exp $ - # $DragonFly: src/games/Makefile.inc,v 1.3 2006/10/08 16:22:34 pavalos Exp $ - +--- Makefile.inc.orig 2018-06-15 14:40:00 UTC ++++ Makefile.inc +@@ -1,19 +1,16 @@ + # @(#)Makefile.inc 8.1 (Berkeley) 5/31/93 + # $FreeBSD: src/games/Makefile.inc,v 1.10.2.2 2002/02/18 16:02:39 ru Exp $ +- -BINDIR?= /usr/games -+PREFIX?= /usr/local -+BINDIR?= ${PREFIX}/bin -+SHAREDIR= ${PREFIX}/share -+MANDIR= ${PREFIX}/man/man - FILESDIR?= ${SHAREDIR}/games - WARNS?= 6 +-FILESDIR?= ${SHAREDIR}/games +-WARNS?= 6 ++# $DragonFly: src/games/Makefile.inc,v 1.3 2006/10/08 16:22:34 pavalos Exp $ --.if defined(HIDEGAME) --ORIGBINDIR:= ${BINDIR} --BINDIR:= ${BINDIR}/hide --ORIGBINGRP:= ${BINGRP} -+.if defined(SGIDGAME) + # These games write to /var/games/ + .if defined(VARGAMES) BINGRP= games -BINMODE= 550 +BINMODE= 2555 .endif + + # Handle libcrypto dependency + .if defined(GAMESCRYPTO) +-LDADD+= -lprivate_crypto ++LDADD+= -lcrypto + DPADD+= ${LIBCRYPTO} + CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv + LDFLAGS+= ${PRIVATELIB_LDFLAGS} +@@ -22,7 +19,40 @@ LDFLAGS+= ${PRIVATELIB_LDFLAGS} + # Handle libncurses dependency + .if defined(GAMESCURSES) + DPADD+= ${LIBNCURSES} +-LDADD+= -lprivate_ncurses +-CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses ++LDADD+= -lncurses ++CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/ncurses + LDFLAGS+= ${PRIVATELIB_LDFLAGS} + .endif ++ ++PREFIX?= /usr/local ++BINDIR?= ${PREFIX}/bin ++SHAREDIR= ${PREFIX}/share ++MANDIR= ${PREFIX}/man/man ++FILESDIR?= ${SHAREDIR}/games ++WARNS?= 6 + +# cribbed from DragonflyBSD build system + +NXCC?= ${CC} +NXCFLAGS?= ${CFLAGS:N-mtune*:N-mcpu*:N-march*} + +.SUFFIXES: .nx .no + +# .no == native object file, for helper code when cross building. +# +.c.no: + ${NXCC} ${_${.IMPSRC:T}_FLAGS} ${NXCFLAGS} -c ${.IMPSRC} -o ${.TARGET} + +.y.no: + ${YACC} ${YFLAGS} ${.IMPSRC} + ${NXCC} ${NXCFLAGS} -c y.tab.c -o ${.TARGET} + rm -f y.tab.c + +.l.no: + ${LEX} ${LFLAGS} -o${.TARGET}.c ${.IMPSRC} + ${NXCC} ${NXCFLAGS} -c ${.TARGET}.c -o ${.TARGET} + rm -f ${.TARGET}.c + +.no.nx .c.nx: + ${NXCC} ${_${.IMPSRC:T}_FLAGS} ${NXCFLAGS} ${NXLDFLAGS} ${.IMPSRC} \ + ${NXLDLIBS} -o ${.TARGET} Index: head/games/bsdgames/files/patch-backgammon-teachgammon-Makefile =================================================================== --- head/games/bsdgames/files/patch-backgammon-teachgammon-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-backgammon-teachgammon-Makefile (revision 483675) @@ -0,0 +1,11 @@ +--- backgammon/teachgammon/Makefile.orig 2018-06-15 14:40:00 UTC ++++ backgammon/teachgammon/Makefile +@@ -1,7 +1,7 @@ + # @(#)Makefile 8.1 (Berkeley) 5/31/93 + + PROG= teachgammon +-NOMAN= noman ++MK_MAN= no + CFLAGS+=-DTEACHGAMMON_TEXT -I${.CURDIR}/../common_source + SRCS= allow.c board.c check.c data.c fancy.c init.c odds.c one.c save.c \ + subs.c table.c teach.c ttext1.c ttext2.c tutor.c Property changes on: head/games/bsdgames/files/patch-backgammon-teachgammon-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-boggle-boggle-extern.h =================================================================== --- head/games/bsdgames/files/patch-boggle-boggle-extern.h (nonexistent) +++ head/games/bsdgames/files/patch-boggle-boggle-extern.h (revision 483675) @@ -0,0 +1,10 @@ +--- boggle/boggle/extern.h.orig 2018-06-15 14:40:00 UTC ++++ boggle/boggle/extern.h +@@ -33,6 +33,7 @@ + */ + + #include ++#include + + extern int tlimit; + extern time_t start_t; Property changes on: head/games/bsdgames/files/patch-boggle-boggle-extern.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-boggle-dictfiles-Makefile =================================================================== --- head/games/bsdgames/files/patch-boggle-dictfiles-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-boggle-dictfiles-Makefile (revision 483675) @@ -0,0 +1,14 @@ +--- boggle/dictfiles/Makefile.orig 2018-06-15 14:40:00 UTC ++++ boggle/dictfiles/Makefile +@@ -13,9 +13,9 @@ FILESDIR= ${SHAREDIR}/games/boggle + CLEANFILES= dictindex dictionary + + dictionary: +- ${.OBJDIR}/../mkdict/mkdict.nx < ${BOOGLEWORDS} > ${.TARGET} ++ ${.OBJDIR}/../mkdict/mkdict < ${BOOGLEWORDS} > ${.TARGET} + + dictindex: dictionary +- ${.OBJDIR}/../mkindex/mkindex.nx < ${.ALLSRC} > ${.TARGET} ++ ${.OBJDIR}/../mkindex/mkindex < ${.ALLSRC} > ${.TARGET} + + .include Property changes on: head/games/bsdgames/files/patch-boggle-dictfiles-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-boggle-mkdict-Makefile =================================================================== --- head/games/bsdgames/files/patch-boggle-mkdict-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-boggle-mkdict-Makefile (revision 483675) @@ -0,0 +1,13 @@ +--- boggle/mkdict/Makefile.orig 2018-06-15 14:40:00 UTC ++++ boggle/mkdict/Makefile +@@ -4,8 +4,8 @@ + + PROG= mkdict + CFLAGS+=-I${.CURDIR}/../boggle +- ++MK_MAN= no + # this mkdict is used in place, it is not installed anywhere + install: + +-.include ++.include Property changes on: head/games/bsdgames/files/patch-boggle-mkdict-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-boggle-mkindex-Makefile =================================================================== --- head/games/bsdgames/files/patch-boggle-mkindex-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-boggle-mkindex-Makefile (revision 483675) @@ -0,0 +1,13 @@ +--- boggle/mkindex/Makefile.orig 2018-06-15 14:40:00 UTC ++++ boggle/mkindex/Makefile +@@ -4,8 +4,9 @@ + + PROG= mkindex + CFLAGS+=-I${.CURDIR}/../boggle ++MK_MAN= no + + # this mkindex is used in place, it is not installed anywhere + install: + +-.include ++.include Property changes on: head/games/bsdgames/files/patch-boggle-mkindex-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-canfield-cfscores-Makefile =================================================================== --- head/games/bsdgames/files/patch-canfield-cfscores-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-canfield-cfscores-Makefile (revision 483675) @@ -0,0 +1,11 @@ +--- canfield/cfscores/Makefile.orig 2018-06-15 14:40:00 UTC ++++ canfield/cfscores/Makefile +@@ -3,7 +3,7 @@ + + PROG= cfscores + CFLAGS+=-I${.CURDIR}/../canfield +-NOMAN= noman ++MK_MAN= no + + .include "../../Makefile.inc" + .include Property changes on: head/games/bsdgames/files/patch-canfield-cfscores-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-colorbars-colorbars.c =================================================================== --- head/games/bsdgames/files/patch-colorbars-colorbars.c (nonexistent) +++ head/games/bsdgames/files/patch-colorbars-colorbars.c (revision 483675) @@ -0,0 +1,13 @@ +--- colorbars/colorbars.c.orig 2018-06-15 14:40:00 UTC ++++ colorbars/colorbars.c +@@ -33,6 +33,10 @@ + + #include + ++#ifndef NELEM ++#define NELEM(n) (sizeof(n)/sizeof((n)[0])) ++#endif ++ + int + main(void) + { Property changes on: head/games/bsdgames/files/patch-colorbars-colorbars.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-primes-Makefile =================================================================== --- head/games/bsdgames/files/patch-primes-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-primes-Makefile (revision 483675) @@ -0,0 +1,11 @@ +--- primes/Makefile.orig 2018-06-15 14:40:00 UTC ++++ primes/Makefile +@@ -3,7 +3,7 @@ + + PROG= primes + SRCS= pattern.c pr_tbl.c primes.c +-NOMAN= noman ++MK_MAN= no + DPADD= ${LIBM} + LDADD= -lm + Property changes on: head/games/bsdgames/files/patch-primes-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/files/patch-snake-snscore-Makefile =================================================================== --- head/games/bsdgames/files/patch-snake-snscore-Makefile (nonexistent) +++ head/games/bsdgames/files/patch-snake-snscore-Makefile (revision 483675) @@ -0,0 +1,11 @@ +--- snake/snscore/Makefile.orig 2018-06-15 14:40:00 UTC ++++ snake/snscore/Makefile +@@ -3,7 +3,7 @@ + + PROG= snscore + CFLAGS+= -I${.CURDIR}/../snake +-NOMAN= ++MK_MAN= no + + .include "../../Makefile.inc" + .include Property changes on: head/games/bsdgames/files/patch-snake-snscore-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/bsdgames/pkg-plist =================================================================== --- head/games/bsdgames/pkg-plist (revision 483674) +++ head/games/bsdgames/pkg-plist (revision 483675) @@ -1,141 +1,152 @@ bin/adventure bin/arithmetic @(,games,2555) bin/atc bin/backgammon @(,games,2555) bin/battlestar +bin/bcd +bin/boggle bin/bs-game @(,games,2555) bin/canfield bin/cfscores bin/colorbars @(,games,2555) bin/cribbage bin/fish-game @(,games,2555) bin/hack bin/hals_end bin/hangman bin/hunt bin/huntd -bin/larn +@(,games,2555) bin/larn bin/mille @(,games,2555) bin/phantasia bin/pig +bin/ppt bin/quiz bin/rain @(,games,2555) bin/robots -bin/rogue +@(,games,2555) bin/rogue @(,games,2555) bin/sail @(,games,2555) bin/snake bin/snscore bin/teachgammon +bin/tetris bin/trek bin/wargames bin/worm bin/worms bin/wump man/man6/adventure.6.gz man/man6/arithmetic.6.gz man/man6/atc.6.gz man/man6/backgammon.6.gz man/man6/battlestar.6.gz +man/man6/bcd.6.gz +man/man6/boggle.6.gz man/man6/bs-game.6.gz man/man6/canfield.6.gz man/man6/cfscores.6.gz man/man6/colorbars.6.gz man/man6/cribbage.6.gz man/man6/fish-game.6.gz man/man6/hack.6.gz man/man6/hals_end.6.gz man/man6/hangman.6.gz man/man6/hunt.6.gz man/man6/huntd.6.gz man/man6/larn.6.gz man/man6/mille.6.gz man/man6/phantasia.6.gz man/man6/pig.6.gz +man/man6/ppt.6.gz man/man6/quiz.6.gz man/man6/rain.6.gz man/man6/robots.6.gz man/man6/rogue.6.gz man/man6/sail.6.gz man/man6/snake.6.gz man/man6/snscore.6.gz +man/man6/tetris.6.gz man/man6/trek.6.gz man/man6/wargames.6.gz man/man6/worm.6.gz man/man6/worms.6.gz man/man6/wump.6.gz share/games/atc/Game_List share/games/atc/Killer share/games/atc/crossover share/games/atc/default share/games/atc/easy share/games/atc/game_2 +share/games/boggle/dictindex +share/games/boggle/dictionary +share/games/boggle/helpfile +share/games/cribbage.instr +share/games/fish.instr +share/games/larn/larn.help share/games/larn/larnmaze share/games/larn/larnopts -share/games/larn/larn.help share/games/quiz.db/africa share/games/quiz.db/america share/games/quiz.db/areas share/games/quiz.db/arith share/games/quiz.db/asia share/games/quiz.db/babies share/games/quiz.db/bard share/games/quiz.db/chinese share/games/quiz.db/collectives share/games/quiz.db/ed share/games/quiz.db/elements share/games/quiz.db/europe share/games/quiz.db/flowers share/games/quiz.db/greek share/games/quiz.db/inca share/games/quiz.db/index share/games/quiz.db/latin share/games/quiz.db/locomotive share/games/quiz.db/midearth share/games/quiz.db/morse share/games/quiz.db/murders share/games/quiz.db/poetry share/games/quiz.db/posneg share/games/quiz.db/pres share/games/quiz.db/province share/games/quiz.db/seq-easy share/games/quiz.db/seq-hard share/games/quiz.db/sexes share/games/quiz.db/sov share/games/quiz.db/spell share/games/quiz.db/state share/games/quiz.db/trek share/games/quiz.db/ucc -share/games/cribbage.instr -share/games/fish.instr share/games/wump.info @sample(,games,0664) /var/games/atc_score.sample @sample(,games,0664) /var/games/battlestar.log.sample @sample(,games,0664) /var/games/cfscores.sample @sample(,games,0664) /var/games/criblog.sample +@sample(,games,0664) /var/games/hackdir/data.sample @sample(,games,0664) /var/games/hackdir/help.sample @sample(,games,0664) /var/games/hackdir/hh.sample -@sample(,games,0664) /var/games/hackdir/data.sample @sample(,games,0664) /var/games/hackdir/perm.sample @sample(,games,0664) /var/games/hackdir/record.sample @sample(,games,0664) /var/games/hackdir/rumors.sample -@sample(,games,0664) /var/games/larn/lscore12.0.sample @sample(,games,0664) /var/games/larn/llog12.0.sample -@sample(,games,0664) /var/games/phantasia/monsters.sample -@sample(,games,0664) /var/games/phantasia/void.sample +@sample(,games,0664) /var/games/larn/lscore12.0.sample @sample(,games,0664) /var/games/phantasia/characs.sample @sample(,games,0664) /var/games/phantasia/gold.sample @sample(,games,0664) /var/games/phantasia/lastdead.sample @sample(,games,0664) /var/games/phantasia/mess.sample +@sample(,games,0664) /var/games/phantasia/monsters.sample @sample(,games,0664) /var/games/phantasia/motd.sample @sample(,games,0664) /var/games/phantasia/scoreboard.sample +@sample(,games,0664) /var/games/phantasia/void.sample @sample(,games,0664) /var/games/robots_roll.sample @sample(,games,0664) /var/games/rogue.scores.sample @sample(,games,0664) /var/games/saillog.sample -@sample(,games,0664) /var/games/snakerawscores.sample @sample(,games,0664) /var/games/snake.log.sample -@dir(,games,0775) /var/games/phantasia -@dir(,games,0775) /var/games/larn -@dir(,games,0770) /var/games/hackdir/save -@dir(,games,0775) /var/games/hackdir -@dir(,games,0775) /var/games/battlestar -@dir(,games,0775) /var/games/atc +@sample(,games,0664) /var/games/snakerawscores.sample +@dir(,games,0775) /var/games/atc +@dir(,games,0775) /var/games/battlestar +@dir(,games,0775) /var/games/hackdir/save +@dir(,games,0775) /var/games/hackdir +@dir(,games,0775) /var/games/larn +@dir(,games,0775) /var/games/phantasia