summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-02-18 14:55:48 +0000
committerleeym <leeym@FreeBSD.org>2006-02-18 14:55:48 +0000
commite2d68a9edbfef82ee93071c9968abe77d998b2a1 (patch)
tree2ae9637f14ca59cc4aff871547d45b2f724e9601 /chinese
parent890f449431032c29213c94c1311d4f7bfdb443b7 (diff)
downloadFreeBSD-ports-e2d68a9edbfef82ee93071c9968abe77d998b2a1.zip
FreeBSD-ports-e2d68a9edbfef82ee93071c9968abe77d998b2a1.tar.gz
- fix libintl dependency and unbreak this port
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 2145c11..b045460 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 e66d781..8f49eea 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
OpenPOWER on IntegriCloud