# New ports collection makefile for: GNUMail # Date created: 11 Jun 2001 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= gnumail PORTVERSION= 1.0.3 CATEGORIES= mail MASTER_SITES= http://extrovert.screwdriver.net/~extra/ DISTNAME= GNUMail-${PORTVERSION} .if defined(GNUSTEP_GUI_DEVEL) PKGNAMESUFFIX?= -devel .endif 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 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 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 .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