diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-04-25 05:02:27 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-04-25 05:02:27 +0800 |
commit | d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5 (patch) | |
tree | ef779f8d5d1196cff524f458a0b97c35696b30df /games/darkplaces | |
parent | 2b3b55c4d4d5b854fd7f08d7289a59b8a1f7bd31 (diff) | |
download | freebsd-ports-gnome-d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5.tar.gz freebsd-ports-gnome-d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5.tar.zst freebsd-ports-gnome-d53c2b4056ca31f5fe3ba8b6f0c44ef8cfddbfa5.zip |
- Fix IGNORE message.
- Fix OPTIONS handling.
- Bump PORTREVISION.
Approved by: garga (mentor)
Diffstat (limited to 'games/darkplaces')
-rw-r--r-- | games/darkplaces/Makefile | 17 |
1 files 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 <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 |