summaryrefslogtreecommitdiff
path: root/games/heroes/Makefile
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /games/heroes/Makefile
parentUpdate to 0.2.3 (diff)
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'games/heroes/Makefile')
-rw-r--r--games/heroes/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/heroes/Makefile b/games/heroes/Makefile
index bbb509086a2c..df7c436bb169 100644
--- a/games/heroes/Makefile
+++ b/games/heroes/Makefile
@@ -7,6 +7,7 @@
PORTNAME= heroes
PORTVERSION= 0.21
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,7 +22,6 @@ MAINTAINER= sobomax@FreeBSD.org
COMMENT= A game of yore similar to the "Tron" and "Nibbles"
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
iconv.3:${PORTSDIR}/converters/libiconv
DATAVERSION= 1.5
@@ -37,13 +37,15 @@ INSTPREFIX= ${PREFIX}/share/heroes
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE}
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt ${PTHREAD_LIBS} -lsmpeg" \
- CPPFLAGS="-I${LOCALBASE}/include"
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lsmpeg
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN6= heroes.6 heroeslvl.6