42 lines
947 B
Makefile
42 lines
947 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: libEtPan!
|
|
# Date created: Jun 27, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libetpan
|
|
PORTVERSION= 0.40
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
#DISTFILES= ${PORTNAME}-${PORTVERSION}.1.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A mail library
|
|
|
|
USE_ICONV= yes
|
|
USE_LIBTOOL_VER= 15
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
.if defined(WITH_GNUTLS)
|
|
LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
.else
|
|
USE_OPENSSL= yes
|
|
CONFIGURE_ARGS+= --without-gnutls
|
|
.endif
|
|
|
|
.if defined(WITH_SASL)
|
|
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sasl
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|