aboutsummaryrefslogtreecommitdiff
path: root/games/xbomber/Makefile
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-04-20 20:26:15 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-04-20 20:26:15 +0000
commit10bec38b079952fd2a67186e6e0ec210c23f11be (patch)
tree81038a0c695446d377a1b9c16c9aaefe2f9c9c3f /games/xbomber/Makefile
parent39041794aea78d6f455ce8bc693ee4d05aeff65b (diff)
downloadports-10bec38b079952fd2a67186e6e0ec210c23f11be.tar.gz
ports-10bec38b079952fd2a67186e6e0ec210c23f11be.zip
Notes
Diffstat (limited to 'games/xbomber/Makefile')
-rw-r--r--games/xbomber/Makefile29
1 files changed, 27 insertions, 2 deletions
diff --git a/games/xbomber/Makefile b/games/xbomber/Makefile
index 0a52d1c59182..6110994bd0a5 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; \