diff options
author | daichi <daichi@FreeBSD.org> | 2005-03-04 20:35:33 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2005-03-04 20:35:33 +0800 |
commit | 1fb813029ca34aee8cad6cdf231560815d14d220 (patch) | |
tree | b486f936ce32308acc058ae0822165cb8b4b8f04 | |
parent | a10211027dbf6bcb8fcf5761f18d649e86ffb25d (diff) | |
download | freebsd-ports-gnome-1fb813029ca34aee8cad6cdf231560815d14d220.tar.gz freebsd-ports-gnome-1fb813029ca34aee8cad6cdf231560815d14d220.tar.zst freebsd-ports-gnome-1fb813029ca34aee8cad6cdf231560815d14d220.zip |
IIIMF-related ports:
- add korean/iiimf-le-handul for iiimf le-handul module
Submitted by: ume
-rw-r--r-- | korean/Makefile | 1 | ||||
-rw-r--r-- | korean/iiimf-le-handul/Makefile | 62 | ||||
-rw-r--r-- | korean/iiimf-le-handul/distinfo | 2 | ||||
-rw-r--r-- | korean/iiimf-le-handul/files/patch-Makefile | 19 | ||||
-rw-r--r-- | korean/iiimf-le-handul/files/patch-leif_autogen.sh | 93 | ||||
-rw-r--r-- | korean/iiimf-le-handul/files/patch-leif_configure.ac | 32 | ||||
-rw-r--r-- | korean/iiimf-le-handul/pkg-descr | 10 | ||||
-rw-r--r-- | korean/iiimf-le-handul/pkg-plist | 7 |
8 files changed, 226 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile index 19e5afa4aab6..49604fd9e0d4 100644 --- a/korean/Makefile +++ b/korean/Makefile @@ -34,6 +34,7 @@ SUBDIR += hlatexfonts-ocf SUBDIR += hmconv SUBDIR += hpscat + SUBDIR += iiimf-le-handul SUBDIR += imhangul SUBDIR += johabfonts SUBDIR += kaistfonts diff --git a/korean/iiimf-le-handul/Makefile b/korean/iiimf-le-handul/Makefile new file mode 100644 index 000000000000..ffb1993823a8 --- /dev/null +++ b/korean/iiimf-le-handul/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: iiimf-le-hangul +# Date created: 1 Mar 2005 +# Whom: Hajimu UMEMOTO <ume@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= le-hangul +PORTVERSION= ${IIIMF_VER:S/_/./g:C/-.*//} +CATEGORIES= korean textproc +MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/ +PKGNAMEPREFIX= iiimf- +DISTNAME= im-sdk-src-${IIIMF_VER} + +MAINTAINER= daichi@FreeBSD.org +COMMENT= IIIMF Hangul input method engine + +RUN_DEPENDS= ${LOCALBASE}/lib/im/htt:${PORTSDIR}/textproc/iiimf-server + +IIIMF_VER= r12_1-svn2002 +USE_BZIP2= yes +USE_REINPLACE= yes +USE_GMAKE= yes +USE_GNOME= intltool +USE_XLIB= yes +WANT_AUTOCONF_VER=253 +WANT_AUTOHEADER_VER=253 +WANT_AUTOMAKE_VER=15 +WANT_LIBTOOL_VER=15 + +WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}/leif +PATCH_WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 503000 +IGNORE= "It is supported on FreeBSD 5.3 and later" +.endif + +.if ${ARCH} != "i386" +IGNORE= "${ARCH} is not support." +.endif + +MAKE_ARGS+= LIBTOOL="${LIBTOOL} --tag=CXX" +UPDATE_ARGS+= ACLOCAL=${ACLOCAL} AUTOMAKE=${AUTOMAKE} \ + AUTOHEADER=${AUTOHEADER} AUTOCONF=${AUTOCONF} \ + LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} + +post-patch: + ${REINPLACE_CMD} -e "s,/usr/lib/im,${PREFIX}/lib/im,g" \ + ${WRKSRC}/../acfiles/im_common.m4 \ + ${WRKSRC}/../lib/CSConv/csconv.h + +pre-configure: + (cd ${WRKSRC}/.. && ${GMAKE} ${UPDATE_ARGS} update-acfiles) + (cd ${WRKSRC}/../acfiles/ && ${TOUCH} ltconfig) + (cd ${WRKSRC} && ${TOUCH} ltconfig) + +do-configure: + (cd ${WRKSRC} && ./autogen.sh --prefix=${PREFIX}) + +.include <bsd.port.post.mk> diff --git a/korean/iiimf-le-handul/distinfo b/korean/iiimf-le-handul/distinfo new file mode 100644 index 000000000000..440e49d16220 --- /dev/null +++ b/korean/iiimf-le-handul/distinfo @@ -0,0 +1,2 @@ +MD5 (im-sdk-src-r12_1-svn2002.tar.bz2) = 51f3f10b11f8d4a206e2b190ec36a32a +SIZE (im-sdk-src-r12_1-svn2002.tar.bz2) = 18141292 diff --git a/korean/iiimf-le-handul/files/patch-Makefile b/korean/iiimf-le-handul/files/patch-Makefile new file mode 100644 index 000000000000..85df0e345035 --- /dev/null +++ b/korean/iiimf-le-handul/files/patch-Makefile @@ -0,0 +1,19 @@ +--- Makefile Thu Apr 8 03:28:00 2004 ++++ Makefile Wed Feb 16 14:09:34 2005 +@@ -2,6 +2,7 @@ + AUTOMAKE = automake + AUTOHEADER = autoheader + AUTOCONF = autoconf ++LIBTOOLIZE = libtoolize + + CONFIG_CMD = $(ACLOCAL) -I $${acfilesdir} && \ + $(AUTOHEADER) && \ +@@ -21,7 +22,7 @@ + + update-acfiles: + cd acfiles && \ +- $(ACLOCAL) && $(AUTOMAKE) --add-missing --copy && libtoolize --force --copy && \ ++ $(ACLOCAL) && $(AUTOMAKE) --add-missing --copy && $(LIBTOOLIZE) --force --copy && \ + rm -f Makefile.in aclocal.m4 + + config: diff --git a/korean/iiimf-le-handul/files/patch-leif_autogen.sh b/korean/iiimf-le-handul/files/patch-leif_autogen.sh new file mode 100644 index 000000000000..d38d31e628c7 --- /dev/null +++ b/korean/iiimf-le-handul/files/patch-leif_autogen.sh @@ -0,0 +1,93 @@ +--- leif/autogen.sh Thu Dec 11 15:29:55 2003 ++++ leif/autogen.sh Wed Feb 16 16:53:53 2005 +@@ -6,6 +6,14 @@ + + DIE=0 + ++LIBTOOL=libtool15 ++INTLTOOLIZE=intltoolize ++LIBTOOLIZE=libtoolize15 ++ACLOCAL=aclocal15 ++AUTOHEADER=autoheader253 ++AUTOMAKE=automake15 ++AUTOCONF=autoconf253 ++ + ACLOCAL_FLAGS="-I ../acfiles $ACLOCAL_FLAGS" + + if [ -n "$GNOME2_DIR" ]; then +@@ -22,7 +30,7 @@ + exit 1 + } + +-(autoconf --version) < /dev/null > /dev/null 2>&1 || { ++(${AUTOCONF} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`autoconf' installed." + echo "Download the appropriate package for your distribution," +@@ -31,7 +39,7 @@ + } + + (grep "^AC_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && { +- (intltoolize --version) < /dev/null > /dev/null 2>&1 || { ++ (${INTLTOOLIZE} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`intltool' installed." + echo "You can get it from:" +@@ -41,7 +49,7 @@ + } + + (grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { +- (libtool --version) < /dev/null > /dev/null 2>&1 || { ++ (${LIBTOOL} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtool' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" +@@ -59,7 +67,7 @@ + } + } + +-(automake --version) < /dev/null > /dev/null 2>&1 || { ++(${AUTOMAKE} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" +@@ -69,7 +77,7 @@ + + + # if no automake, don't bother testing for aclocal +-test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { ++test -n "$NO_AUTOMAKE" || (${ACLOCAL} --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing \`aclocal'. The version of \`automake'" + echo "installed doesn't appear recent enough." +@@ -114,24 +122,24 @@ + fi + if grep "^AC_PROG_INTLTOOL" configure.ac >/dev/null; then + echo "Running intltoolize..." +- intltoolize --copy --force --automake ++ ${INTLTOOLIZE} --copy --force --automake + fi + if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." +- libtoolize --force --copy ++ ${LIBTOOLIZE} --force --copy + fi + fi + echo "Running aclocal $aclocalinclude ..." +- aclocal $aclocalinclude ++ ${ACLOCAL} $aclocalinclude + if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then + echo "Running autoheader..." +- autoheader ++ ${AUTOHEADER} + fi + echo "Running automake --gnu $am_opt ..." +- automake --add-missing --copy --gnu $am_opt ++ ${AUTOMAKE} --add-missing --copy --gnu $am_opt + echo "Running autoconf ..." +- autoconf ++ ${AUTOCONF} + ) + fi + done diff --git a/korean/iiimf-le-handul/files/patch-leif_configure.ac b/korean/iiimf-le-handul/files/patch-leif_configure.ac new file mode 100644 index 000000000000..6d3e6461aca4 --- /dev/null +++ b/korean/iiimf-le-handul/files/patch-leif_configure.ac @@ -0,0 +1,32 @@ +--- leif/configure.ac Wed Oct 6 23:00:36 2004 ++++ leif/configure.ac Thu Feb 17 23:32:54 2005 +@@ -61,25 +61,18 @@ + IM_CONSTRUCT_FLAGS + IM_CONSTRUCT_THREAD_FLAGS + + CFLAGS="${COMMON_CXX_CFLAGS} ${COMMON_CFLAGS} \ + ${DEBUG_CXX_CFLAGS} ${DEBUG_CFLAGS} \ +- ${THREAD_COMMON_CXX_CFLAGS}" ++ ${THREAD_COMMON_CXX_CFLAGS} -I/usr/local/include -I/usr/X11R6/include" + + CXXFLAGS="${COMMON_CXX_CFLAGS} ${COMMON_CXXFLAGS} \ + ${DEBUG_CXX_CFLAGS} ${DEBUG_CXXFLAGS} \ +- ${THREAD_COMMON_CXX_CFLAGS}" ++ ${THREAD_COMMON_CXX_CFLAGS} -I/usr/local/include -I/usr/X11R6/include" + +-LDFLAGS="${COMMON_LDFLAGS} ${THREAD_LDFLAGS}" ++LDFLAGS="${COMMON_LDFLAGS} ${THREAD_LDFLAGS} -L/usr/local/lib -L/usr/X11R6/lib" + +-LE_TARGETS="default template sampleja sampleja2 sampleja3 newpy testEIMIL unit hangul chewing" ++LE_TARGETS="hangul" + +-IM_ADD_TARGET(LE_TARGETS, HAVE_CANNA, canna) +-IM_ADD_TARGET(LE_TARGETS, HAVE_FREEWNN, freewnn) +-IM_ADD_TARGET(LE_TARGETS, HAVE_X, sampleja3/xaux_common) +-IM_ADD_TARGET(LE_TARGETS, HAVE_GTK, sampleja3/xaux_gtk) +-IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, newpy/xaux) +-IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja/xaux) +-IM_ADD_TARGET(LE_TARGETS, HAVE_MOTIF, sampleja3/xaux_motif) + + dnl -------------------------------------------------------------------------------- + dnl Section 6: compilation test diff --git a/korean/iiimf-le-handul/pkg-descr b/korean/iiimf-le-handul/pkg-descr new file mode 100644 index 000000000000..8ab5cd90f622 --- /dev/null +++ b/korean/iiimf-le-handul/pkg-descr @@ -0,0 +1,10 @@ +IIIMF stands for Internet/Intranet Input Method Framework. +IIIMF is designed to be the next generation of input method framework + +UNIcode Table based generic composition engine with lookup-choice capability, +originally shipped with Solaris 9 update. Since the Unit started as hile, +the HIndi LE, this engine comes with Indic scripts tables, but it does not +mean this engine only supports Indic, it can be enhanced to wider scripts +coverage. + +WWW: http://www.openi18n.org/subgroups/im/IIIMF/ diff --git a/korean/iiimf-le-handul/pkg-plist b/korean/iiimf-le-handul/pkg-plist new file mode 100644 index 000000000000..e3a4870503c9 --- /dev/null +++ b/korean/iiimf-le-handul/pkg-plist @@ -0,0 +1,7 @@ +lib/im/leif/hangul.so +lib/im/locale/ko_KR/hangul.conf +lib/im/locale/ko_KR/tables/candidate.txt +@dirrm lib/im/locale/ko_KR/tables +@dirrm lib/im/locale/ko_KR +@unexec rmdir %D/lib/im/leif > /dev/null 2>&1 || true +@unexec rmdir %D/lib/im/locale > /dev/null 2>&1 || true |