diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-03-07 03:00:16 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-03-07 03:00:16 +0000 |
commit | c0f0c7941646577df8237be4273a618fc93b4bb2 (patch) | |
tree | 974bc8f93360b1d6c21e70a07f15e40060b0e414 /textproc/scim-table-imengine | |
parent | 99806f08b4eb0ef93544b3b6199b564faa9dab12 (diff) | |
download | ports-c0f0c7941646577df8237be4273a618fc93b4bb2.tar.gz ports-c0f0c7941646577df8237be4273a618fc93b4bb2.zip |
Notes
Diffstat (limited to 'textproc/scim-table-imengine')
-rw-r--r-- | textproc/scim-table-imengine/Makefile | 44 | ||||
-rw-r--r-- | textproc/scim-table-imengine/distinfo | 2 | ||||
-rw-r--r-- | textproc/scim-table-imengine/files/extrapatch-4-stable-src-Makefile.in | 11 | ||||
-rw-r--r-- | textproc/scim-table-imengine/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | textproc/scim-table-imengine/files/patch-icons-Makefile.in | 37 | ||||
-rw-r--r-- | textproc/scim-table-imengine/files/scim-make-table.sh | 18 | ||||
-rw-r--r-- | textproc/scim-table-imengine/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/scim-table-imengine/pkg-message | 23 | ||||
-rw-r--r-- | textproc/scim-table-imengine/pkg-plist | 12 |
9 files changed, 165 insertions, 0 deletions
diff --git a/textproc/scim-table-imengine/Makefile b/textproc/scim-table-imengine/Makefile new file mode 100644 index 000000000000..5eeeeeb0f7f4 --- /dev/null +++ b/textproc/scim-table-imengine/Makefile @@ -0,0 +1,44 @@ +# 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.1 +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 + +LIB_DEPENDS= scim-1.0.6:${PORTSDIR}/textproc/scim + +USE_X_PREFIX= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LIBTOOL_VER= 15 +USE_GNOME= intlhack + +.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" + +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 000000000000..66a76343b203 --- /dev/null +++ b/textproc/scim-table-imengine/distinfo @@ -0,0 +1,2 @@ +MD5 (scim-tables-0.5.1.tar.gz) = 3249d0fbdb731c2003bea093dc43f19c +SIZE (scim-tables-0.5.1.tar.gz) = 4718906 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 000000000000..e5a98ac222f9 --- /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 000000000000..0d046e780093 --- /dev/null +++ b/textproc/scim-table-imengine/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Tue Mar 1 14:02:56 2005 ++++ Makefile.in Tue Mar 1 14:03:08 2005 +@@ -247,7 +247,7 @@ + + EXTRA_DIST = config.rpath mkinstalldirs bootstrap scim-tables.spec + AUTOMAKE_OPTIONS = gnu +-SUBDIRS = intl m4 src zh ja ko additional icons po ++SUBDIRS = intl m4 src icons po + 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 000000000000..567be752d4f5 --- /dev/null +++ b/textproc/scim-table-imengine/files/patch-icons-Makefile.in @@ -0,0 +1,37 @@ +--- icons/Makefile.in.orig Tue Mar 1 14:02:22 2005 ++++ icons/Makefile.in Tue Mar 1 14:02:45 2005 +@@ -222,33 +222,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + MAINTAINERCLEANFILES = Makefile.in +-INST_ICONS = table.png \ +- Amharic.png \ +- Arabic.png \ +- Array30.png \ +- CangJie.png \ +- CangJie3.png \ +- Cantonese.png \ +- CantonHK.png \ +- Quick.png \ +- Stroke5.png \ +- Dayi.png \ +- Erbi.png \ +- Erbi-QS.png \ +- EZ.png \ +- Hangul.png \ +- Hanja.png \ +- HIRAGANA.png \ +- Jyutping.png \ +- KATAKANA.png \ +- Nippon.png \ +- Simplex.png \ +- Viqr.png \ +- Wubi.png \ +- Yawerty.png \ +- ZhuYin.png \ +- Ziranma.png +- ++INST_ICONS = table.png + EXTRA_DIST = $(INST_ICONS) + icondir = $(SCIM_ICONDIR) + icon_DATA = $(INST_ICONS) diff --git a/textproc/scim-table-imengine/files/scim-make-table.sh b/textproc/scim-table-imengine/files/scim-make-table.sh new file mode 100644 index 000000000000..5eea729c01b5 --- /dev/null +++ b/textproc/scim-table-imengine/files/scim-make-table.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +cat <<EOF +************************************************************ +** N O T E ** +************************************************************ + +This is NOT a working scim-make-table. Due to the limitation +on your system, scim-make-table cannot be compiled. So you +cannot build binary im tables on this system. + +However, the scim-tables im engine is available, i.e. You +still have the chance to use table-based input methods for +scim. You can let someone build a tgz package for +{zh,ja,ko}-scim-tables port on a 5.x system and then install +it on your system. +EOF +exit 2 diff --git a/textproc/scim-table-imengine/pkg-descr b/textproc/scim-table-imengine/pkg-descr new file mode 100644 index 000000000000..7c82ffc8337e --- /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 000000000000..623134d7ff0b --- /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 000000000000..6f9021b29aba --- /dev/null +++ b/textproc/scim-table-imengine/pkg-plist @@ -0,0 +1,12 @@ +bin/scim-make-table +lib/scim-1.0/IMEngine/table.so +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 +@unexec rmdir %D/lib/scim-1.0/IMEngine 2>/dev/null || true +@unexec rmdir %D/lib/scim-1.0/SetupUI 2>/dev/null || true |