diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
commit | 877b8a533b44bb6324ebbaf65cd80a60d1572003 (patch) | |
tree | e1a018208ceade04ca56a70c5184978cac51853e /games | |
parent | d12f14432cc492205cefb505a3c1320dd0f4e31a (diff) | |
download | ports-877b8a533b44bb6324ebbaf65cd80a60d1572003.tar.gz ports-877b8a533b44bb6324ebbaf65cd80a60d1572003.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/acm/Makefile | 5 | ||||
-rw-r--r-- | games/freeciv-gtk2/Makefile | 6 | ||||
-rw-r--r-- | games/freeciv/Makefile | 6 | ||||
-rw-r--r-- | games/quakeforge/Makefile | 10 |
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 |