From 8c57ad0c424ee6c66db375967164e874a737d951 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 13 Aug 2014 16:14:12 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files - Strip libraries - Clarify LICENSE - Fix GNU_CONFIGURE misuse --- mail/enma/Makefile | 13 +++++++------ mail/enma/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/mail/enma/Makefile b/mail/enma/Makefile index 3e57c80d44b8..4ce9469ad0e1 100644 --- a/mail/enma/Makefile +++ b/mail/enma/Makefile @@ -10,19 +10,17 @@ MASTER_SITES= SF/${PORTNAME}/ENMA/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sender authentication milter supporting SPF and Sender ID -LICENSE= BSD +LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= LIBBIND LIBBIND_DESC= Link against dns/libbind instead of dns/ldns -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} \ - --mandir=${PREFIX}/man \ - --with-ssl-incdir=${OPENSSLINC} \ +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ssl-incdir=${OPENSSLINC} \ --with-ssl-libdir=${OPENSSLLIB} -USES= gmake perl5 +USES= gmake libtool perl5 USE_RC_SUBR= milter-enma USE_LDCONFIG= yes USE_OPENSSL= yes @@ -68,5 +66,8 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} . endfor .endif + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sidfquery \ + ${STAGEDIR}${PREFIX}/lib/libsauth.so \ + ${STAGEDIR}${PREFIX}/libexec/enma .include diff --git a/mail/enma/pkg-plist b/mail/enma/pkg-plist index 9dcc480a425a..b2b1e500760a 100644 --- a/mail/enma/pkg-plist +++ b/mail/enma/pkg-plist @@ -1,9 +1,9 @@ bin/sidfquery etc/enma.conf.sample lib/libsauth.a -lib/libsauth.la lib/libsauth.so lib/libsauth.so.0 +lib/libsauth.so.0.0.0 libexec/enma man/ja_JP.UTF-8/man1/enma.1.gz man/man1/enma.1.gz