summaryrefslogtreecommitdiff
path: root/games/nighthawk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/nighthawk/Makefile')
-rw-r--r--games/nighthawk/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
index c3555c480e2..64a4dd3b377 100644
--- a/games/nighthawk/Makefile
+++ b/games/nighthawk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/12/05 15:00:45 agc Exp $
+# $NetBSD: Makefile,v 1.11 2002/10/21 00:53:26 wiz Exp $
#
DISTNAME= nighthawk-2.1
@@ -15,9 +15,9 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.downunder.net.au/~jsno/
COMMENT= C=64 Paradroid clone
+USE_BUILDLINK2= YES
USE_GMAKE= YES
USE_X11= YES
-USE_XPM= YES
post-build:
cd ${WRKSRC}/src_sound ; \
@@ -27,7 +27,7 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nighthawk
${INSTALL_DATA_DIR} ${PREFIX}/share/nighthawk
${INSTALL_DATA_DIR} ${PREFIX}/share/nighthawk/data
- ( cd ${WRKSRC}/data ; tar plcf - . ) | ( cd ${PREFIX}/share/nighthawk/data ; tar plvxf - )
+ cd ${WRKSRC}/data; ${PAX} -rw . ${PREFIX}/share/nighthawk/data/
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/nighthawk
${FIND} ${PREFIX}/share/nighthawk -type f -print | ${XARGS} ${CHMOD} 444
${FIND} ${PREFIX}/share/nighthawk -type d -print | ${XARGS} ${CHMOD} 555
@@ -38,4 +38,5 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/nighthawk/README
${INSTALL} -o ${ROOT_USER} -g games -m 664 /dev/null /var/games/nighthawk.scores
+.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"