summaryrefslogtreecommitdiff
path: root/mail
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 /mail
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 'mail')
-rw-r--r--mail/gnumail/Makefile22
-rw-r--r--mail/pantomime/Makefile6
2 files changed, 22 insertions, 6 deletions
diff --git a/mail/gnumail/Makefile b/mail/gnumail/Makefile
index dbbdd76b9266..de290e14284d 100644
--- a/mail/gnumail/Makefile
+++ b/mail/gnumail/Makefile
@@ -14,21 +14,31 @@ DISTNAME= GNUMail-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
-BUILD_DEPENDS= ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps \
- ${LOCALLIBDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libPantomime.so:${PORTSDIR}/mail/pantomime
-RUN_DEPENDS= ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps \
- ${LOCALLIBDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libPantomime.so:${PORTSDIR}/mail/pantomime
+.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
+BUILD_DEPENDS+= ${LOCALLIBDIR}/libPantomime.so:${PORTSDIR}/mail/pantomime
+RUN_DEPENDS+= ${LOCALLIBDIR}/libPantomime.so:${PORTSDIR}/mail/pantomime
PREFIX= ${LOCALBASE}/GNUstep
WRKSRC= ${WRKDIR}/GNUMail
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
-XGPSBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle
-LOCALLIBDIR= ${PREFIX}/Local/Libraries
+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
+LOCALLIBDIR= ${PREFIX}/Local/Libraries/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
.include <bsd.port.pre.mk>
diff --git a/mail/pantomime/Makefile b/mail/pantomime/Makefile
index 9c4391f3f66e..fed7abe360e2 100644
--- a/mail/pantomime/Makefile
+++ b/mail/pantomime/Makefile
@@ -15,8 +15,13 @@ DISTNAME= Pantomime-${PORTVERSION}
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}/Pantomime
@@ -25,6 +30,7 @@ MAKEFILE= GNUmakefile
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>