aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dfc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 14:19:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 14:19:15 +0000
commit24ed473314f0e6c567b4cb2721e9223d94f9132d (patch)
treed932a4dddb792bcb3674c2f38cc6e0a6c93b6235 /sysutils/dfc
parent0e8027e93f594f3a79b382f66f5b1f6d62b66ed0 (diff)
Notes
Diffstat (limited to 'sysutils/dfc')
-rw-r--r--sysutils/dfc/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/sysutils/dfc/Makefile b/sysutils/dfc/Makefile
index f04f0fb1be6f..a8727cd51fe9 100644
--- a/sysutils/dfc/Makefile
+++ b/sysutils/dfc/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: dfc
-# Date created: 2012-04-01
-# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= dfc
PORTVERSION= 3.0.0
@@ -22,15 +17,10 @@ CMAKE_ARGS+= -DMAN_PATH=${MANPREFIX}/man -DDFC_DOC_PATH=${DOCSDIR}
MANLANG= "" fr
MAN1= dfc.1
-.include <bsd.port.options.mk>
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-CMAKE_ARGS+= -DNLS_ENABLED=true
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CMAKE_ARGS+= -DNLS_ENABLED=false
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CMAKE_ON= -DNLS_ENABLED=true
+NLS_CMAKE_OFF= -DNLS_ENABLED=false
.include <bsd.port.mk>