aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-04-25 02:10:30 +0800
committerak <ak@FreeBSD.org>2013-04-25 02:10:30 +0800
commitbd9e313d10d3c51dbd0716acbbf2cbcd4b33000e (patch)
tree5883afe298a5f232e854b104fc944ca19c4f7e7f /chinese
parent2e4755fb165fc85b66abbd26d0129a688b4273da (diff)
downloadfreebsd-ports-gnome-bd9e313d10d3c51dbd0716acbbf2cbcd4b33000e.tar.gz
freebsd-ports-gnome-bd9e313d10d3c51dbd0716acbbf2cbcd4b33000e.tar.zst
freebsd-ports-gnome-bd9e313d10d3c51dbd0716acbbf2cbcd4b33000e.zip
- Convert USE_GETTEXT to USES (part 3)
Approved by: portmgr (bapt)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/ibus-pinyin/Makefile2
-rw-r--r--chinese/libpinyin/Makefile2
-rw-r--r--chinese/oxim/Makefile2
-rw-r--r--chinese/pcmanx/Makefile2
-rw-r--r--chinese/reciteword/Makefile2
-rw-r--r--chinese/scim-array/Makefile2
-rw-r--r--chinese/scim-pinyin/Makefile2
-rw-r--r--chinese/wenju/Makefile2
-rw-r--r--chinese/zhcon/Makefile2
9 files changed, 9 insertions, 9 deletions
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
index 4b71430b5b86..237736fc87f4 100644
--- a/chinese/ibus-pinyin/Makefile
+++ b/chinese/ibus-pinyin/Makefile
@@ -63,7 +63,7 @@ CONFIGURE_ARGS+= --disable-opencc
.endif
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index 237217dad7bf..d0833d49dbc3 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -14,7 +14,7 @@ MAN1= libpinyin.1 gen_binary_files.1 gen_unigram.1 \
USE_BDB= yes
USE_GNOME= glib20 gnomehack pkgconfig
-USE_GETTEXT= yes
+USES= gettext
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
diff --git a/chinese/oxim/Makefile b/chinese/oxim/Makefile
index 978eab85484b..bd7612059b3e 100644
--- a/chinese/oxim/Makefile
+++ b/chinese/oxim/Makefile
@@ -70,7 +70,7 @@ PLIST_SUB+= UNICODE="@comment "
# TODO WITHOUT_NLS knob
#.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
LDFLAGS+= -lintl
PLIST_SUB+= NLS=""
#.else
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile
index 78d2267d386d..1e806aa2af01 100644
--- a/chinese/pcmanx/Makefile
+++ b/chinese/pcmanx/Makefile
@@ -35,7 +35,7 @@ MAN1= pcmanx.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/chinese/reciteword/Makefile b/chinese/reciteword/Makefile
index 576fcbefe44d..a603d90e58d5 100644
--- a/chinese/reciteword/Makefile
+++ b/chinese/reciteword/Makefile
@@ -17,7 +17,7 @@ COMMENT= Education software to help people to study English
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
USE_BZIP2= yes
-USE_GETTEXT= yes
+USES= gettext
USE_GNOME= gtk20 esound
USE_GMAKE= yes
CPPFLAGS+= "-I${LOCALBASE}/include"
diff --git a/chinese/scim-array/Makefile b/chinese/scim-array/Makefile
index b93c698e8ff9..ff06883999d5 100644
--- a/chinese/scim-array/Makefile
+++ b/chinese/scim-array/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
-USE_GETTEXT= yes
+USES= gettext
USE_ICONV= yes
CFLAGS+= -fPIC
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile
index 4d83afcb6913..d23f3c1b381e 100644
--- a/chinese/scim-pinyin/Makefile
+++ b/chinese/scim-pinyin/Makefile
@@ -27,7 +27,7 @@ OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile
index 85730a5c100f..c08491e53b61 100644
--- a/chinese/wenju/Makefile
+++ b/chinese/wenju/Makefile
@@ -23,7 +23,7 @@ OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index 62c655c2bace..7c3156f1a353 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
USE_ICONV= yes
# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
-USE_GETTEXT= yes
+USES= gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib