1999-04-08 18:00:19 +00:00
|
|
|
# New ports collection makefile for: xbomber
|
|
|
|
# Date created: 28 June 1998
|
|
|
|
# Whom: marcus
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1999-04-08 18:00:19 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xbomber
|
|
|
|
PORTVERSION= 0.8
|
1999-04-08 18:00:19 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/xbomber/
|
2000-04-14 12:28:40 +00:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
1999-04-08 18:00:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= jclarke@cisco.com
|
|
|
|
|
1999-04-20 20:26:15 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-04-08 18:00:19 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xbomber
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
1999-04-20 20:26:15 +00:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xbomber ${PREFIX}/lib/xbomber/
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/bitmaps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/lib/xbomber/bitmaps/
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/jungle/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/jungle/* ${PREFIX}/lib/xbomber/jungle/
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/levels/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/levels/* ${PREFIX}/lib/xbomber/levels/
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/pixmaps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/lib/xbomber/pixmaps/
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/sounds/
|
|
|
|
${MKDIR} ${PREFIX}/lib/xbomber/sounds/numbers/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/lib/xbomber/sounds/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sounds/numbers/*.au ${PREFIX}/lib/xbomber/sounds/numbers/
|
|
|
|
${MKDIR} ${PREFIX}/share/xbomber/
|
|
|
|
.for file in README.txt LEVELS.txt SOUND.txt GRAPHICS.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/xbomber/
|
|
|
|
.endfor
|
|
|
|
|
1999-04-08 18:00:19 +00:00
|
|
|
${MKDIR} ${PREFIX}/bin; \
|
|
|
|
${ECHO} "#!/bin/sh" > ${PREFIX}/bin/xbomber; \
|
|
|
|
${ECHO} "cd ${PREFIX}/lib/xbomber" >> ${PREFIX}/bin/xbomber; \
|
|
|
|
${CAT} ${SCRIPTDIR}/xbomber.sh >> ${PREFIX}/bin/xbomber; \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} 0755 ${PREFIX}/bin/xbomber
|
1999-04-08 18:00:19 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|