aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 21:47:24 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-03-05 21:47:24 +0000
commitd9389c183dd694b6ea8baa9f4c11d62adc1c29e4 (patch)
tree907639a236ccaaf174d28e9b38ec00101cf4243d /chinese
parent02e4e039dc8c2f78b8b861589ab1ee5b0bea3f5a (diff)
- update the URLs in MASTER_SITES and pkg-descr
- upgrade to 0.0.2 Approved by: kcwu
Notes
Notes: svn path=/head/; revision=130427
Diffstat (limited to 'chinese')
-rw-r--r--chinese/iiimf-le-chewing/Makefile23
-rw-r--r--chinese/iiimf-le-chewing/distinfo4
-rw-r--r--chinese/iiimf-le-chewing/files/patch-chewing.c19
-rw-r--r--chinese/iiimf-le-chewing/pkg-descr2
4 files changed, 12 insertions, 36 deletions
diff --git a/chinese/iiimf-le-chewing/Makefile b/chinese/iiimf-le-chewing/Makefile
index 395f7926bb98..4af2e3e78a68 100644
--- a/chinese/iiimf-le-chewing/Makefile
+++ b/chinese/iiimf-le-chewing/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= iiimf-le-chewing
-PORTVERSION= 0.01
+PORTVERSION= 0.0.2
+PORTEPOCH= 1
CATEGORIES= chinese textproc
-MASTER_SITES= http://wagner.elixus.org/~clkao/
-DISTFILES= iiimf-chewing.tgz
+MASTER_SITES= http://chewing.csie.net/download/iiimf/
+DISTNAME= ${PORTNAME:C/-le-/-/}-${PORTVERSION}
MAINTAINER= kcwu@csie.org
COMMENT= IIIMF Chewing engine, an intelligent Chinese phonetic input method
@@ -18,17 +19,11 @@ LIB_DEPENDS= chewing.2:${PORTSDIR}/chinese/libchewing
BUILD_DEPENDS= ${LOCALBASE}/include/iiimf/iml/SunIM.h:${PORTSDIR}/textproc/iiimf-headers
RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server
-WRKSRC= ${WRKDIR}/trunk
+USE_XLIB= yes
USE_ICONV= yes
-
-do-build:
- cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -o chewing.so -shared -fPIC -DARCH=\"${MACHINE_ARCH}\" \
- -I${LOCALBASE}/include -I${LOCALBASE}/include/iiimf -I${LOCALBASE}/include/iiimf/iml -I${LOCALBASE}/include/chewing \
- chewing.c -L${LOCALBASE}/lib -lchewing -liconv
-
-do-install:
- ${MKDIR} ${PREFIX}/lib/im/leif
- ${INSTALL_DATA} ${WRKSRC}/chewing.so ${PREFIX}/lib/im/leif
+USE_LIBTOOL_VER=15
+GNU_CONFIGURE= yes
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
.include <bsd.port.mk>
diff --git a/chinese/iiimf-le-chewing/distinfo b/chinese/iiimf-le-chewing/distinfo
index ff3ef958267b..37bd89fc5112 100644
--- a/chinese/iiimf-le-chewing/distinfo
+++ b/chinese/iiimf-le-chewing/distinfo
@@ -1,2 +1,2 @@
-MD5 (iiimf-chewing.tgz) = 349828bd3ff62621b9e924d696395edc
-SIZE (iiimf-chewing.tgz) = 5256
+MD5 (iiimf-chewing-0.0.2.tar.gz) = d44a8c3d2d9e246d15df41ee7a123bbb
+SIZE (iiimf-chewing-0.0.2.tar.gz) = 366048
diff --git a/chinese/iiimf-le-chewing/files/patch-chewing.c b/chinese/iiimf-le-chewing/files/patch-chewing.c
deleted file mode 100644
index 97ca0512729a..000000000000
--- a/chinese/iiimf-le-chewing/files/patch-chewing.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- chewing.c.orig Sat Jan 31 14:41:35 2004
-+++ chewing.c Wed Sep 8 04:33:13 2004
-@@ -40,7 +40,6 @@
-
- #include "chewingio.h"
- #include "hash.h"
--#include "console_chewing.h"
- #include "dict.h"
- #include "zuin.h"
-
-@@ -647,7 +646,7 @@
- case IM_VK_PAGE_DOWN:
- break;
-
-- case KEY_TAB:
-+ case '\t':
- OnKeyTab(pgdata, op);
- break;
-
diff --git a/chinese/iiimf-le-chewing/pkg-descr b/chinese/iiimf-le-chewing/pkg-descr
index a01f6b9bab59..20c2a5e67862 100644
--- a/chinese/iiimf-le-chewing/pkg-descr
+++ b/chinese/iiimf-le-chewing/pkg-descr
@@ -3,7 +3,7 @@ IIIMF is designed to be the next generation of input method framework
Chewing - An Intelligent Chinese Phonetic Input Method for UNIX
-WWW: http://chewing.good-man.org/
+WWW: http://chewing.csie.net/
- Kuang-che Wu
kcwu@csie.org