summaryrefslogtreecommitdiff
path: root/games/afternoonstalker
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 06:54:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 06:54:07 +0000
commit62d5dab90d7c381e83e6e68286e9c1e5af47f291 (patch)
tree63b97869b8d88e40f04d0dfdbd0d8cf175a7b07a /games/afternoonstalker
parentRemove editors/xemacs-comm-packages. (diff)
utilize USE_GETOPT_LONG
PR: 51852 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=80768
Diffstat (limited to '')
-rw-r--r--games/afternoonstalker/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile
index 734930240ae5..f1c5eb9086a6 100644
--- a/games/afternoonstalker/Makefile
+++ b/games/afternoonstalker/Makefile
@@ -14,16 +14,19 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A clone of the 1981 Night Stalker video game
LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng \
- SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+USE_GETOPT_LONG= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CXX="${CXX} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
-CONFIGURE_TARGET= # none
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
MAN6= afternoonstalker.6
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
post-patch:
${REINPLACE_CMD} "s@SDL/@SDL11/@g" ${WRKSRC}/configure \
${WRKSRC}/src/SoundMixer.h