summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/acm/Makefile5
-rw-r--r--games/freeciv-gtk2/Makefile6
-rw-r--r--games/freeciv/Makefile6
-rw-r--r--games/quakeforge/Makefile10
4 files changed, 13 insertions, 14 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index ddb5dca8faf7..8b6339b5d0e7 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -20,9 +20,8 @@ MAN6= acm.6
.include <bsd.port.pre.mk>
# Include sound support (Use network audio server (nas))
-.if defined(USE_SOUND) && ${USE_SOUND} == YES || \
- exists(${PREFIX}/lib/libaudio.a) && \
- (!defined(USE_SOUND) || ${USE_SOUND} != NO)
+.if defined(WITH_SOUND) || (exists(${PREFIX}/lib/libaudio.a) \
+ && !defined(WITHOUT_SOUND))
LIB_DEPENDS+= audio.7:${PORTSDIR}/audio/nas
.endif
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile
index d93cf115709d..bc8adb1b6004 100644
--- a/games/freeciv-gtk2/Makefile
+++ b/games/freeciv-gtk2/Makefile
@@ -10,20 +10,20 @@ PORTVERSION= 1.10.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
-.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+.if defined(WITH_GTK)
PKGNAMESUFFIX= -gtk
.endif
MAINTAINER= sheldonh@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-.if defined(USE_GTK)
+.if defined(WITH_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
-.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+.if defined(WITH_GTK)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index d93cf115709d..bc8adb1b6004 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -10,20 +10,20 @@ PORTVERSION= 1.10.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
-.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+.if defined(WITH_GTK)
PKGNAMESUFFIX= -gtk
.endif
MAINTAINER= sheldonh@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-.if defined(USE_GTK)
+.if defined(WITH_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
-.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
+.if defined(WITH_GTK)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index 5b6d7de47b6c..75fca68463b6 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -14,7 +14,7 @@ DISTNAME= quakeforge
MAINTAINER= darius@dons.net.au
-.if defined(USE_GLX)
+.if defined(WITH_GLX)
LIB_DEPENDS= GL.1:${PORTSDIR}/graphics/glx
.else
CONFIGURE_ARGS+= --without-opengl
@@ -38,8 +38,8 @@ USE_XLIB= yes
PLIST= ${WRKDIR}/PLIST
pre-fetch:
-.if !defined(USE_GLX)
- @${ECHO_MSG} "Define USE_GLX to use GLX (otherwise it is explicitly disabled!)"
+.if !defined(WITH_GLX)
+ @${ECHO_MSG} "Define WITH_GLX to use GLX (otherwise it is explicitly disabled!)"
.endif
.if defined(BATCH)
@@ -125,14 +125,14 @@ do-extract:
pre-configure:
@${CP} ${PKGDIR}/PLIST ${PLIST}
-.if defined(USE_GLX)
+.if defined(WITH_GLX)
${CAT} ${PKGDIR}/PLIST.glx >>${PLIST}
.endif
cd ${WRKSRC}; \
autoheader;
BINARIES= quake-x11 qw-client-x11 qw-server
-.if defined(USE_GLX)
+.if defined(WITH_GLX)
BINARIES+= quake-gl qw-client-gl
.endif