From 459844a16c30d9c36ecb04a3487cb422c1bb6928 Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 12 May 2003 06:54:07 +0000 Subject: utilize USE_GETOPT_LONG PR: 51852 Submitted by: Ports Fury --- games/afternoonstalker/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'games/afternoonstalker') 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 -- cgit