1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/xtux/Makefile
Daniel Harris 9bf98d2a4b Update to 2001.01.07.
PR:		24112
Submitted by:	maintainer
2001-01-28 23:06:32 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: xtux
# Date created: 23 December 2000
# Whom: Göran Runfeldt <goranrunfeldt@home.se>
#
# $FreeBSD$
#
PORTNAME= xtux
PORTVERSION= 2001.01.07
CATEGORIES= games
MASTER_SITES= http://xtux.sourceforge.net/
DISTNAME= xtux-src-20010107
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>