aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
Diffstat (limited to 'chinese')
-rw-r--r--chinese/zhcon/Makefile11
-rw-r--r--chinese/zhcon/pkg-plist20
2 files changed, 11 insertions, 20 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index 2145c1194139..b045460db4dc 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -17,18 +17,9 @@ COMMENT= A fast Console Chinese System which supports framebuffer device
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
-USE_GMAKE= yes
-USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
-
-.if !defined(WITHOUT_NLS)
+# Don't bother to add ".if !defined(WITHOUT_NLS)", zhcon requires libintl
USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-.else
-BROKEN= "Does not compile without gettext"
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
MAN1= zhcon.1
diff --git a/chinese/zhcon/pkg-plist b/chinese/zhcon/pkg-plist
index e66d7816ec8e..8f49eea34497 100644
--- a/chinese/zhcon/pkg-plist
+++ b/chinese/zhcon/pkg-plist
@@ -34,16 +34,16 @@ lib/zhcon/input/wbh.mb
lib/zhcon/input/winpy.mb
lib/zhcon/input/winsp.mb
lib/zhcon/input/winzm.mb
-%%NLS%%share/locale/ja/LC_MESSAGES/zhcon.mo
-%%NLS%%share/locale/ko/LC_MESSAGES/zhcon.mo
-%%NLS%%share/locale/zh_CN.EUC/LC_MESSAGES/zhcon.mo
-%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/zhcon.mo
-%%NLS%%share/locale/zh_CN.GBK/LC_MESSAGES/zhcon.mo
-%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/zhcon.mo
-%%NLS%%@dirrmtry share/locale/zh_CN.GBK/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_CN.GBK
-%%NLS%%@dirrmtry share/locale/zh_CN.EUC/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_CN.EUC
+share/locale/ja/LC_MESSAGES/zhcon.mo
+share/locale/ko/LC_MESSAGES/zhcon.mo
+share/locale/zh_CN.EUC/LC_MESSAGES/zhcon.mo
+share/locale/zh_CN.GB2312/LC_MESSAGES/zhcon.mo
+share/locale/zh_CN.GBK/LC_MESSAGES/zhcon.mo
+share/locale/zh_TW.Big5/LC_MESSAGES/zhcon.mo
+@dirrmtry share/locale/zh_CN.GBK/LC_MESSAGES
+@dirrmtry share/locale/zh_CN.GBK
+@dirrmtry share/locale/zh_CN.EUC/LC_MESSAGES
+@dirrmtry share/locale/zh_CN.EUC
@dirrm lib/zhcon/input
@dirrm lib/zhcon/font
@dirrm lib/zhcon