aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/gcin-devel/Makefile2
-rw-r--r--chinese/gcin-devel/distinfo4
-rw-r--r--chinese/gcin-devel/files/patch-gtab.c11
-rw-r--r--chinese/gcin-devel/pkg-plist12
-rw-r--r--chinese/gcin/Makefile2
-rw-r--r--chinese/gcin/distinfo4
-rw-r--r--chinese/gcin/files/patch-gtab.c11
-rw-r--r--chinese/gcin/pkg-plist12
8 files changed, 44 insertions, 14 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile
index b881dbc21e30..103fc83c972d 100644
--- a/chinese/gcin-devel/Makefile
+++ b/chinese/gcin-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcin
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.4
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/
diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo
index fb2691dfecc1..ea2cee876fc5 100644
--- a/chinese/gcin-devel/distinfo
+++ b/chinese/gcin-devel/distinfo
@@ -1,2 +1,2 @@
-MD5 (gcin-0.2.1.tar.bz2) = 977b131d51f81a4cbae21c324d533a03
-SIZE (gcin-0.2.1.tar.bz2) = 390294
+MD5 (gcin-0.2.4.tar.bz2) = 577f91b241e6ab97d8ebf3f55e418b38
+SIZE (gcin-0.2.4.tar.bz2) = 539992
diff --git a/chinese/gcin-devel/files/patch-gtab.c b/chinese/gcin-devel/files/patch-gtab.c
new file mode 100644
index 000000000000..dfc231ce9e3c
--- /dev/null
+++ b/chinese/gcin-devel/files/patch-gtab.c
@@ -0,0 +1,11 @@
+--- gtab.c.orig Mon Aug 23 23:11:43 2004
++++ gtab.c Tue Aug 24 07:16:39 2004
+@@ -439,7 +439,7 @@
+ len = ofs1 - ofs;
+
+ if (len > 128 || len <= 0) {
+- error("phrae error %d\n", len);
++ dbg("phrae error %d\n", len);
+ strcpy(tt,"err");
+ return;
+ }
diff --git a/chinese/gcin-devel/pkg-plist b/chinese/gcin-devel/pkg-plist
index f85f39c48489..418ad1a919c6 100644
--- a/chinese/gcin-devel/pkg-plist
+++ b/chinese/gcin-devel/pkg-plist
@@ -1,17 +1,21 @@
bin/gcin
lib/menu/gcin
lib/menu/gcin-setup
-share/gcin/table/pho.tab
+share/gcin/table/ar30.gtab
+share/gcin/table/cj.gtab
share/gcin/table/et.kbm
-share/gcin/table/zo.kbm
+share/gcin/table/gtab.list
+share/gcin/table/phrase.table
+share/gcin/table/pho.tab
+share/gcin/table/symbol-table
share/gcin/table/tsin
share/gcin/table/tsin.idx
-share/gcin/table/symbol-table
+share/gcin/table/zo.kbm
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
@dirrm lib/menu
@dirrm share/icons/gcin
-@dirrm share/icons
+@unexec rmdir %D/share/icons 2>/dev/null || true
@dirrm share/gcin/table
@dirrm share/gcin
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile
index b881dbc21e30..103fc83c972d 100644
--- a/chinese/gcin/Makefile
+++ b/chinese/gcin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gcin
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.4
CATEGORIES= chinese
MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/
diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo
index fb2691dfecc1..ea2cee876fc5 100644
--- a/chinese/gcin/distinfo
+++ b/chinese/gcin/distinfo
@@ -1,2 +1,2 @@
-MD5 (gcin-0.2.1.tar.bz2) = 977b131d51f81a4cbae21c324d533a03
-SIZE (gcin-0.2.1.tar.bz2) = 390294
+MD5 (gcin-0.2.4.tar.bz2) = 577f91b241e6ab97d8ebf3f55e418b38
+SIZE (gcin-0.2.4.tar.bz2) = 539992
diff --git a/chinese/gcin/files/patch-gtab.c b/chinese/gcin/files/patch-gtab.c
new file mode 100644
index 000000000000..dfc231ce9e3c
--- /dev/null
+++ b/chinese/gcin/files/patch-gtab.c
@@ -0,0 +1,11 @@
+--- gtab.c.orig Mon Aug 23 23:11:43 2004
++++ gtab.c Tue Aug 24 07:16:39 2004
+@@ -439,7 +439,7 @@
+ len = ofs1 - ofs;
+
+ if (len > 128 || len <= 0) {
+- error("phrae error %d\n", len);
++ dbg("phrae error %d\n", len);
+ strcpy(tt,"err");
+ return;
+ }
diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist
index f85f39c48489..418ad1a919c6 100644
--- a/chinese/gcin/pkg-plist
+++ b/chinese/gcin/pkg-plist
@@ -1,17 +1,21 @@
bin/gcin
lib/menu/gcin
lib/menu/gcin-setup
-share/gcin/table/pho.tab
+share/gcin/table/ar30.gtab
+share/gcin/table/cj.gtab
share/gcin/table/et.kbm
-share/gcin/table/zo.kbm
+share/gcin/table/gtab.list
+share/gcin/table/phrase.table
+share/gcin/table/pho.tab
+share/gcin/table/symbol-table
share/gcin/table/tsin
share/gcin/table/tsin.idx
-share/gcin/table/symbol-table
+share/gcin/table/zo.kbm
share/icons/gcin.png
share/icons/gcin/pin-fixed24.png
share/icons/gcin/pin-float16.png
@dirrm lib/menu
@dirrm share/icons/gcin
-@dirrm share/icons
+@unexec rmdir %D/share/icons 2>/dev/null || true
@dirrm share/gcin/table
@dirrm share/gcin