diff options
author | mharo <mharo@FreeBSD.org> | 1999-04-20 20:26:15 +0000 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-04-20 20:26:15 +0000 |
commit | d46920e8c3e97ede4143cd562ce5363b0eae75c8 (patch) | |
tree | c678f2ac92fc42eaf6039919fb7812e5fd0f9a60 /games/xbomber | |
parent | b93770e5ada6712687f73b68317d8a030ddfe8cf (diff) | |
download | FreeBSD-ports-d46920e8c3e97ede4143cd562ce5363b0eae75c8.zip FreeBSD-ports-d46920e8c3e97ede4143cd562ce5363b0eae75c8.tar.gz |
Add support for ${PREFIX}
Diffstat (limited to 'games/xbomber')
-rw-r--r-- | games/xbomber/Makefile | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/games/xbomber/Makefile b/games/xbomber/Makefile index 0a52d1c..6110994b 100644 --- a/games/xbomber/Makefile +++ b/games/xbomber/Makefile @@ -3,7 +3,7 @@ # Date created: 28 June 1998 # Whom: marcus # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1999/04/08 18:00:18 steve Exp $ # DISTNAME= xbomber.0.8 @@ -13,10 +13,35 @@ MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/xbomber/ MAINTAINER= jclarke@cisco.com +USE_X_PREFIX= yes WRKSRC= ${WRKDIR}/xbomber MAKEFILE= makefile -post-install: +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 + ${MKDIR} ${PREFIX}/bin; \ ${ECHO} "#!/bin/sh" > ${PREFIX}/bin/xbomber; \ ${ECHO} "cd ${PREFIX}/lib/xbomber" >> ${PREFIX}/bin/xbomber; \ |