summaryrefslogtreecommitdiff
path: root/games/xnibbles/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-03-15 20:38:42 +0000
committerSteve Price <steve@FreeBSD.org>1998-03-15 20:38:42 +0000
commita17a1365ec65c1844289d142b08d2487c7966aae (patch)
tree11c93ba7a2659c925dd229bebe8b80e847c2f96c /games/xnibbles/Makefile
parentActivate xlaby. (diff)
A simple X11 snake game.
PR: 5905 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=10160
Diffstat (limited to 'games/xnibbles/Makefile')
-rw-r--r--games/xnibbles/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/games/xnibbles/Makefile b/games/xnibbles/Makefile
new file mode 100644
index 000000000000..840bac343906
--- /dev/null
+++ b/games/xnibbles/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: xnibbles
+# Version required: 1.0b3
+# Date created: 2 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xnibbles-1.0BETA3
+PKGNAME= xnibbles-1.0b3
+CATEGORIES= games x11
+MASTER_SITES= http://www.tjhsst.edu/xnibbles/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+ALL_TARGET= linux
+USE_GMAKE= yes
+USE_X11= yes
+WRKSRC= ${WRKDIR}/xnibbles
+
+MAN6= xnibbles.6
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xnibbles ${PREFIX}/bin
+ @ ${INSTALL_MAN} ${WRKSRC}/xnibbles.6 ${PREFIX}/man/man6
+ @ ${MKDIR} ${PREFIX}/share/xnibbles/sounds
+ @ ${INSTALL_DATA} ${WRKSRC}/sounds/*.ub ${PREFIX}/share/xnibbles/sounds
+ @ ${MKDIR} ${PREFIX}/share/xnibbles/levels
+ @ if [ -f ${PREFIX}/share/xnibbles/levels/LEVELS ]; then \
+ ${RM} ${PREFIX}/share/xnibbles/levels/LEVELS; \
+ fi
+ @ ${TOUCH} ${PREFIX}/share/xnibbles/levels/LEVELS
+.for file in 001 002 003 004 005 006 007 008 009 010 011 012
+ @ ${ECHO} ${PREFIX}/share/xnibbles/levels/level${file}.xnl >> ${PREFIX}/share/xnibbles/levels/LEVELS
+ @ ${INSTALL_DATA} ${WRKSRC}/levels/*.xnl ${PREFIX}/share/xnibbles/levels
+.endfor
+ @ ${MKDIR} ${PREFIX}/share/doc/xnibbles
+.for file in COPYING README TODO
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xnibbles
+.endfor
+ @ ${INSTALL_DATA} ${WRKSRC}/levels/README ${PREFIX}/share/doc/xnibbles/README.levels
+
+.include <bsd.port.mk>