summaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-02-14 19:02:18 +0000
committervanilla <vanilla@FreeBSD.org>2001-02-14 19:02:18 +0000
commit585f90b1fa02cc63fa62a9855f434674fe5eb32d (patch)
treef223b56a2b746f4e711bf65b2389d85f6ca50ae4 /chinese
parent31b4808cabb3211ed113332e480f11bf80535970 (diff)
downloadFreeBSD-ports-585f90b1fa02cc63fa62a9855f434674fe5eb32d.zip
FreeBSD-ports-585f90b1fa02cc63fa62a9855f434674fe5eb32d.tar.gz
Add chewing module, and bump version.
PR: ports/25048, ports/25064 Submitted by: Kang-ming Liu <gugod@gugod.org>
Diffstat (limited to 'chinese')
-rw-r--r--chinese/xcin25/Makefile10
-rw-r--r--chinese/xcin25/distinfo1
-rw-r--r--chinese/xcin25/files/patch-aa1
-rw-r--r--chinese/xcin25/files/patch-af2
-rw-r--r--chinese/xcin25/pkg-plist6
5 files changed, 16 insertions, 4 deletions
diff --git a/chinese/xcin25/Makefile b/chinese/xcin25/Makefile
index becdcc1..6e14bcc 100644
--- a/chinese/xcin25/Makefile
+++ b/chinese/xcin25/Makefile
@@ -7,8 +7,12 @@
PORTNAME= xcin
PORTVERSION= 2.5.2.2
+PORTREVISION= 1
CATEGORIES= chinese x11
-MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/
+MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/ \
+ http://chewing.oio.cx/download/
+PKGNAMEPREFIX= zh-
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} chewing-0.0.5.1.tar.gz
MAINTAINER= keith@FreeBSD.org
@@ -32,6 +36,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-intlinc=${LOCALBASE}/include \
--with-intllib=${LOCALBASE}/lib
+post-patch:
+ @mv ${WRKDIR}/chewing ${WRKSRC}/src/Cinput
+ @cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing
+
post-install:
strip ${PREFIX}/bin/xcin2.5
strip ${PREFIX}/lib/X11/xcin25/bin/cin2tab
diff --git a/chinese/xcin25/distinfo b/chinese/xcin25/distinfo
index 9a18faf..69ead6a 100644
--- a/chinese/xcin25/distinfo
+++ b/chinese/xcin25/distinfo
@@ -1 +1,2 @@
MD5 (xcin-2.5.2.2.tar.gz) = bbbc80622a9a43aa6231d2692bfc54e7
+MD5 (chewing-0.0.5.1.tar.gz) = 7744c772010dbff9afea76b66bd336e2
diff --git a/chinese/xcin25/files/patch-aa b/chinese/xcin25/files/patch-aa
index 3698060..ba52a91 100644
--- a/chinese/xcin25/files/patch-aa
+++ b/chinese/xcin25/files/patch-aa
@@ -8,4 +8,3 @@
+ if [ ! -d $(xcin_libp)/bin ]; then mkdir -p $(xcin_libp)/bin; fi
+ if [ -f $(xcin_libp)/bin/$(BIN) ]; then mv $(xcin_libp)/bin/$(BIN) $(xcin_libp)/bin/$(BIN).old; fi
+ $(INSTALL_PROGRAM) $(BIN) $(xcin_libp)/bin
-
diff --git a/chinese/xcin25/files/patch-af b/chinese/xcin25/files/patch-af
index d6f30c8..fa91a44 100644
--- a/chinese/xcin25/files/patch-af
+++ b/chinese/xcin25/files/patch-af
@@ -7,5 +7,3 @@
-LIB = $(xcinlib) $(extra_lib) $(tabe_lib) $(db_lib)
+LIB = $(xcinlib) $(extra_lib) $(tabe_lib) $(db_lib) -lgcc
TARGET = bimsphone.$(slib_ext)
-
-
diff --git a/chinese/xcin25/pkg-plist b/chinese/xcin25/pkg-plist
index 6008089..9f5239b 100644
--- a/chinese/xcin25/pkg-plist
+++ b/chinese/xcin25/pkg-plist
@@ -1,6 +1,7 @@
bin/xcin2.5
etc/xcinrc
lib/X11/xcin25/bimsphone.so
+lib/X11/xcin25/chewing.so
lib/X11/xcin25/gen_inp.so
lib/X11/xcin25/zh_hex.so
lib/X11/xcin25/bin/cin2tab
@@ -44,6 +45,8 @@ lib/X11/xcin25/tab/big5/simplex.tab
lib/X11/xcin25/tab/big5/sys.tab
lib/X11/xcin25/tab/big5/tsi.db
lib/X11/xcin25/tab/big5/yin.db
+lib/X11/xcin25/tab/ch_index.dat
+lib/X11/xcin25/tab/dict.dat
lib/X11/xcin25/tab/euc/default.phr
lib/X11/xcin25/tab/euc/jtcj_gb.tab
lib/X11/xcin25/tab/euc/phonegb2.tab
@@ -51,6 +54,9 @@ lib/X11/xcin25/tab/euc/pinyin.tab
lib/X11/xcin25/tab/euc/shuangpin.tab
lib/X11/xcin25/tab/euc/sys.tab
lib/X11/xcin25/tab/euc/wubizixing.tab
+lib/X11/xcin25/tab/fonetree.dat
+lib/X11/xcin25/tab/ph_index.dat
+lib/X11/xcin25/tab/us_freq.dat
share/locale/zh_TW.Big5/LC_MESSAGES/xcin.mo
@dirrm lib/X11/xcin25/bin
@dirrm lib/X11/xcin25/doc/En/internal
OpenPOWER on IntegriCloud