diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/freeciv-gtk2/Makefile | 18 | ||||
-rw-r--r-- | games/freeciv/Makefile | 18 | ||||
-rw-r--r-- | games/gtkabale/Makefile | 7 | ||||
-rw-r--r-- | games/hex/Makefile | 5 | ||||
-rw-r--r-- | games/xphotohunter/Makefile | 4 |
5 files changed, 19 insertions, 33 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile index a67113f2ae3d..175f2273b078 100644 --- a/games/freeciv-gtk2/Makefile +++ b/games/freeciv-gtk2/Makefile @@ -11,24 +11,20 @@ CATEGORIES= games MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \ ftp://ftp.netc.pt/pub/freeciv/stable/ \ ftp://ftp.pvv.ntnu.no/pub/freeciv/stable/ -.if defined(WITH_GTK) -PKGNAMESUFFIX= -gtk -.endif MAINTAINER= sheldonh@freebsd.org -.if defined(WITH_GTK) -LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib -.endif - USE_XPM= yes USE_BZIP2= yes +WANT_IMLIB= yes GNU_CONFIGURE= yes -.if defined(WITH_GTK) -GLIB_CONFIG?= ${LOCALBASE}/bin/gtk12-config -CONFIGURE_ENV= GTK_CONFIG="${GLIB_CONFIG}" + +.include <bsd.port.pre.mk> + +.if defined(HAVE_IMLIB) +USE_IMLIB= yes .else CONFIGURE_ARGS= --disable-gtktest .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile index a67113f2ae3d..175f2273b078 100644 --- a/games/freeciv/Makefile +++ b/games/freeciv/Makefile @@ -11,24 +11,20 @@ CATEGORIES= games MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \ ftp://ftp.netc.pt/pub/freeciv/stable/ \ ftp://ftp.pvv.ntnu.no/pub/freeciv/stable/ -.if defined(WITH_GTK) -PKGNAMESUFFIX= -gtk -.endif MAINTAINER= sheldonh@freebsd.org -.if defined(WITH_GTK) -LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib -.endif - USE_XPM= yes USE_BZIP2= yes +WANT_IMLIB= yes GNU_CONFIGURE= yes -.if defined(WITH_GTK) -GLIB_CONFIG?= ${LOCALBASE}/bin/gtk12-config -CONFIGURE_ENV= GTK_CONFIG="${GLIB_CONFIG}" + +.include <bsd.port.pre.mk> + +.if defined(HAVE_IMLIB) +USE_IMLIB= yes .else CONFIGURE_ARGS= --disable-gtktest .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/games/gtkabale/Makefile b/games/gtkabale/Makefile index ae5de647e649..33d749ecee91 100644 --- a/games/gtkabale/Makefile +++ b/games/gtkabale/Makefile @@ -12,15 +12,10 @@ MASTER_SITES= ftp://ftp.seindal.dk/pub/rene/ MAINTAINER= nakai@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - gdk_imlib.5:${PORTSDIR}/graphics/imlib - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes +USE_IMLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" .include <bsd.port.mk> diff --git a/games/hex/Makefile b/games/hex/Makefile index 27fe809255fd..d711b2175e44 100644 --- a/games/hex/Makefile +++ b/games/hex/Makefile @@ -13,9 +13,8 @@ MASTER_SITES= http://www.nott.ac.uk/~psystrj/ \ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib - -USE_X_PREFIX= YES +USE_X_PREFIX= yes +USE_IMLIB= yes MAKE_ENV= GRAPHICPATH="${GRAPHICPATH}" LEVELPATH="${LEVELPATH}" GRAPHICPATH= ${PREFIX}/share/hex/graphics diff --git a/games/xphotohunter/Makefile b/games/xphotohunter/Makefile index 47656e2d9427..fa3b290aeec0 100644 --- a/games/xphotohunter/Makefile +++ b/games/xphotohunter/Makefile @@ -12,9 +12,9 @@ MASTER_SITES= http://www.oz.nthu.edu.tw/~u860905/Xphotohunter/ MAINTAINER= clive@CirX.ORG -LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib - USE_X_PREFIX= yes +USE_GMAKE= yes +USE_IMLIB= yes post-install: @${CAT} ${PKGMESSAGE} |