1999-04-08 18:00:19 +00:00
|
|
|
# New ports collection makefile for: xbomber
|
|
|
|
# Version required: 0.8
|
|
|
|
# Date created: 28 June 1998
|
|
|
|
# Whom: marcus
|
|
|
|
#
|
1999-04-20 20:26:15 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1999/04/08 18:00:18 steve Exp $
|
1999-04-08 18:00:19 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xbomber.0.8
|
|
|
|
PKGNAME= xbomber-0.8
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/xbomber/
|
|
|
|
|
|
|
|
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; \
|
|
|
|
chmod 0755 ${PREFIX}/bin/xbomber
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|