ajacoutot a36d25d142 Import libvmime-0.8.1
VMime is a powerful C++ class library for working with MIME messages and
Internet messaging services like IMAP, POP or SMTP.  With VMime you can
parse, generate and modify messages, and also connect to store and
transport services to receive or send messages over the Internet.  The
library offers all the features to build a complete mail client.

<...>

feedback from and ok landry@
2008-10-09 15:16:03 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/10/09 15:16:03 ajacoutot Exp $
COMMENT= C++ class library for working with Internet mail
DISTNAME= libvmime-0.8.1
CATEGORIES= devel mail
SHARED_LIBS+= vmime 0.0 # .0.0
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.vmime.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmime/}
WANTLIB= gcrypt gpg-error z
MODULES= devel/gettext
LIB_DEPENDS= gnutls.>=13::security/gnutls
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} \
--enable-tls \
--enable-messaging-proto-pop3 \
--enable-messaging-proto-smtp \
--enable-messaging-proto-imap \
--enable-messaging-proto-maildir \
--enable-messaging-proto-sendmail \
--enable-platform-posix
# SASL support needs GNU SASL
CONFIGURE_ARGS+= --disable-sasl
.include <bsd.port.mk>