2002-06-27 10:41:04 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: libEtPan!
|
|
|
|
# Date created: Jun 27, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libetpan
|
2009-07-01 21:51:29 +02:00
|
|
|
PORTVERSION= 0.58
|
2010-04-03 12:44:36 +02:00
|
|
|
PORTREVISION= 2
|
2009-01-12 13:50:32 +01:00
|
|
|
CATEGORIES= mail ipv6
|
|
|
|
MASTER_SITES= SF
|
2002-06-27 10:41:04 +02:00
|
|
|
|
2006-11-04 11:22:39 +01:00
|
|
|
MAINTAINER= c0rn@o2.pl
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A mail library
|
2002-06-27 10:41:04 +02:00
|
|
|
|
2007-10-01 22:37:42 +02:00
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
|
|
|
sasl2.2:${PORTSDIR}/security/cyrus-sasl2
|
|
|
|
|
2004-03-30 21:20:22 +02:00
|
|
|
USE_ICONV= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22 autoconf:262
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2007-08-22 13:41:03 +02:00
|
|
|
USE_GMAKE= yes
|
2002-06-27 10:41:04 +02:00
|
|
|
|
2009-01-12 13:50:32 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2007-08-22 13:41:03 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2003-10-07 16:58:30 +02:00
|
|
|
|
2009-01-12 13:50:32 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
OPTIONS= GNUTLS "Enable gnuTLS support" off \
|
|
|
|
IPV6 "Enable ipv6 support." on
|
|
|
|
|
2005-07-04 07:35:00 +02:00
|
|
|
.if defined(WITH_GNUTLS)
|
2009-08-16 20:04:40 +02:00
|
|
|
LIB_DEPENDS+= gnutls.40:${PORTSDIR}/security/gnutls
|
2007-10-01 22:37:42 +02:00
|
|
|
CONFIGURE_ARGS+= --without-openssl --with-gnutls
|
2005-07-04 07:35:00 +02:00
|
|
|
.else
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --without-gnutls
|
|
|
|
.endif
|
|
|
|
|
2009-01-12 13:50:32 +01:00
|
|
|
.if defined(WITHOUT_IPV6)
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2008-08-20 02:57:32 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
|
|
|
|
|
2009-07-01 21:51:29 +02:00
|
|
|
.include <bsd.port.mk>
|