aboutsummaryrefslogtreecommitdiffstats
path: root/games/gshisen
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-10-29 04:53:42 +0800
committerdinoex <dinoex@FreeBSD.org>2002-10-29 04:53:42 +0800
commit68c76db035385fcaf594176667f53961cc1ad084 (patch)
tree9878d94f4ae7d034ed1b81c898973dc6a0265016 /games/gshisen
parentd06af8c7cd17d584c0eab03991994e62e094a579 (diff)
downloadfreebsd-ports-gnome-68c76db035385fcaf594176667f53961cc1ad084.tar.gz
freebsd-ports-gnome-68c76db035385fcaf594176667f53961cc1ad084.tar.zst
freebsd-ports-gnome-68c76db035385fcaf594176667f53961cc1ad084.zip
support for gnustep-back, option GNUSTEP_GUI_DEVEL
Diffstat (limited to 'games/gshisen')
-rw-r--r--games/gshisen/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gshisen/Makefile b/games/gshisen/Makefile
index 7df54a85733f..581213989d76 100644
--- a/games/gshisen/Makefile
+++ b/games/gshisen/Makefile
@@ -12,17 +12,27 @@ MASTER_SITES= http://www.gnustep.it/enrico/gshisen/
MAINTAINER= dinoex@FreeBSD.org
+.if defined(GNUSTEP_GUI_DEVEL)
+BUILD_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back
+RUN_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back
+.else
BUILD_DEPENDS= ${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
RUN_DEPENDS= ${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
+.endif
PREFIX= ${LOCALBASE}/GNUstep
WRKSRC= ${WRKDIR}/GShisen
USE_GMAKE= yes
MAKEFILE=
+.if defined(GNUSTEP_GUI_DEVEL)
+MAKE_FLAGS= GUI_BACKEND_LIB=back
+.else
MAKE_FLAGS= GUI_BACKEND_LIB=xgps
+.endif
ALL_TARGET=
NO_MTREE= yes
+BACKBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
XGPSBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
.include <bsd.port.pre.mk>