summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-10-28 20:53:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-10-28 20:53:42 +0000
commitf002496e82a9612d9558597513fdcd3afbc36173 (patch)
treebbc94a56e32119236e10b89db823206f7adc14cc /devel
parent- Update to 1.1.2 (diff)
support for gnustep-back, option GNUSTEP_GUI_DEVEL
Notes
Notes: svn path=/head/; revision=69051
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>