openbsd-ports/x11/gnustep/gnumail/Makefile
sebastia 76167b459b * Update the gnustep.port.mk file, to have some standard WANTLIBS and LIB/RUN depends added for the GUI based apps.
* Bump package versions for ports depending on gnustep-back.
* Fix PLIST for gnumail, after library bump.
2010-10-26 12:39:10 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2010/10/26 12:39:10 sebastia Exp $
COMMENT= GNUstep mail application
DISTNAME= GNUMail-1.2.0pre3
PKGNAME= ${DISTNAME:L}
REVISION= 6
SHARED_LIBS= GNUMail 2.0 # .1.2
CATEGORIES= mail
HOMEPAGE= http://www.collaboration-world.com/gnumail
WANTLIB+= c m pthread AddressView Addresses Pantomime
MASTER_SITES= ${HOMEPAGE}.data/releases/Stable/
MODULES= x11/gnustep
LIB_DEPENDS= ::x11/gnustep/addresses \
::x11/gnustep/pantomime
MAKE_ENV+= GNUMail_INTERFACE_VERSION=${LIBGNUMail_VERSION}
WRKDIST= ${WRKDIR}/GNUMail
BUNDLES= Account Advanced Clock Colors Compose Emoticon Fonts \
Filtering Face Import MIME PGP Receiving Sending Viewing
post-extract:
@rm ${WRKSRC}/Framework/GNUMail/MailWindowController.m.orig
pre-configure:
@perl -pi -e 's,^GNUMAIL_MAJOR_VERSION=.*,GNUMAIL_MAJOR_VERSION=${LIBGNUMail_VERSION:R},g;' \
-e 's,^GNUMAIL_MINOR_VERSION=.*,GNUMAIL_MINOR_VERSION=${LIBGNUMail_VERSION:E},g' \
${WRKSRC}/Framework/GNUMail/GNUmakefile
.for i in ${BUNDLES}
@perl -pi -e 's,^BUNDLE_INSTALL_DIR.*,BUNDLE_INSTALL_DIR=\$$(GNUSTEP_APPLICATION_SUPPORT)/GNUMail,g' \
${WRKSRC}/Bundles/${i}/GNUmakefile
.endfor
.include <bsd.port.mk>