summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz>2002-10-21 00:53:26 +0000
committerwiz <wiz>2002-10-21 00:53:26 +0000
commite0103261791693c4195397da121f851fa4a09a0d (patch)
tree11e72ffb74592f2f877cd7d7cb3f000f030ffeec /games
parent3d03041551b9333920ea1ca1586671f0464ce948 (diff)
downloadpkgsrc-e0103261791693c4195397da121f851fa4a09a0d.tar.gz
Convert to buildlink2. Use ${PAX} instead of "tar".
Diffstat (limited to 'games')
-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"