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