IIIMF-related port

- iiimf-le-hangul is IIIMF Hangul module

Submitted by:	ume
This commit is contained in:
Daichi GOTO 2005-03-04 16:27:03 +00:00
parent 846e303ae0
commit 156295bae1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130364
8 changed files with 226 additions and 0 deletions

View file

@ -34,6 +34,7 @@
SUBDIR += hlatexfonts-ocf
SUBDIR += hmconv
SUBDIR += hpscat
SUBDIR += iiimf-le-hangul
SUBDIR += imhangul
SUBDIR += johabfonts
SUBDIR += kaistfonts

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (im-sdk-src-r12_1-svn2002.tar.bz2) = 51f3f10b11f8d4a206e2b190ec36a32a
SIZE (im-sdk-src-r12_1-svn2002.tar.bz2) = 18141292

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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/

View file

@ -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