mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libetpan
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= mail ipv6
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
COMMENT= Mail framework for C language
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|
libexpat.so:${PORTSDIR}/textproc/expat2 \
|
|
libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
|
|
|
|
USE_AUTOTOOLS= libtool autoconf
|
|
AUTOTOOLSFILES= aclocal.m4
|
|
USES= gmake iconv
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
|
|
|
OPTIONS_DEFINE= IPV6
|
|
OPTIONS_SINGLE= CRYPTO
|
|
OPTIONS_SINGLE_CRYPTO= GNUTLS OPENSSL
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
|
|
GNUTLS_CONFIGURE_ON= --without-openssl --with-gnutls
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
|
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
OPENSSL_CONFIGURE_ON= --without-gnutls
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
|
USE_OPENSSL= yes
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|2.61|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
|
|
|
|
.include <bsd.port.mk>
|