mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Tidy and use REINPLACE.
This commit is contained in:
parent
0adf0c51e2
commit
8e73e0336e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75238
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user