summaryrefslogtreecommitdiffstats
path: root/textproc/openvanilla-modules
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/openvanilla-modules')
-rw-r--r--textproc/openvanilla-modules/Makefile131
-rw-r--r--textproc/openvanilla-modules/distinfo3
-rw-r--r--textproc/openvanilla-modules/files/patch-Modules::Mk::ov.module.mk11
-rw-r--r--textproc/openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h13
-rw-r--r--textproc/openvanilla-modules/pkg-descr15
-rw-r--r--textproc/openvanilla-modules/pkg-plist43
6 files changed, 216 insertions, 0 deletions
diff --git a/textproc/openvanilla-modules/Makefile b/textproc/openvanilla-modules/Makefile
new file mode 100644
index 000000000..56e8e43d8
--- /dev/null
+++ b/textproc/openvanilla-modules/Makefile
@@ -0,0 +1,131 @@
+# New ports collection makefile for: openvanilla-modules
+# Date Created: 3 September 2005
+# Whom: Leland Wang <llwang@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= openvanilla-modules
+PORTVERSION= 0.7.2.b20060214
+CATEGORIES= textproc
+MASTER_SITES= http://www.csie.org/~llwang/ \
+ http://www.infor.org/~llwang/
+DISTNAME= openvanilla-${PORTVERSION}
+
+MAINTAINER= llwang@infor.org
+COMMENT= Input method modules for OpenVanilla
+
+BUILD_DEPENDS= ${X11BASE}/include/OpenVanilla/OpenVanilla.h:${PORTSDIR}/textproc/openvanilla-framework
+RUN_DEPENDS= ${LOCALBASE}/lib/scim-1.0/IMEngine/OVLoader-SCIM.so:${PORTSDIR}/textproc/scim-openvanilla
+
+USE_AUTOTOOLS= libtool:15:env
+USE_GMAKE= yes
+USE_PERL5_BUILD= yes
+
+OPTIONS= OVIMArray "Array Input Module" on \
+ OVIMBig5 "Big5 Input Module" off \
+ OVIMGeneric "Generic Input Module" on \
+ OVIMPOJ_Holo "POJ-Holo Input Module" on \
+ OVIMPhonetic "Phonetic Input Module" on \
+ OVIMRoman "Roman Input Module" off \
+ OVIMTibetan "Tibetan Input Module" off \
+ OVIMUnicode "Unicode Input Module" off
+
+MAKE_ARGS+= INSTALL_PREFIX=${PREFIX} OV_INCLUDE=${X11BASE}/include
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_OVIMArray)
+PLIST_SUB+= OVIMArray=""
+.else
+PLIST_SUB+= OVIMArray="@comment "
+.endif
+.if defined(WITH_OVIMBig5)
+PLIST_SUB+= OVIMBig5=""
+.else
+PLIST_SUB+= OVIMBig5="@comment "
+.endif
+.if !defined(WITHOUT_OVIMGeneric)
+PLIST_SUB+= OVIMGeneric=""
+.else
+PLIST_SUB+= OVIMGeneric="@comment "
+.endif
+.if !defined(WITHOUT_OVIMPOJ_Holo)
+PLIST_SUB+= OVIMPOJ_Holo=""
+.else
+PLIST_SUB+= OVIMPOJ_Holo="@comment "
+.endif
+.if !defined(WITHOUT_OVIMPhonetic)
+PLIST_SUB+= OVIMPhonetic=""
+.else
+PLIST_SUB+= OVIMPhonetic="@comment "
+.endif
+.if defined(WITH_OVIMRoman)
+PLIST_SUB+= OVIMRoman=""
+.else
+PLIST_SUB+= OVIMRoman="@comment "
+.endif
+.if defined(WITH_OVIMTibetan)
+PLIST_SUB+= OVIMTibetan=""
+.else
+PLIST_SUB+= OVIMTibetan="@comment "
+.endif
+.if defined(WITH_OVIMUnicode)
+PLIST_SUB+= OVIMUnicode=""
+.else
+PLIST_SUB+= OVIMUnicode="@comment "
+.endif
+
+do-build:
+.if !defined(WITHOUT_OVIMArray)
+ @(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if defined(WITH_OVIMBig5)
+ @(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if !defined(WITHOUT_OVIMGeneric)
+ @(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if !defined(WITHOUT_OVIMPOJ_Holo)
+ @(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if !defined(WITHOUT_OVIMPhonetic)
+ @(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if defined(WITH_OVIMRoman)
+ @(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if !defined(WITHOUT_OVIMTibetan)
+ @(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+.if defined(WITH_OVIMUnicode)
+ @(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} all)
+.endif
+
+do-install:
+.if !defined(WITHOUT_OVIMArray)
+ @(cd ${WRKSRC}/Modules/OVIMArray; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if defined(WITH_OVIMBig5)
+ @(cd ${WRKSRC}/Modules/OVIMBig5; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if !defined(WITHOUT_OVIMGeneric)
+ @(cd ${WRKSRC}/Modules/OVIMGeneric; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if !defined(WITHOUT_OVIMPOJ_Holo)
+ @(cd ${WRKSRC}/Modules/OVIMPOJ-Holo; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if !defined(WITHOUT_OVIMPhonetic)
+ @(cd ${WRKSRC}/Modules/OVIMPhonetic; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if defined(WITH_OVIMRoman)
+ @(cd ${WRKSRC}/Modules/OVIMRoman; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if !defined(WITHOUT_OVIMTibetan)
+ @(cd ${WRKSRC}/Modules/OVIMTibetan; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+.if defined(WITH_OVIMUnicode)
+ @(cd ${WRKSRC}/Modules/OVIMUnicode; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install)
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/openvanilla-modules/distinfo b/textproc/openvanilla-modules/distinfo
new file mode 100644
index 000000000..95c6b2910
--- /dev/null
+++ b/textproc/openvanilla-modules/distinfo
@@ -0,0 +1,3 @@
+MD5 (openvanilla-0.7.2.b20060214.tar.gz) = d15b76fd77022cc78b660b9a719d17e7
+SHA256 (openvanilla-0.7.2.b20060214.tar.gz) = 9761b42666676ecb5e590b242d09c4e6f538a23608c0262fc02d38821b1d128d
+SIZE (openvanilla-0.7.2.b20060214.tar.gz) = 16777986
diff --git a/textproc/openvanilla-modules/files/patch-Modules::Mk::ov.module.mk b/textproc/openvanilla-modules/files/patch-Modules::Mk::ov.module.mk
new file mode 100644
index 000000000..aa430813d
--- /dev/null
+++ b/textproc/openvanilla-modules/files/patch-Modules::Mk::ov.module.mk
@@ -0,0 +1,11 @@
+--- Modules/Mk/ov.module.mk.orig Tue Feb 14 00:18:29 2006
++++ Modules/Mk/ov.module.mk Tue Feb 14 13:55:40 2006
+@@ -178,7 +178,7 @@
+
+ GCC=/usr/bin/gcc
+ GPP=/usr/bin/g++
+-LIBTOOL=$(shell ../Mk/find-libtool.pl)
++# LIBTOOL=$(shell ../Mk/find-libtool.pl)
+
+
+ ifeq ("$(OS_COMPILE)", "Darwin")
diff --git a/textproc/openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h b/textproc/openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h
new file mode 100644
index 000000000..0c05b9e38
--- /dev/null
+++ b/textproc/openvanilla-modules/files/patch-Modules::SharedHeaders::OVFileHandler.h
@@ -0,0 +1,13 @@
+--- Modules/SharedHeaders/OVFileHandler.h.orig Tue Feb 14 00:18:36 2006
++++ Modules/SharedHeaders/OVFileHandler.h Mon Mar 20 16:19:33 2006
+@@ -36,9 +36,9 @@
+ #include <fstream>
+
+ #ifndef WIN32
++ #include <sys/types.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+- #include <sys/types.h>
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <unistd.h>
diff --git a/textproc/openvanilla-modules/pkg-descr b/textproc/openvanilla-modules/pkg-descr
new file mode 100644
index 000000000..d852f53c0
--- /dev/null
+++ b/textproc/openvanilla-modules/pkg-descr
@@ -0,0 +1,15 @@
+OpenVanilla (OV) is an input method (IM)/output filter (OF) framework
+designed for better end-user text processing experiences. For example,
+OpenVanilla provides a comprehensive set of Traditional Chinese input
+methods that are lacking or of which counterparts are functionally
+deficient/unsatisfactory in Apple's Mac OS X. Many Simplified Chinese
+users also find this framework useful. A Tibetan IM module is also
+available.
+
+openvanilla-modules installs the input method modules for OpenVanilla.
+The SCIM OpenVanilla loader does not currently support output filters.
+
+WWW: http://openvanilla.org/
+
+-- Leland Wang
+llwang@infor.org
diff --git a/textproc/openvanilla-modules/pkg-plist b/textproc/openvanilla-modules/pkg-plist
new file mode 100644
index 000000000..afcc94e7b
--- /dev/null
+++ b/textproc/openvanilla-modules/pkg-plist
@@ -0,0 +1,43 @@
+%%OVIMArray%%lib/openvanilla/OVIMArray.a
+%%OVIMArray%%lib/openvanilla/OVIMArray.la
+%%OVIMArray%%lib/openvanilla/OVIMArray.so
+%%OVIMArray%%lib/openvanilla/OVIMArray/array-shortcode.cin
+%%OVIMArray%%lib/openvanilla/OVIMArray/array-special.cin
+%%OVIMArray%%lib/openvanilla/OVIMArray/array30.cin
+%%OVIMBig5%%lib/openvanilla/OVIMBig5.a
+%%OVIMBig5%%lib/openvanilla/OVIMBig5.la
+%%OVIMBig5%%lib/openvanilla/OVIMBig5.so
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric.a
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric.la
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric.so
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/cj.cin
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/dayi3.cin
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/ehq-symbols.cin
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/pinyin.cin
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/simplex.cin
+%%OVIMGeneric%%lib/openvanilla/OVIMGeneric/wubizixing.cin
+%%OVIMPOJ_Holo%%lib/openvanilla/OVIMPOJ-Holo.a
+%%OVIMPOJ_Holo%%lib/openvanilla/OVIMPOJ-Holo.la
+%%OVIMPOJ_Holo%%lib/openvanilla/OVIMPOJ-Holo.so
+%%OVIMPOJ_Holo%%lib/openvanilla/OVIMPOJ-Holo/poj-holo.cin
+%%OVIMPhonetic%%lib/openvanilla/OVIMPhonetic.a
+%%OVIMPhonetic%%lib/openvanilla/OVIMPhonetic.la
+%%OVIMPhonetic%%lib/openvanilla/OVIMPhonetic.so
+%%OVIMRoman%%lib/openvanilla/OVIMRoman.a
+%%OVIMRoman%%lib/openvanilla/OVIMRoman.la
+%%OVIMRoman%%lib/openvanilla/OVIMRoman.so
+%%OVIMTibetan%%lib/openvanilla/OVIMTibetan.a
+%%OVIMTibetan%%lib/openvanilla/OVIMTibetan.la
+%%OVIMTibetan%%lib/openvanilla/OVIMTibetan.so
+%%OVIMUnicode%%lib/openvanilla/OVIMUnicode.a
+%%OVIMUnicode%%lib/openvanilla/OVIMUnicode.la
+%%OVIMUnicode%%lib/openvanilla/OVIMUnicode.so
+%%OVIMUnicode%%@dirrmtry lib/openvanilla/OVIMUnicode
+%%OVIMTibetan%%@dirrmtry lib/openvanilla/OVIMTibetan
+%%OVIMRoman%%@dirrmtry lib/openvanilla/OVIMRoman
+%%OVIMPhonetic%%@dirrmtry lib/openvanilla/OVIMPhonetic
+%%OVIMPOJ_Holo%%@dirrmtry lib/openvanilla/OVIMPOJ-Holo
+%%OVIMGeneric%%@dirrmtry lib/openvanilla/OVIMGeneric
+%%OVIMBig5%%@dirrmtry lib/openvanilla/OVIMBig5
+%%OVIMArray%%@dirrmtry lib/openvanilla/OVIMArray
+@dirrmtry lib/openvanilla