summaryrefslogtreecommitdiff
path: root/mail/gnumail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/gnumail/Makefile')
-rw-r--r--mail/gnumail/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/mail/gnumail/Makefile b/mail/gnumail/Makefile
new file mode 100644
index 000000000000..8a9fd7ed47ce
--- /dev/null
+++ b/mail/gnumail/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: GNUMail
+# Date created: 11 Jun 2001
+# Whom: Thomas Gellekum <tg@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnumail
+PORTVERSION= 0.4.0
+CATEGORIES= mail
+MASTER_SITES= http://www.collaboration-world.com/gnumail/
+DISTNAME= GNUMail
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
+RUN_DEPENDS= ${XGPSBUNDLEDIR}/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
+
+PREFIX= ${LOCALBASE}/GNUstep
+WRKSRC= ${WRKDIR}/${DISTNAME}/Source
+USE_NEWGCC= yes
+USE_GMAKE= yes
+MAKEFILE=
+MAKE_FLAGS= GUI_BACKEND_LIB=xgps
+ALL_TARGET=
+NO_MTREE= yes
+
+XGPSBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle
+
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "i386"
+GNU_ARCH= ix86
+.else
+GNU_ARCH= ${MACHINE_ARCH}
+.endif
+
+PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L}
+
+do-build:
+ @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+
+do-install:
+ @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+
+.include <bsd.port.post.mk>