aboutsummaryrefslogtreecommitdiffstats
path: root/games/pioneers/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-04 02:56:05 +0800
committerpav <pav@FreeBSD.org>2005-10-04 02:56:05 +0800
commitcc23f2802f4e69aa69b0590675dc13522fc6ee8d (patch)
treed0f3c62494b9d940dc19dd1b6a7aa138720f2891 /games/pioneers/Makefile
parent9fda8ffe78d72f412f9180f45033b97858d2bfef (diff)
downloadfreebsd-ports-gnome-cc23f2802f4e69aa69b0590675dc13522fc6ee8d.tar.gz
freebsd-ports-gnome-cc23f2802f4e69aa69b0590675dc13522fc6ee8d.tar.zst
freebsd-ports-gnome-cc23f2802f4e69aa69b0590675dc13522fc6ee8d.zip
- Update to 0.9.33
- Depend on libgnome only if scrollkeeper is installed PR: ports/86836 Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
Diffstat (limited to 'games/pioneers/Makefile')
-rw-r--r--games/pioneers/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/games/pioneers/Makefile b/games/pioneers/Makefile
index c0d6bfe6abbe..db28e83963bd 100644
--- a/games/pioneers/Makefile
+++ b/games/pioneers/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pioneers
-PORTVERSION= 0.9.23
+PORTVERSION= 0.9.33
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= pio
@@ -16,13 +16,22 @@ COMMENT= An Internet playable version of the Settlers of Catan for GNOME/GTK
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack gnomeprefix gtk20 libgnome
+USE_GNOME= gnomehack gnomeprefix gtk20
USE_LIBTOOL_VER=15
-INSTALLS_OMF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN6= pioneers.6 pioneers-server-gtk.6 pioneers-server-console.6 \
pioneersai.6 pioneers-meta-server.6
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${X11BASE}/bin/scrollkeeper-config)
+USE_GNOME+= libgnome
+INSTALLS_OMF= yes
+PLIST_SUB+= LIBGNOME=""
+.else
+PLIST_SUB+= LIBGNOME="@comment "
+.endif
+
+.include <bsd.port.post.mk>