1999-08-13 23:52:28 -04:00
|
|
|
# New ports collection makefile for: Hex
|
|
|
|
# Version required: 0.0.2
|
|
|
|
# Date created: 9 Aug 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
1999-08-13 23:52:28 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= hex-0.0.2
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.nott.ac.uk/~psystrj/ \
|
|
|
|
http://www.psn.net/~andrews/dist/
|
|
|
|
|
|
|
|
MAINTAINER= andrews@technologist.com
|
|
|
|
|
1999-10-07 23:30:33 -04:00
|
|
|
LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib \
|
1999-08-13 23:52:28 -04:00
|
|
|
gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
|
|
|
|
|
|
|
USE_X_PREFIX= YES
|
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
pre-install:
|
1999-08-13 23:54:29 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/hex
|
|
|
|
@${MKDIR} ${PREFIX}/share/hex/levels
|
|
|
|
@${MKDIR} ${PREFIX}/share/hex/graphics
|
1999-08-13 23:52:28 -04:00
|
|
|
|
|
|
|
do-install:
|
1999-08-13 23:54:29 -04:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/hex ${PREFIX}/bin/hex
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/HISTORY ${PREFIX}/share/hex/HISTORY
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/hex/README
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/hex/TODO
|
1999-08-13 23:52:28 -04:00
|
|
|
.for i in 0 1 2 3 4 5 6 7 8
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/graphics/ball${i}.png \
|
1999-08-13 23:54:29 -04:00
|
|
|
${PREFIX}/share/hex/graphics/ball${i}.png
|
1999-08-13 23:52:28 -04:00
|
|
|
.endfor
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/levels/Level1 \
|
1999-08-13 23:54:29 -04:00
|
|
|
${PREFIX}/share/hex/levels/Level1
|
1999-08-13 23:52:28 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|