c189a6b2da
to 7.19.2. Bump PORTREVISION, even on the ports that do not have a versioned dependency, since the binaries will most probably still stop working.
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: libEtPan!
|
|
# Date created: Jun 27, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libetpan
|
|
PORTVERSION= 0.57
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail ipv6
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= c0rn@o2.pl
|
|
COMMENT= A mail library
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
|
sasl2.2:${PORTSDIR}/security/cyrus-sasl2
|
|
|
|
USE_ICONV= yes
|
|
USE_AUTOTOOLS= libtool:15 autoconf:262
|
|
USE_LDCONFIG= yes
|
|
USE_GMAKE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
OPTIONS= GNUTLS "Enable gnuTLS support" off \
|
|
IPV6 "Enable ipv6 support." on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_GNUTLS)
|
|
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
|
|
CONFIGURE_ARGS+= --without-openssl --with-gnutls
|
|
.else
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS+= --without-gnutls
|
|
.endif
|
|
|
|
.if defined(WITHOUT_IPV6)
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
|
|
|
|
.include <bsd.port.post.mk>
|