openbsd-ports/x11/gnustep/gnumail/Makefile
ajacoutot 9d89dc3727 Import gnumail-1.2.0pre3
GNUMail is a fully featured mail application.
It uses the GNUstep development framework or Apple Cocoa, which is based
on the OpenStep specification provided by NeXT, Inc.
GNUMail was written from scratch. It uses Pantomime as its mail handling
framework.
2007-07-29 14:36:36 +00:00

42 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/07/29 14:36:36 ajacoutot Exp $
COMMENT= GNUstep mail application
DISTNAME= GNUMail-1.2.0pre3
PKGNAME= ${DISTNAME:L}
SHARED_LIBS= GNUMail 1.2 # .1.2
CATEGORIES= mail
HOMEPAGE= http://www.collaboration-world.com/gnumail
WANTLIB= c gnustep-base gnustep-gui m objc pthread
MASTER_SITES= ${HOMEPAGE}.data/releases/Stable/
MODULES= x11/gnustep
LIB_DEPENDS= AddressView::x11/gnustep/addresses \
Addresses::x11/gnustep/addresses \
Pantomime.>=1::x11/gnustep/pantomime
RUN_DEPENDS= :gnustep-back-*:x11/gnustep/back
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>