From f18b23bbbefc954837da3eb568b0a5801d5b6529 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Mon, 24 Apr 2006 21:02:27 +0000 Subject: [PATCH] - Fix IGNORE message. - Fix OPTIONS handling. - Bump PORTREVISION. Approved by: garga (mentor) --- games/darkplaces/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile index e78ecdb7c3b5..882999135aa2 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 -.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