aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-02 02:17:36 +0800
committerjgh <jgh@FreeBSD.org>2013-05-02 02:17:36 +0800
commitc17ff3b3aae0669a8e5de9efd8b9076feb83eaf1 (patch)
treed0ed3fbc825e4691c201274eae7802286583a4f7 /multimedia/vdr
parent3969e3713debb1e1328b184deacb63d23329d331 (diff)
downloadfreebsd-ports-gnome-c17ff3b3aae0669a8e5de9efd8b9076feb83eaf1.tar.gz
freebsd-ports-gnome-c17ff3b3aae0669a8e5de9efd8b9076feb83eaf1.tar.zst
freebsd-ports-gnome-c17ff3b3aae0669a8e5de9efd8b9076feb83eaf1.zip
- adoption of USES
Approved by: portmgr (bapt@)
Diffstat (limited to 'multimedia/vdr')
-rw-r--r--multimedia/vdr/Makefile.plugins6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/vdr/Makefile.plugins b/multimedia/vdr/Makefile.plugins
index d8f594473392..0ca0a21aee30 100644
--- a/multimedia/vdr/Makefile.plugins
+++ b/multimedia/vdr/Makefile.plugins
@@ -11,7 +11,7 @@ APIVERSION= 1.7.29
DIST_SUBDIR= vdr
PATCH_SUBDIR= vdr
USE_GMAKE= yes
-USE_GETTEXT= yes
+USES+= gettext
VDRDIR= ${LOCALBASE}/include/vdr
VDRINCDIR= ${LOCALBASE}/include
USE_CSTD?= gnu89
@@ -31,7 +31,7 @@ PLIST_SUB= VDR_USER=${VDR_USER}
PLIST_SUB+= VDR_GROUP=${VDR_GROUP}
PLIST_SUB+= APIVERSION=${APIVERSION}
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
@@ -51,6 +51,6 @@ post-patch-plugin:
${WRKSRC}/Makefile ${VDR_PLUGIN_MAKEFILES}
post-install-pluginlocales:
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
@(cd ${WRKDIR} && ${COPYTREE_SHARE} locale ${PREFIX}/share/)
.endif