aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libesmtp
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-08-18 00:08:20 +0800
committertijl <tijl@FreeBSD.org>2014-08-18 00:08:20 +0800
commit5137915f02f3639083971f160cb502526089310b (patch)
treeb54ec59780dc6e6e1159154ccadde6aa7d3e1c19 /mail/libesmtp
parentec78a9f4188b9298da4446cdc40db4360c27b807 (diff)
downloadfreebsd-ports-gnome-5137915f02f3639083971f160cb502526089310b.tar.gz
freebsd-ports-gnome-5137915f02f3639083971f160cb502526089310b.tar.zst
freebsd-ports-gnome-5137915f02f3639083971f160cb502526089310b.zip
mail/libesmtp:
- Convert to USES=libtool and bump dependent ports - Use option helpers - Remove PTHREAD_CFLAGS and PTHREAD_LIBS - Add INSTALL_TARGET=install-strip
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile33
-rw-r--r--mail/libesmtp/pkg-plist12
2 files changed, 15 insertions, 30 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 8af3259a1a86..162111d6a774 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libesmtp
PORTVERSION= 1.0.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
@@ -13,35 +14,23 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Library for posting electronic mail
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
OPTIONS_DEFINE= OPENSSL DEBUG DOCS EXAMPLES
-OPTIONS_DEFAULT= OPENSSL
+OPTIONS_DEFAULT=OPENSSL
+OPTIONS_SUB= yes
-USES= gmake tar:bzip2
-USE_AUTOTOOLS= libtool
-CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
- PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+DEBUG_CONFIGURE_ENABLE= debug
+OPENSSL_CONFIGURE_WITH= openssl=${OPENSSLBASE}
+OPENSSL_USE= openssl
+
+GNU_CONFIGURE= yes
# require-all-recipients (implied by enable-all) is required for Balsa
CONFIGURE_ARGS= --enable-all --disable-isoc
+INSTALL_TARGET= install-strip
+USES= gmake libtool tar:bzip2
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOPENSSL}
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-PLIST_SUB+= NEED_OPENSSL=""
-.else
-CONFIGURE_ARGS+= --without-openssl
-PLIST_SUB+= NEED_OPENSSL="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS ChangeLog NEWS Notes README TODO
diff --git a/mail/libesmtp/pkg-plist b/mail/libesmtp/pkg-plist
index 4a8b0b0f1571..38c1f699ef1d 100644
--- a/mail/libesmtp/pkg-plist
+++ b/mail/libesmtp/pkg-plist
@@ -3,21 +3,17 @@ include/auth-client.h
include/auth-plugin.h
include/libesmtp.h
lib/esmtp-plugins/sasl-cram-md5.a
-lib/esmtp-plugins/sasl-cram-md5.la
lib/esmtp-plugins/sasl-cram-md5.so
lib/esmtp-plugins/sasl-login.a
-lib/esmtp-plugins/sasl-login.la
lib/esmtp-plugins/sasl-login.so
-%%NEED_OPENSSL%%lib/esmtp-plugins/sasl-ntlm.a
-%%NEED_OPENSSL%%lib/esmtp-plugins/sasl-ntlm.la
-%%NEED_OPENSSL%%lib/esmtp-plugins/sasl-ntlm.so
+%%OPENSSL%%lib/esmtp-plugins/sasl-ntlm.a
+%%OPENSSL%%lib/esmtp-plugins/sasl-ntlm.so
lib/esmtp-plugins/sasl-plain.a
-lib/esmtp-plugins/sasl-plain.la
lib/esmtp-plugins/sasl-plain.so
lib/libesmtp.a
-lib/libesmtp.la
lib/libesmtp.so
-lib/libesmtp.so.7
+lib/libesmtp.so.6
+lib/libesmtp.so.6.1.6
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS