diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-26 05:31:26 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-26 05:31:26 +0000 |
commit | d23792c8aa1b1e4034f93a0170a310345f961cc9 (patch) | |
tree | 239b668af7d2ffc0d2d9c397e6831f592c112af6 /games/xtux/Makefile | |
parent | f7ef4fac3314f370e65a1d0f8f3ca8097a6432ff (diff) |
Notes
Diffstat (limited to 'games/xtux/Makefile')
-rw-r--r-- | games/xtux/Makefile | 50 |
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> |