summaryrefslogtreecommitdiff
path: root/mail/pantomime
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pantomime')
-rw-r--r--mail/pantomime/Makefile6
1 files changed, 6 insertions, 0 deletions
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>