summaryrefslogtreecommitdiff
path: root/games/nighthawk/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-02-07 02:06:18 +0000
committerhubertf <hubertf@pkgsrc.org>1999-02-07 02:06:18 +0000
commit2e238c9a4666b6e31df05f486cef653c07194cd2 (patch)
tree467a9e344bd2e00331f20f9d898040e5a0d225f3 /games/nighthawk/Makefile
parent1dd9d2d42a976ff29444e074a5db97c3f32ada0b (diff)
downloadpkgsrc-2e238c9a4666b6e31df05f486cef653c07194cd2.tar.gz
C=64 Paradroid clone
Diffstat (limited to 'games/nighthawk/Makefile')
-rw-r--r--games/nighthawk/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
new file mode 100644
index 00000000000..a60285b655b
--- /dev/null
+++ b/games/nighthawk/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/07 02:06:18 hubertf Exp $
+#
+
+DISTNAME= nighthawk-2.1
+PATCHFILES= nighthawk-2.1a.patch
+EXTRACT_SUFX= .tgz
+CATEGORIES= x11 games
+MASTER_SITES= http://www.downunder.net.au/~jsno/rel/unix_projects/
+PATCH_SITES= ${MASTER_SITES}
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.downunder.net.au/~jsno/
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+WRKSRC= ${WRKDIR}/nighthawk
+PATCH_DIST_STRIP= -p1
+USE_GMAKE= YES
+USE_X11= YES
+
+post-build:
+ cd ${WRKSRC}/src_sound ; \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} nighthawk_sound
+
+do-install:
+ ${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 - )
+ ${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
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/nighthawk ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src_sound/nighthawk_sound ${PREFIX}/bin
+ ${CHGRP} games ${PREFIX}/bin/nighthawk
+ ${CHMOD} g+s ${PREFIX}/bin/nighthawk
+ ${INSTALL} -o root -g games -m 664 /dev/null /var/games/nighthawk.scores
+
+.include "../../mk/bsd.pkg.mk"