aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr/Makefile.plugins
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-01 18:17:36 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-01 18:17:36 +0000
commitb946e6f7a601fd407808275bb6d34e84fb8b258d (patch)
treed0ed3fbc825e4691c201274eae7802286583a4f7 /multimedia/vdr/Makefile.plugins
parent2c16ea8d58557656e0ea714f7a567b4390a2b814 (diff)
downloadports-b946e6f7a601fd407808275bb6d34e84fb8b258d.tar.gz
ports-b946e6f7a601fd407808275bb6d34e84fb8b258d.zip
Notes
Diffstat (limited to 'multimedia/vdr/Makefile.plugins')
-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