aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/xcin25/Makefile15
-rw-r--r--chinese/xcin25/distinfo2
-rw-r--r--chinese/xcin25/files/patch-af11
-rw-r--r--chinese/xcin25/pkg-plist1
4 files changed, 22 insertions, 7 deletions
diff --git a/chinese/xcin25/Makefile b/chinese/xcin25/Makefile
index 0d6e6e5fe487..4c35991615bf 100644
--- a/chinese/xcin25/Makefile
+++ b/chinese/xcin25/Makefile
@@ -6,17 +6,18 @@
# $FreeBSD$
#
-DISTNAME= xcin-2.5-19991017
-PKGNAME= zh-xcin-2.5.2b
+DISTNAME= xcin-2.5-19991027
+PKGNAME= zh-xcin-2.5.2b2
CATEGORIES= chinese x11
MASTER_SITES= ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/
-MAINTAINER= jtjang@gcn.net.tw
+MAINTAINER= keith@freebsd.sinica.edu.tw
LIB_DEPENDS= tabe.0:${PORTSDIR}/chinese/libtabe \
intl.1:${PORTSDIR}/devel/gettext
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db
-RUN_DEPENDS= ${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86
+RUN_DEPENDS= ${PREFIX}/lib/X11/locale/zh_TW.Big5/XLC_LOCALE:${PORTSDIR}/x11/XFree86 \
+ ${PREFIX}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
WRKSRC= ${WRKDIR}/xcin-2.5
USE_X_PREFIX= yes
@@ -31,8 +32,8 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-intllib=${LOCALBASE}/lib
post-install:
- ${STRIP} ${PREFIX}/bin/xcin2.5
- ${STRIP} ${PREFIX}/lib/X11/xcin25/bin/cin2tab
+ strip ${PREFIX}/bin/xcin2.5
+ strip ${PREFIX}/lib/X11/xcin25/bin/cin2tab
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/lib/X11/xcin25/doc
${INSTALL_MAN} ${WRKSRC}/doc/Bugs ${PREFIX}/lib/X11/xcin25/doc
@@ -53,6 +54,8 @@ post-install:
${PREFIX}/lib/X11/xcin25/doc/internal
${INSTALL_MAN} ${WRKSRC}/doc/internal/gen_inp \
${PREFIX}/lib/X11/xcin25/doc/internal
+ ${INSTALL_MAN} ${WRKSRC}/doc/internal/gui_request \
+ ${PREFIX}/lib/X11/xcin25/doc/internal
${INSTALL_MAN} ${WRKSRC}/doc/internal/module \
${PREFIX}/lib/X11/xcin25/doc/internal
${INSTALL_MAN} ${WRKSRC}/doc/internal/structer \
diff --git a/chinese/xcin25/distinfo b/chinese/xcin25/distinfo
index 620ae2e2e463..92aae44a0959 100644
--- a/chinese/xcin25/distinfo
+++ b/chinese/xcin25/distinfo
@@ -1 +1 @@
-MD5 (xcin-2.5-19991017.tar.gz) = e7a1d7f5c4346e12a39f551713f53f45
+MD5 (xcin-2.5-19991027.tar.gz) = f7413f95ca840624a9579b7e9a95c704
diff --git a/chinese/xcin25/files/patch-af b/chinese/xcin25/files/patch-af
new file mode 100644
index 000000000000..2ca0c654e88e
--- /dev/null
+++ b/chinese/xcin25/files/patch-af
@@ -0,0 +1,11 @@
+--- src/Cinput/bimsphone/bimsphone.c.orig Wed Oct 27 14:37:45 1999
++++ src/Cinput/bimsphone/bimsphone.c Sat Nov 6 16:30:39 1999
+@@ -362,7 +362,7 @@
+ inpinfo->mcch[i].wch = (wchar_t)0;
+ strncpy(inpinfo->mcch[i].s, selection+(*base+i)*2, 2);
+ }
+- inpinfo->mcch[i].wch = (wchar_t)0;
++ /* inpinfo->mcch[i].wch = (wchar_t)0; */
+ inpinfo->n_mcch = i;
+ iccf->mode &= ~(PHONE_MODE_COMPOSEDOK);
+
diff --git a/chinese/xcin25/pkg-plist b/chinese/xcin25/pkg-plist
index 24166cf8ba32..75b72b867e65 100644
--- a/chinese/xcin25/pkg-plist
+++ b/chinese/xcin25/pkg-plist
@@ -19,6 +19,7 @@ lib/X11/xcin25/doc/Usage
lib/X11/xcin25/doc/UserGuide
lib/X11/xcin25/doc/internal/IMdkit
lib/X11/xcin25/doc/internal/gen_inp
+lib/X11/xcin25/doc/internal/gui_request
lib/X11/xcin25/doc/internal/module
lib/X11/xcin25/doc/internal/structer
lib/X11/xcin25/doc/modules/bimsphone