aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-08-14 15:15:51 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-08-14 15:15:51 +0000
commit9ee8d18ccc18210c012ebe2acd771c4deeac43ec (patch)
treec68ff338b2e12de4eb1ebe70f26ffcbdd123d7c2 /games/bsdgames
parente66b0ab8f2161a1f2fdd5776423c1441fb6dd890 (diff)
downloadports-9ee8d18ccc18210c012ebe2acd771c4deeac43ec.tar.gz
ports-9ee8d18ccc18210c012ebe2acd771c4deeac43ec.zip
Notes
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/Makefile2
-rw-r--r--games/bsdgames/files/Makefile37
-rw-r--r--games/bsdgames/pkg-plist2
3 files changed, 41 insertions, 0 deletions
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