aboutsummaryrefslogtreecommitdiffstats
path: root/devel
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 /devel
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 'devel')
-rw-r--r--devel/gnustep/Makefile15
-rw-r--r--devel/projectcenter.app/Makefile6
2 files changed, 16 insertions, 5 deletions
diff --git a/devel/gnustep/Makefile b/devel/gnustep/Makefile
index c2e52224e812..a0fdfb6c4ad2 100644
--- a/devel/gnustep/Makefile
+++ b/devel/gnustep/Makefile
@@ -14,11 +14,15 @@ EXTRACT_ONLY= # empty
MAINTAINER= dinoex@FreeBSD.org
-RUN_DEPENDS= ${PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make \
- ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc \
- ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base \
- ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui \
- ${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
+RUN_DEPENDS= ${PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make
+RUN_DEPENDS+= ${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc
+RUN_DEPENDS+= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
+RUN_DEPENDS+= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui
+.if defined(GNUSTEP_GUI_DEVEL)
+RUN_DEPENDS+= ${XGPSBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back
+.else
+RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
+.endif
PREFIX= ${LOCALBASE}/GNUstep
NO_BUILD= yes
@@ -38,6 +42,7 @@ GNU_ARCH= ${MACHINE_ARCH}
SYSTEMDIR= ${LOCALBASE}/GNUstep/System
SYSLIBDIR= ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}
COMBOLIBDIR= ${SYSLIBDIR}/gnu-gnu-gnu
+BACKBUNDLEDIR= ${SYSTEMDIR}/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/
XGPSBUNDLEDIR= ${SYSTEMDIR}/Library/Bundles/libgnustep-xgps.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/
do-install: # empty
diff --git a/devel/projectcenter.app/Makefile b/devel/projectcenter.app/Makefile
index 3e58c1869718..d4410d2794f3 100644
--- a/devel/projectcenter.app/Makefile
+++ b/devel/projectcenter.app/Makefile
@@ -13,8 +13,13 @@ DISTNAME= ProjectCenter-${PORTVERSION}
MAINTAINER= ports@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}/ProjectCenter
@@ -25,6 +30,7 @@ MAKE_ENV= ADDITIONAL_INCLUDE_DIRS="-I${WRKSRC}" \
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>