freebsd-ports/mail/libetpan/Makefile
Sunpoet Po-Chuan Hsieh c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00

50 lines
1 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= curl:${PORTSDIR}/ftp/curl \
expat:${PORTSDIR}/textproc/expat2 \
sasl2:${PORTSDIR}/security/cyrus-sasl2
USE_AUTOTOOLS= libtool autoconf
AUTOTOOLSFILES= aclocal.m4
USES= gmake iconv
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= 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= gnutls:${PORTSDIR}/security/gnutls \
gcrypt:${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>