aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dc3dd/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 09:07:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-06 09:07:58 +0000
commit86d16f2675fd705fa78870828e0e4c66cd5972d3 (patch)
tree20ce818981a1c16901fb0154cfeb10e7887519be /sysutils/dc3dd/Makefile
parent3657d5cb0d39e774a6a7f4d15f055031c01ff483 (diff)
downloadports-86d16f2675fd705fa78870828e0e4c66cd5972d3.tar.gz
ports-86d16f2675fd705fa78870828e0e4c66cd5972d3.zip
Finish converting sysutils from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here convert bacula-server from USE_GETTEXT to USES=gettext
Notes
Notes: svn path=/head/; revision=317491
Diffstat (limited to 'sysutils/dc3dd/Makefile')
-rw-r--r--sysutils/dc3dd/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/dc3dd/Makefile b/sysutils/dc3dd/Makefile
index 4c5c2c8095b2..65f68da185da 100644
--- a/sysutils/dc3dd/Makefile
+++ b/sysutils/dc3dd/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dc3dd
-# Date created: 15 February 2011
-# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
-#
+# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dc3dd
PORTVERSION= 7.1.614
@@ -25,11 +21,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
MAN1= dc3dd.1
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-PLIST_SUB+= NLS=""
.endif
.include <bsd.port.mk>