summaryrefslogtreecommitdiff
path: root/games/nighthawk
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2003-02-10 13:26:15 +0000
committerMark Pulford <markp@FreeBSD.org>2003-02-10 13:26:15 +0000
commit8e73e0336eef42d29488d9cf78b39b921f2edf69 (patch)
treef8771852603b2dc100368c094f258fef35d292ad /games/nighthawk
parentChanged to use REINPLACE. (diff)
Tidy and use REINPLACE.
Notes
Notes: svn path=/head/; revision=75238
Diffstat (limited to 'games/nighthawk')
-rw-r--r--games/nighthawk/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
index 4ba403e8227f..4420dedd196a 100644
--- a/games/nighthawk/Makefile
+++ b/games/nighthawk/Makefile
@@ -8,23 +8,25 @@
PORTNAME= nighthawk
PORTVERSION= 2.2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE} http://lothar.arafura.net.au/~jsno/rel/unix_projects/
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ http://lothar.arafura.net.au/~jsno/rel/unix_projects/
MASTER_SITE_SUBDIR= games/arcade
EXTRACT_SUFX= -1.tar.gz
MAINTAINER= markp@FreeBSD.org
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-scores=/var/games/nighthawk.scores --enable-sound
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-scores=/var/games/nighthawk.scores --enable-sound
MAN6= nighthawk.6
post-patch:
- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \
+ ${REINPLACE_CMD} "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/floor.cc \
${WRKSRC}/src/ship.cc ${WRKSRC}/src_sound/nighthawk_sound.c \
- ${WRKSRC}/src_sound/funkload.c ${WRKSRC}/src_sound/dsp_mixxer.c
+ ${WRKSRC}/src_sound/funkload.c ${WRKSRC}/src_sound/dsp_mixxer.c
post-install:
${CHOWN} root:games ${PREFIX}/bin/nighthawk