diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-14 22:19:15 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-14 22:19:15 +0800 |
commit | 04aac9efe3bace81623d7d153dfd98711b21ae2f (patch) | |
tree | d932a4dddb792bcb3674c2f38cc6e0a6c93b6235 /sysutils | |
parent | f5578986531a1ee2728d3f1a3c7888bfc59d297c (diff) | |
download | freebsd-ports-gnome-04aac9efe3bace81623d7d153dfd98711b21ae2f.tar.gz freebsd-ports-gnome-04aac9efe3bace81623d7d153dfd98711b21ae2f.tar.zst freebsd-ports-gnome-04aac9efe3bace81623d7d153dfd98711b21ae2f.zip |
Use new helpers
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dfc/Makefile | 18 |
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> |