aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/avidemux2
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-06 17:07:30 +0800
committerjgh <jgh@FreeBSD.org>2013-05-06 17:07:30 +0800
commit642291efe4ac5378374377236de08db97df7f1ed (patch)
tree6ef46a077baad8a62146174898f7864098d105c9 /multimedia/avidemux2
parent4aa04ed781b41a0b398434d38188734fb17cce4d (diff)
downloadfreebsd-ports-gnome-642291efe4ac5378374377236de08db97df7f1ed.tar.gz
freebsd-ports-gnome-642291efe4ac5378374377236de08db97df7f1ed.tar.zst
freebsd-ports-gnome-642291efe4ac5378374377236de08db97df7f1ed.zip
- convert to USES for gettext
Approved by: portmgr (bapt@)
Diffstat (limited to 'multimedia/avidemux2')
-rw-r--r--multimedia/avidemux2/Makefile.common28
1 files changed, 15 insertions, 13 deletions
diff --git a/multimedia/avidemux2/Makefile.common b/multimedia/avidemux2/Makefile.common
index 5d303b268aff..014bec982cd5 100644
--- a/multimedia/avidemux2/Makefile.common
+++ b/multimedia/avidemux2/Makefile.common
@@ -41,6 +41,21 @@ OPTIONS_DEFAULT= GTK2 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID SDL FAAD VORBIS
OPTIONS_DEFAULT+= LAME FAAC AMR
.endif
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+. if !defined(WITH_QT4)
+PLIST_SUB+= QT_NLS="@comment "
+. else
+PLIST_SUB+= QT_NLS=""
+. endif
+.else
+CMAKE_ARGS+= -DNO_NLS:BOOL=ON
+PLIST_SUB+= NLS="@comment " QT_NLS="@comment "
+.endif
+
.include <bsd.port.pre.mk>
# for libexecinfo: (so that __builtin_frame_address() finds the top
@@ -198,19 +213,6 @@ CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF
PLIST_SUB+= AMRWB="@comment "
.endif
-.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-. if !defined(WITH_QT4)
-PLIST_SUB+= QT_NLS="@comment "
-. else
-PLIST_SUB+= QT_NLS=""
-. endif
-.else
-CMAKE_ARGS+= -DNO_NLS:BOOL=ON
-PLIST_SUB+= NLS="@comment " QT_NLS="@comment "
-.endif
-
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif