summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-04-24 21:02:27 +0000
committeralepulver <alepulver@FreeBSD.org>2006-04-24 21:02:27 +0000
commitd53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5 (patch)
treeef779f8d5d1196cff524f458a0b97c35696b30df /games
parent2b3b55c4d4d5b854fd7f08d7289a59b8a1f7bd31 (diff)
downloadFreeBSD-ports-d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5.zip
FreeBSD-ports-d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5.tar.gz
- Fix IGNORE message.
- Fix OPTIONS handling. - Bump PORTREVISION. Approved by: garga (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/darkplaces/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index e78ecdb..8829991 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -7,6 +7,7 @@
PORTNAME= darkplaces
PORTVERSION= 20050818
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/
DISTNAME= ${PORTNAME}engine${PORTVERSION}
@@ -34,18 +35,18 @@ PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
-.if !defined(WITH_CLIENT) && !defined(WITH_SDL_CLIENT) && \
- !defined(WITH_DEDICATED)
-IGNORE= please select at least one of CLIENT, SDL_CLIENT and DEDICATED
+.if defined(WITHOUT_CLIENT) && defined(WITHOUT_SDL_CLIENT) && \
+ defined(WITHOUT_DEDICATED)
+IGNORE= needs at least one of CLIENT, SDL_CLIENT and DEDICATED options
.endif
-.if defined(WITH_CLIENT) || defined(WITH_SDL_CLIENT)
+.if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDL_CLIENT)
# Loads libraries at run-time, thus RUN_DEPENDS.
RUN_DEPENDS+= ${LOCALBASE}/lib/libjpeg.so:${PORTSDIR}/graphics/jpeg \
${LOCALBASE}/lib/libvorbis.so:${PORTSDIR}/audio/libvorbis
.endif
-.if defined(WITH_CLIENT)
+.if !defined(WITHOUT_CLIENT)
USE_GL= yes
ALL_TARGET+= cl-release
EXE_TARGETS+= ${PORTNAME}-glx
@@ -53,17 +54,17 @@ PLIST_SUB+= CLIENT=""
PLIST_FILES+= bin/${PORTNAME}-glx
.endif
-.if defined(WITH_DEDICATED)
+.if !defined(WITHOUT_DEDICATED)
ALL_TARGET+= sv-release
EXE_TARGETS+= ${PORTNAME}-dedicated
PLIST_FILES+= bin/${PORTNAME}-dedicated
.endif
-.if defined(WITH_OPTIMIZED_CFLAGS)
+.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
MAKE_ENV+= WITH_OPTIMIZED_CFLAGS=YES
.endif
-.if defined(WITH_SDL_CLIENT)
+.if !defined(WITHOUT_SDL_CLIENT)
USE_SDL= sdl
ALL_TARGET+= sdl-release
EXE_TARGETS+= ${PORTNAME}-sdl
OpenPOWER on IntegriCloud