summaryrefslogtreecommitdiff
path: root/security/dirmngr
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 21:02:39 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 21:02:39 +0000
commit0b881b0ecebc9440a559f1c2b27758488a1188fa (patch)
tree933fd11da647dda8c169bc24693094174bdc0355 /security/dirmngr
parent- Add LICENSE. (diff)
Convert security to new options framework
Notes
Notes: svn path=/head/; revision=316749
Diffstat (limited to 'security/dirmngr')
-rw-r--r--security/dirmngr/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index 8ab7df899c3b..72a7441f033d 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -1,6 +1,5 @@
# Created by: michaelnottebrock@gmx.net
# $FreeBSD$
-#
PORTNAME= dirmngr
PORTVERSION= 1.1.0
@@ -31,19 +30,19 @@ MAN1= dirmngr-client.1 dirmngr.1
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS= NLS "National Language Support" off
+OPTIONS_DEFINE= NLS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+USE+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>