diff options
author | markp <markp@FreeBSD.org> | 2003-02-10 21:26:15 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2003-02-10 21:26:15 +0800 |
commit | fcbec2a6b94268901867e91dfecd5eaf24108782 (patch) | |
tree | ef3700d56605e01041c677750c0be28e04f79010 /games/nighthawk | |
parent | 08b11f16c7fe0b3d1baf8c89405ef91df773cf39 (diff) | |
download | freebsd-ports-gnome-fcbec2a6b94268901867e91dfecd5eaf24108782.tar.gz freebsd-ports-gnome-fcbec2a6b94268901867e91dfecd5eaf24108782.tar.zst freebsd-ports-gnome-fcbec2a6b94268901867e91dfecd5eaf24108782.zip |
Tidy and use REINPLACE.
Diffstat (limited to 'games/nighthawk')
-rw-r--r-- | games/nighthawk/Makefile | 12 |
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 |