summaryrefslogtreecommitdiff
path: root/games/xtux/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-12-26 05:31:26 +0000
committerWill Andrews <will@FreeBSD.org>2000-12-26 05:31:26 +0000
commitd23792c8aa1b1e4034f93a0170a310345f961cc9 (patch)
tree239b668af7d2ffc0d2d9c397e6831f592c112af6 /games/xtux/Makefile
parentUpdate to 0.7.6. (diff)
Add xtux 2000.11.25, a game where you play an opensource mascot (e.g. Tux
or Daemon), and the goal is to save the world from Mr. Bill (Fumerola). PR: 23791 Submitted by: Göran Runfeldt <goranrunfeldt@home.se>
Notes
Notes: svn path=/head/; revision=36363
Diffstat (limited to '')
-rw-r--r--games/xtux/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/games/xtux/Makefile b/games/xtux/Makefile
new file mode 100644
index 000000000000..9aef8393cb85
--- /dev/null
+++ b/games/xtux/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: xtux
+# Date created: 23 December 2000
+# Whom: Göran Runfeldt <goranrunfeldt@home.se>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xtux
+PORTVERSION= 2000.11.25
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=xtux
+DISTNAME= xtux-arena-src-nov-25
+
+MAINTAINER= goranrunfeldt@home.se
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_XPM= yes
+CFLAGS+= -DDATADIR=\\\"${PREFIX}/share/xtux\\\"
+WRKSRC= ${WRKDIR}/xtux
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtux ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tux_serv ${PREFIX}/bin
+ @strip ${PREFIX}/bin/xtux ${PREFIX}/bin/tux_serv
+
+ @${MKDIR} ${PREFIX}/share/xtux/images/entities
+ @${MKDIR} ${PREFIX}/share/xtux/images/items
+ @${MKDIR} ${PREFIX}/share/xtux/images/weapons
+ @${MKDIR} ${PREFIX}/share/xtux/images/tiles
+ @${MKDIR} ${PREFIX}/share/xtux/maps
+
+ ${INSTALL_DATA} ${WRKSRC}/data/*.table ${PREFIX}/share/xtux
+.for file in ascii.txt bios entities weapons
+ ${INSTALL_DATA} ${WRKSRC}/data/${file} ${PREFIX}/share/xtux
+.endfor
+.for dir in entities items weapons tiles .
+ ${INSTALL_DATA} ${WRKSRC}/data/images/${dir}/*.xpm \
+ ${PREFIX}/share/xtux/images/${dir}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/data/maps/*.map \
+ ${PREFIX}/share/xtux/maps
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/xtux
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/xtux
+.endif
+
+.include <bsd.port.mk>