2009-06-09 14:22:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2009/06/09 18:22:09 ajacoutot Exp $
|
2009-02-16 04:42:47 -05:00
|
|
|
|
|
|
|
COMMENT= modified libvmime library for Zarafa
|
|
|
|
|
|
|
|
DISTNAME= libvmime-0.7.1
|
2009-06-09 14:22:09 -04:00
|
|
|
PKGNAME= zarafa-${DISTNAME}p1
|
|
|
|
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
zarafa-vmime-patches.tar.gz
|
2009-02-16 04:42:47 -05:00
|
|
|
|
|
|
|
CATEGORIES= mail devel
|
|
|
|
|
|
|
|
# We patched the source to rename the libraries so that this package can
|
|
|
|
# cohabitate with the "official" one (i.e. devel/libvmime).
|
2009-06-09 14:22:09 -04:00
|
|
|
SHARED_LIBS+= vmime-zarafa 1.0 # .7.1
|
2009-02-16 04:42:47 -05:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2009-06-09 14:22:09 -04:00
|
|
|
MASTER_SITES= http://developer.zarafa.com/download/
|
|
|
|
|
2009-02-16 04:42:47 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
EXTRA_CFLAGS="${CFLAGS}"
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--includedir=${PREFIX}/include/zarafa \
|
|
|
|
--enable-messaging \
|
|
|
|
--enable-messaging-proto-pop3 \
|
|
|
|
--enable-messaging-proto-smtp \
|
|
|
|
--enable-messaging-proto-imap \
|
|
|
|
--enable-messaging-proto-maildir \
|
|
|
|
--enable-messaging-proto-sendmail \
|
|
|
|
--enable-platform-posix
|
|
|
|
|
2009-06-09 14:22:09 -04:00
|
|
|
# apply zarafa provided patches at pre-configure to not mess with our own
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for i in ${WRKDIR}/*.diff; do patch -s -E -p1 < $$i; done
|
|
|
|
|
2009-02-16 04:42:47 -05:00
|
|
|
.include <bsd.port.mk>
|