From 9ee8d18ccc18210c012ebe2acd771c4deeac43ec Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 14 Aug 2003 15:15:51 +0000 Subject: . Enable rogue. --- games/bsdgames/Makefile | 2 ++ games/bsdgames/files/Makefile | 37 +++++++++++++++++++++++++++++++++++++ games/bsdgames/pkg-plist | 2 ++ 3 files changed, 41 insertions(+) create mode 100644 games/bsdgames/files/Makefile (limited to 'games/bsdgames') diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile index 66362f3100f7..5934b80ceb69 100644 --- a/games/bsdgames/Makefile +++ b/games/bsdgames/Makefile @@ -37,6 +37,7 @@ MAN6= \ pig.6 \ quiz.6 \ robots.6 \ + rogue.6 \ sail.6 \ snake.6 \ snscore.6 \ @@ -49,6 +50,7 @@ MANCOMPRESSED= maybe IGNOREFILES= freebsd-games-5.0.tar.bz2 post-extract: + @${CP} ${FILESDIR}/Makefile ${BUILD_WRKSRC} @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} extract) diff --git a/games/bsdgames/files/Makefile b/games/bsdgames/files/Makefile new file mode 100644 index 000000000000..ca13bede5c11 --- /dev/null +++ b/games/bsdgames/files/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ +.include "Makefile.inc" + +GAMES= adventure arithmetic atc backgammon battlestar bs canfield cribbage \ + fish hack hangman larn mille phantasia piano pig quiz robots rogue \ + sail snake trek worm wump +all: ${GAMES} +.for I in ${GAMES} + cd ${I} && make depend && make all +.endfor + +install: ${GAMES} + mtree -deU -f var.mtree -p ${VARDIR} + mtree -deU -f share.mtree -p ${SHAREDIR} +.for I in ${GAMES} + cd ${I} && make install +.endfor + +clean: ${GAMES} +.for I in ${GAMES} + cd ${I} && make clean +.endfor + +extract: ${GAMES} + +.for I in ${GAMES} +${I}: + cvs -d `pwd`/cvs get ${I} +.endfor + +commit: +.for I in ${GAMES} + cvs -d `pwd`/cvs commit -F ./commitmsg ${I} +.endfor + +distclean: + rm -rf ${GAMES} diff --git a/games/bsdgames/pkg-plist b/games/bsdgames/pkg-plist index 3ecee06a7173..4c0ebf9239e3 100644 --- a/games/bsdgames/pkg-plist +++ b/games/bsdgames/pkg-plist @@ -19,6 +19,7 @@ bin/piano bin/pig bin/quiz bin/robots +bin/rogue bin/sail bin/snake bin/snscore @@ -101,6 +102,7 @@ battlestar.log cfscores criblog robots_roll +rogue.scores saillog snakerawscores snake.log -- cgit v1.2.3