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
|
2005-12-18 11:37:20 +01:00
|
|
|
PORTVERSION= 0.41
|
2002-06-27 10:41:04 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A mail library
|
2002-06-27 10:41:04 +02:00
|
|
|
|
2004-03-30 21:20:22 +02:00
|
|
|
USE_ICONV= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-10-07 16:58:30 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2002-06-27 10:41:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2005-02-25 15:37:12 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2003-10-07 16:58:30 +02:00
|
|
|
|
2005-07-04 07:35:00 +02:00
|
|
|
.if defined(WITH_GNUTLS)
|
|
|
|
LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
|
|
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
|
|
.else
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS+= --without-gnutls
|
|
|
|
.endif
|
|
|
|
|
2005-07-21 21:14:05 +02:00
|
|
|
.if defined(WITH_SASL)
|
2005-07-28 09:57:37 +02:00
|
|
|
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
|
2005-07-21 21:14:05 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-sasl
|
|
|
|
.endif
|
|
|
|
|
2002-06-27 10:41:04 +02:00
|
|
|
.include <bsd.port.mk>
|