aboutsummaryrefslogtreecommitdiff
path: root/textproc/iiimf-le-unit
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 11:43:36 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 11:43:36 +0000
commit7874f190136393a609799dc33e0ed757e6ad48de (patch)
treeadd00dd6595a7919a80c46dccbf026a85370387d /textproc/iiimf-le-unit
parentffc8c09f18fa76f9c07bb77ac7bd323291ff0a3d (diff)
downloadports-7874f190136393a609799dc33e0ed757e6ad48de.tar.gz
ports-7874f190136393a609799dc33e0ed757e6ad48de.zip
Notes
Diffstat (limited to 'textproc/iiimf-le-unit')
-rw-r--r--textproc/iiimf-le-unit/Makefile41
-rw-r--r--textproc/iiimf-le-unit/distinfo1
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in11
-rw-r--r--textproc/iiimf-le-unit/pkg-descr21
-rw-r--r--textproc/iiimf-le-unit/pkg-plist42
8 files changed, 149 insertions, 0 deletions
diff --git a/textproc/iiimf-le-unit/Makefile b/textproc/iiimf-le-unit/Makefile
new file mode 100644
index 000000000000..fb2d9d4c98f6
--- /dev/null
+++ b/textproc/iiimf-le-unit/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: iiimf-le-unit
+# Date created: 6 Dec 2003
+# Whom: Kuang-che Wu <kcwu@csie.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= iiimf-le-unit
+PORTVERSION= ${IIIMF_VER:S/_/./:C/-.*//}
+CATEGORIES= textproc
+MASTER_SITES= http://www.openi18n.org/download/docs/im-sdk/
+DISTNAME= im-sdk
+DISTFILES= ${DISTNAME}.${IIIMF_VER:S/-/./}${EXTRACT_SUFX}
+
+MAINTAINER= kcwu@csie.org
+COMMENT= Internet/Intranet Input Method Framework language engine unit
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+
+IIIMF_VER= r11_4-1467
+WRKSRC= ${WRKDIR}/${DISTNAME}-${IIIMF_VER}/leif
+BUILD_WRKSRC= ${WRKSRC}/unit
+INSTALL_WRKSRC= ${WRKSRC}/unit
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_XLIB= yes
+INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lpthread,-pthread,g" \
+ -e "s,-D_POSIX_C_SOURCE=199506L,,g" \
+ -e "s,has_xiccallback=no,has_xiccallback=yes,g" \
+ -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \
+ ${WRKSRC}/unit/include/indic_input.h
+
+.include <bsd.port.mk>
diff --git a/textproc/iiimf-le-unit/distinfo b/textproc/iiimf-le-unit/distinfo
new file mode 100644
index 000000000000..4ec913af341f
--- /dev/null
+++ b/textproc/iiimf-le-unit/distinfo
@@ -0,0 +1 @@
+MD5 (im-sdk.r11_4.1467.tar.bz2) = ca6b6ac7c41641db6eaa0fa395748f90
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in
new file mode 100644
index 000000000000..2832978ea365
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_codetable_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/codetable/Makefile.in.orig Sat Dec 6 03:05:27 2003
++++ unit/codetable/Makefile.in Sat Dec 6 03:05:52 2003
+@@ -98,7 +98,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LE_TARGETS = @LE_TARGETS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -L/usr/local/lib -liconv
+ LIBTOOL = @LIBTOOL@
+ LINKER = @LINKER@
+ LN_S = @LN_S@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in
new file mode 100644
index 000000000000..71f325601ae9
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_ctim_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/ctim/Makefile.in.orig Sat Dec 6 03:03:08 2003
++++ unit/ctim/Makefile.in Sat Dec 6 03:03:24 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in
new file mode 100644
index 000000000000..36841e362149
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_leif_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/leif/Makefile.in.orig Sat Dec 6 03:28:31 2003
++++ unit/leif/Makefile.in Sat Dec 6 03:28:37 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in b/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in
new file mode 100644
index 000000000000..3df73ecb0af8
--- /dev/null
+++ b/textproc/iiimf-le-unit/files/patch-leif_unit_xaux_common_Makefile.in
@@ -0,0 +1,11 @@
+--- unit/xaux_common/Makefile.in.orig Sat Dec 6 02:58:06 2003
++++ unit/xaux_common/Makefile.in Sat Dec 6 03:01:40 2003
+@@ -72,7 +72,7 @@
+ AS = @AS@
+ AWK = @AWK@
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @X_CFLAGS@ -I/usr/local/include
+ CPP = @CPP@
+ CSCONV_DIR = @CSCONV_DIR@
+ CXX = @CXX@
diff --git a/textproc/iiimf-le-unit/pkg-descr b/textproc/iiimf-le-unit/pkg-descr
new file mode 100644
index 000000000000..ac72b20e8941
--- /dev/null
+++ b/textproc/iiimf-le-unit/pkg-descr
@@ -0,0 +1,21 @@
+IIIMF stands for Internet/Intranet Input Method Framework.
+IIIMF is designed to be the next generation of input method framework
+which provides the following capabilities;
+
+* Multiplatform, platform independent.
+* Multlingual and Full UNICODE support, but satisfactory for native speakers.
+* Windowing System Independent.
+* Multiple language engines concurrently run.
+* Multiuser.
+* Distributed, lightweight clients and scalable server.
+* Extensible in multiple means.
+* Input method protocol efficient enough to be used over low-speed modem
+ connection.
+* Easy input method engine development with plugin API.
+* Easy input method enabling with libiiimcf, even on console apps.
+* Small core part to start from.
+
+WWW: http://www.openi18n.org/subgroups/im/IIIMF/
+
+- Kuang-che Wu
+ kcwu@csie.org
diff --git a/textproc/iiimf-le-unit/pkg-plist b/textproc/iiimf-le-unit/pkg-plist
new file mode 100644
index 000000000000..fb75ce59a90c
--- /dev/null
+++ b/textproc/iiimf-le-unit/pkg-plist
@@ -0,0 +1,42 @@
+lib/im/leif/indicle.so
+lib/im/locale/in_IN/common/ctim.so
+lib/im/locale/in_IN/common/ctim.so.0
+lib/im/locale/in_IN/common/ctim.la
+lib/im/locale/in_IN/common/ctim.a
+lib/im/locale/in_IN/common/txt2bin
+lib/im/locale/in_IN/common/bin2txt
+lib/im/locale/in_IN/common/search
+lib/im/locale/in_IN/HINDI/data/inscript.data
+lib/im/locale/in_IN/HINDI/data/trans.data
+lib/im/locale/in_IN/TAMIL/data/inscript.data
+lib/im/locale/in_IN/TAMIL/data/trans.data
+lib/im/locale/in_IN/KANNADA/data/inscript.data
+lib/im/locale/in_IN/KANNADA/data/kgp.data
+lib/im/locale/in_IN/MALAYALAM/data/inscript.data
+lib/im/locale/in_IN/MALAYALAM/data/trans.data
+lib/im/locale/in_IN/TELUGU/data/inscript.data
+lib/im/locale/in_IN/GUJARATI/data/inscript.data
+lib/im/locale/in_IN/BENGALI/data/inscript.data
+lib/im/locale/in_IN/GURMUKHI/data/inscript.data
+lib/im/locale/in_IN/sysime.cfg
+@dirrm lib/im/locale/in_IN/common
+@dirrm lib/im/locale/in_IN/TELUGU/data
+@dirrm lib/im/locale/in_IN/TELUGU
+@dirrm lib/im/locale/in_IN/TAMIL/data
+@dirrm lib/im/locale/in_IN/TAMIL
+@dirrm lib/im/locale/in_IN/MALAYALAM/data
+@dirrm lib/im/locale/in_IN/MALAYALAM
+@dirrm lib/im/locale/in_IN/KANNADA/data
+@dirrm lib/im/locale/in_IN/KANNADA
+@dirrm lib/im/locale/in_IN/HINDI/data
+@dirrm lib/im/locale/in_IN/HINDI
+@dirrm lib/im/locale/in_IN/GURMUKHI/data
+@dirrm lib/im/locale/in_IN/GURMUKHI
+@dirrm lib/im/locale/in_IN/GUJARATI/data
+@dirrm lib/im/locale/in_IN/GUJARATI
+@dirrm lib/im/locale/in_IN/BENGALI/data
+@dirrm lib/im/locale/in_IN/BENGALI
+@dirrm lib/im/locale/in_IN
+@dirrm lib/im/locale
+@dirrm lib/im/leif
+@unexec rmdir %D/lib/im 2>/dev/null || true