summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 12:05:22 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 12:05:22 +0800
commit5f66a3f6e368bd02ab17e67193cf240ba0a53e11 (patch)
treecd5a5a23f87c4a2ed28fd16694513f9fe2fccf1e /textproc
parentb9ed7be0b5f37eda61687e3f1686b3735a7767e0 (diff)
downloadmarcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar.gz
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar.bz2
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar.lz
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar.xz
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.tar.zst
marcuscom-ports-5f66a3f6e368bd02ab17e67193cf240ba0a53e11.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7393 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r--textproc/scim-table-imengine/Makefile73
-rw-r--r--textproc/scim-table-imengine/distinfo3
-rw-r--r--textproc/scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in11
-rw-r--r--textproc/scim-table-imengine/files/patch-Makefile.in22
-rw-r--r--textproc/scim-table-imengine/files/patch-icons-Makefile.in58
-rw-r--r--textproc/scim-table-imengine/files/patch-skim-setupui-generictableui.ui19
-rw-r--r--textproc/scim-table-imengine/pkg-descr7
-rw-r--r--textproc/scim-table-imengine/pkg-message23
-rw-r--r--textproc/scim-table-imengine/pkg-plist38
9 files changed, 254 insertions, 0 deletions
diff --git a/textproc/scim-table-imengine/Makefile b/textproc/scim-table-imengine/Makefile
new file mode 100644
index 000000000..4440a3aaa
--- /dev/null
+++ b/textproc/scim-table-imengine/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: scim-table-imengine
+# Date created: 01 March 2005
+# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scim-table-imengine
+PORTVERSION= 0.5.6
+PORTREVISION= 2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=scim
+DISTNAME= scim-tables-${PORTVERSION}
+
+MAINTAINER= gaoj@cpsc.ucalgary.ca
+COMMENT= SCIM table based input method engine
+
+BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_GNOME= intlhack
+USE_GETTEXT= yes
+
+MAN1= scim-make-table.1
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500035
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-4-stable-src-Makefile.in
+.endif
+
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+
+PLIST_SUB= SKIM="@comment "
+
+pre-fetch:
+ @${ECHO_MSG} Define WITH_SKIM to enable skim support
+
+.if exists(${LOCALBASE}/bin/skim)
+WITH_SKIM= yes
+pre-patch:
+ @${ECHO_MSG} Skim is detected, support enabled.
+.endif
+
+.if defined(WITH_SKIM)
+BUILD_DEPENDS+= skim:${PORTSDIR}/textproc/skim
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+PLIST_SUB= SKIM=""
+USE_AUTOTOOLS= libtool:15
+post-patch:
+ @${REINPLACE_CMD} -e "/^DIST_SUBDIRS/s/$$/ skim/" \
+ -e "/^@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR =/s/$$/ skim/" \
+ ${WRKSRC}/Makefile.in
+post-configure:
+ ${REINPLACE_CMD} \
+ -e 's,$$(top_builddir)/libtool --silent,${LIBTOOL},' \
+ ${WRKSRC}/skim/Makefile ${WRKSRC}/skim/setupui/Makefile
+.endif
+
+post-install:
+.if ${OSVERSION} < 500035
+ @${INSTALL_SCRIPT} ${FILESDIR}/scim-make-table.sh ${PREFIX}/bin/scim-make-table
+.endif
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+ @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
+ @${ECHO}
+
+.include <bsd.port.post.mk>
diff --git a/textproc/scim-table-imengine/distinfo b/textproc/scim-table-imengine/distinfo
new file mode 100644
index 000000000..e89a9a159
--- /dev/null
+++ b/textproc/scim-table-imengine/distinfo
@@ -0,0 +1,3 @@
+MD5 (scim-tables-0.5.6.tar.gz) = ff8d59e8f3dedb7dd7c6d87c8fc408db
+SHA256 (scim-tables-0.5.6.tar.gz) = 408cddeed4f5f9105f61822388fcd8947b1f2ba2d66bdabfa2be4e4f1d9393d0
+SIZE (scim-tables-0.5.6.tar.gz) = 7058913
diff --git a/textproc/scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in b/textproc/scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in
new file mode 100644
index 000000000..e5a98ac22
--- /dev/null
+++ b/textproc/scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sun Feb 27 07:54:20 2005
++++ src/Makefile.in Tue Mar 1 16:51:10 2005
+@@ -40,7 +40,7 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-bin_PROGRAMS = scim-make-table$(EXEEXT)
++bin_PROGRAMS =
+ subdir = src
+ DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
diff --git a/textproc/scim-table-imengine/files/patch-Makefile.in b/textproc/scim-table-imengine/files/patch-Makefile.in
new file mode 100644
index 000000000..65c62d05c
--- /dev/null
+++ b/textproc/scim-table-imengine/files/patch-Makefile.in
@@ -0,0 +1,22 @@
+--- Makefile.in.orig Fri Feb 10 12:04:25 2006
++++ Makefile.in Fri Feb 10 12:09:21 2006
+@@ -75,7 +75,7 @@
+ uninstall-recursive
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = docs intl icons m4 po src tables skim
++DIST_SUBDIRS = docs intl icons m4 po src skim
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -259,8 +259,8 @@
+
+ EXTRA_DIST = config.rpath mkinstalldirs bootstrap scim-tables.spec
+ AUTOMAKE_OPTIONS = gnu
+-@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR = skim
+-SUBDIRS = docs intl icons m4 po src tables $(SKIM_SUBDIR)
++@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR =
++SUBDIRS = docs intl icons m4 po src $(SKIM_SUBDIR)
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure $(AUX_DIST)
+ CLEANFILES = *.bak
+ ACLOCAL_AMFLAGS = -I m4
diff --git a/textproc/scim-table-imengine/files/patch-icons-Makefile.in b/textproc/scim-table-imengine/files/patch-icons-Makefile.in
new file mode 100644
index 000000000..55e8dca7c
--- /dev/null
+++ b/textproc/scim-table-imengine/files/patch-icons-Makefile.in
@@ -0,0 +1,58 @@
+--- icons/Makefile.in.orig Thu Jan 12 02:00:26 2006
++++ icons/Makefile.in Fri Feb 10 13:34:59 2006
+@@ -234,54 +234,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ MAINTAINERCLEANFILES = Makefile.in
+-INST_ICONS = table.png \
+- Amharic.png \
+- Arabic.png \
+- Array30.png \
+- Bengali-inscript.png \
+- Bengali-probhat.png \
+- CangJie.png \
+- CangJie3.png \
+- Cantonese.png \
+- CantonHK.png \
+- CNS11643.png \
+- Quick.png \
+- Stroke5.png \
+- Dayi.png \
+- Erbi.png \
+- Erbi-QS.png \
+- EZ.png \
+- Gujarati-inscript.png \
+- Gujarati-phonetic.png \
+- Hangul.png \
+- Hanja.png \
+- Hindi-inscript.png \
+- Hindi-phonetic.png \
+- HIRAGANA.png \
+- Jyutping.png \
+- KATAKANA.png \
+- Kannada-inscript.png \
+- Kannada-kgp.png \
+- LaTeX.png \
+- Malayalam-inscript.png \
+- Nepali.png \
+- Nippon.png \
+- Punjabi-inscript.png \
+- Punjabi-jhelum.png \
+- Punjabi-phonetic.png \
+- Simplex.png \
+- Tamil-inscript.png \
+- Tamil-phonetic.png \
+- Telugu-inscript.png \
+- Thai.png \
+- Viqr.png \
+- Wu.png \
+- Wubi.png \
+- Yawerty.png \
+- ZhuYin.png \
+- Ziranma.png \
+- IPA-X-SAMPA.png
+-
++INST_ICONS = table.png
+ EXTRA_DIST = $(INST_ICONS)
+ icondir = $(SCIM_ICONDIR)
+ icon_DATA = $(INST_ICONS)
diff --git a/textproc/scim-table-imengine/files/patch-skim-setupui-generictableui.ui b/textproc/scim-table-imengine/files/patch-skim-setupui-generictableui.ui
new file mode 100644
index 000000000..7348bd363
--- /dev/null
+++ b/textproc/scim-table-imengine/files/patch-skim-setupui-generictableui.ui
@@ -0,0 +1,19 @@
+--- skim/setupui/generictableui.ui~ Wed Mar 23 11:53:02 2005
++++ skim/setupui/generictableui.ui Fri Feb 10 13:45:14 2006
+@@ -336,16 +336,4 @@
+ </connection>
+ </connections>
+ <layoutdefaults spacing="6" margin="11"/>
+-<includehints>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+- <includehint>skimeditshortcutbutton.h</includehint>
+- <includehint>klineedit.h</includehint>
+-</includehints>
+ </UI>
diff --git a/textproc/scim-table-imengine/pkg-descr b/textproc/scim-table-imengine/pkg-descr
new file mode 100644
index 000000000..7c82ffc83
--- /dev/null
+++ b/textproc/scim-table-imengine/pkg-descr
@@ -0,0 +1,7 @@
+Smart Common Input Method platform, in short SCIM, is a development platform to
+make Input Method developers live easier. It has very clear architecture and
+very simple programming interface.
+
+This is the im engine for table based input methods.
+
+WWW: http://www.scim-im.org
diff --git a/textproc/scim-table-imengine/pkg-message b/textproc/scim-table-imengine/pkg-message
new file mode 100644
index 000000000..623134d7f
--- /dev/null
+++ b/textproc/scim-table-imengine/pkg-message
@@ -0,0 +1,23 @@
+------------------------------------------------------------------------------
+The installation of SCIM table-based im engine has finished. Please note this
+port is only an engine for table-based input methods and does not contain any
+actual input methods.
+
+If you are using a 4.x system, please note there is no working scim-make-table
+command available in this port. Run `scim-make-table' command to get more
+information.
+
+The following ports can utilize this table-based imengine:
+
+ Chinese:
+ chinese/scim-tables Array30, CangJie, Cantonese, Dayi, Erbi, EZ, Jyutping,
+ Simplex, Stroke, Wubi, Ziranma, ZhuYin
+ Korean:
+ korean/scim-tables Hangul, Hanja
+
+ Japanese:
+ japanese/scim-tables HIRAGANA, KATAKANA, Nippon
+
+As a common rule, set XMODIFIERS to '@im=SCIM' and use `scim -d' to start the
+scim daemon.
+------------------------------------------------------------------------------
diff --git a/textproc/scim-table-imengine/pkg-plist b/textproc/scim-table-imengine/pkg-plist
new file mode 100644
index 000000000..af0821585
--- /dev/null
+++ b/textproc/scim-table-imengine/pkg-plist
@@ -0,0 +1,38 @@
+bin/scim-make-table
+lib/scim-1.0/IMEngine/table.a
+lib/scim-1.0/IMEngine/table.la
+lib/scim-1.0/IMEngine/table.so
+lib/scim-1.0/SetupUI/table-imengine-setup.a
+lib/scim-1.0/SetupUI/table-imengine-setup.la
+lib/scim-1.0/SetupUI/table-imengine-setup.so
+share/scim/icons/table.png
+share/locale/zh_CN/LC_MESSAGES/scim-tables.mo
+share/locale/zh_TW/LC_MESSAGES/scim-tables.mo
+share/locale/ja/LC_MESSAGES/scim-tables.mo
+share/locale/ko/LC_MESSAGES/scim-tables.mo
+share/locale/de/LC_MESSAGES/scim-tables.mo
+share/locale/fr/LC_MESSAGES/scim-tables.mo
+share/locale/it/LC_MESSAGES/scim-tables.mo
+share/locale/pa/LC_MESSAGES/scim-tables.mo
+%%SKIM%%@cwd %%LOCALBASE%%
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.a
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.la
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.so
+%%SKIM%%share/services/skimconfiguredialog/skimplugin_scim_table_config.desktop
+%%SKIM%%share/config.kcfg/generictable.kcfg
+%%SKIM%%share/locale/zh_CN/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/zh_TW/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/de/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/fr/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/ja/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/it/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/ko/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/locale/pa/LC_MESSAGES/skim-scim-tables.mo
+%%SKIM%%share/apps/skim/pics/scim-tables.png
+%%SKIM%%@dirrmtry share/apps/skim/pics
+%%SKIM%%@dirrmtry share/apps/skim
+%%SKIM%%@dirrmtry share/config.kcfg
+%%SKIM%%@dirrmtry share/services/skimconfiguredialog
+%%SKIM%%@cwd %%X11BASE%%
+@dirrmtry lib/scim-1.0/IMEngine
+@dirrmtry lib/scim-1.0/SetupUI