summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1999-05-27 13:53:03 +0000
committerThomas Gellekum <tg@FreeBSD.org>1999-05-27 13:53:03 +0000
commit83b8355c45733400b45fb6b95a6b598333823c6d (patch)
treee9ceed48c9b635996e7a1e4aa3ed42a9b9775dbe /games/rocksndiamonds/Makefile
parentUpdate to v0.3.5 (diff)
New port rocksndiamonds. Boulderdash and Emerald Mine and Sokoban
and more in one package.
Notes
Notes: svn path=/head/; revision=19023
Diffstat (limited to 'games/rocksndiamonds/Makefile')
-rw-r--r--games/rocksndiamonds/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile
new file mode 100644
index 000000000000..9835ff2ecbb0
--- /dev/null
+++ b/games/rocksndiamonds/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: rocksndiamonds
+# Version required: 1.2.0
+# Date created: 27 May 1999
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= rocksndiamonds-1.2.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games
+
+MAINTAINER= ports@FreeBSD.ORG
+
+USE_XLIB= yes
+USE_GMAKE= yes
+MAKE_ENV= GAME_DIR=${GAME_DIR} X11_PATH=${X11BASE} OPTIONS="${CFLAGS}"
+
+GAME_DIR=${PREFIX}/share/rocksndiamonds
+DOC_DIR=${PREFIX}/share/doc/rocksndiamonds
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/rocksndiamonds ${PREFIX}/bin
+ @${MKDIR} ${GAME_DIR}
+ @cd ${WRKSRC}; tar cpf - graphics levels scores sounds | \
+ (cd ${GAME_DIR}; tar xpf -)
+ @chmod 777 ${GAME_DIR}/scores
+.if !defined(NOPPORTDOCS)
+ @${MKDIR} ${DOC_DIR}
+.for docfile in CHANGES CREDITS HARDWARE README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOC_DIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>