diff options
author | miwi <miwi@FreeBSD.org> | 2009-01-11 19:13:34 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-01-11 19:13:34 +0800 |
commit | b925769fa25a083c68146356957c77f762ae6a13 (patch) | |
tree | 7d857ee328f8e1c8be22376ad8ae0ac4f75c1624 /textproc | |
parent | 404b2594cd570350e019b5370c75971651949964 (diff) | |
download | freebsd-ports-gnome-b925769fa25a083c68146356957c77f762ae6a13.tar.gz freebsd-ports-gnome-b925769fa25a083c68146356957c77f762ae6a13.tar.zst freebsd-ports-gnome-b925769fa25a083c68146356957c77f762ae6a13.zip |
This port installs the user-contributed input methods for the m17n library
(the official ones are installed through devel/m17n-lib). It currently
supports Punjabi, Sinhala, Telugu, Nepali, Russian, Assamese, Bengali,
Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya and Vietnamese layouts
with various sub-variants.
The port also provides the tbl2mim.awk script for conversion of keyboard
files used by textproc/scim-table-imengine into SCIM-independent .mim format
(usable by m17n library).
WWW: http://www.m17n.org/
PR: ports/127894
Submitted by: Nikola Lecic <nikola.lecic at anthesphoria.net>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/m17n-contrib/Makefile | 34 | ||||
-rw-r--r-- | textproc/m17n-contrib/distinfo | 3 | ||||
-rw-r--r-- | textproc/m17n-contrib/files/patch-tbl2mim.awk | 16 | ||||
-rw-r--r-- | textproc/m17n-contrib/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/m17n-contrib/pkg-plist | 85 |
6 files changed, 151 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 15cfc421efe7..043b405b4ad3 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -318,6 +318,7 @@ SUBDIR += ltxml SUBDIR += lucene SUBDIR += lv-aspell + SUBDIR += m17n-contrib SUBDIR += makefaq SUBDIR += makepatch SUBDIR += maketeidtd diff --git a/textproc/m17n-contrib/Makefile b/textproc/m17n-contrib/Makefile new file mode 100644 index 000000000000..12312613541f --- /dev/null +++ b/textproc/m17n-contrib/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: m17n-contrib +# Date created: 5 October 2008 +# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net> +# +# $FreeBSD$ +# + +PORTNAME= m17n-contrib +PORTVERSION= 1.1.7 +CATEGORIES= textproc +MASTER_SITES= http://www.m17n.org/m17n-lib-download/ \ + http://anthesphoria.net/FreeBSD/ports/distfiles/ + +MAINTAINER= nikola.lecic@anthesphoria.net +COMMENT= User-contributed input methods for the m17n library + +BUILD_DEPENDS= m17n-db>=1.5.2:${PORTSDIR}/devel/m17n-db + +USE_GMAKE= yes +GNU_CONFIGURE= yes + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|^m17n_scriptdir = $${m17ndir}/scripts|m17n_scriptdir = ${LOCALBASE}/bin|'\ + ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/textproc/m17n-contrib/distinfo b/textproc/m17n-contrib/distinfo new file mode 100644 index 000000000000..ecac3ff025fa --- /dev/null +++ b/textproc/m17n-contrib/distinfo @@ -0,0 +1,3 @@ +MD5 (m17n-contrib-1.1.7.tar.gz) = eff285fa2beb739b004c4661abc3eb0b +SHA256 (m17n-contrib-1.1.7.tar.gz) = 3592aecbf5d65e28c4997da12ed2afd5f1397b889819b4347f2b10706712fb33 +SIZE (m17n-contrib-1.1.7.tar.gz) = 522515 diff --git a/textproc/m17n-contrib/files/patch-tbl2mim.awk b/textproc/m17n-contrib/files/patch-tbl2mim.awk new file mode 100644 index 000000000000..666550fc4a8b --- /dev/null +++ b/textproc/m17n-contrib/files/patch-tbl2mim.awk @@ -0,0 +1,16 @@ +--- tbl2mim.awk.orig 2006-12-08 03:01:57.000000000 +0100 ++++ tbl2mim.awk 2008-03-30 19:20:34.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/gawk ++#!/usr/bin/awk + # Copyright (C) 2006 + # National Institute of Advanced Industrial Science and Technology (AIST) + # Registration Number H15PRO112 +@@ -25,6 +25,7 @@ + begin_table = 0; + } + ++/^ *###/ { next; } + /^ICON *=/ { ICON = " \""$3"\""; next; } + /^NAME *=/ { NAME = tolower($3); next; } + /^LANGUAGES *=/ { LANG = $3; next; } diff --git a/textproc/m17n-contrib/pkg-descr b/textproc/m17n-contrib/pkg-descr new file mode 100644 index 000000000000..54960042de64 --- /dev/null +++ b/textproc/m17n-contrib/pkg-descr @@ -0,0 +1,12 @@ +This port installs the user-contributed input methods for the m17n library +(the official ones are installed through devel/m17n-lib). It currently +supports Punjabi, Sinhala, Telugu, Nepali, Russian, Assamese, Bengali, +Gujarati, Hindi, Kannada, Malayalam, Marathi, Oriya and Vietnamese layouts +with various sub-variants. + +The port also provides the tbl2mim.awk script for conversion of keyboard +files used by textproc/scim-table-imengine into SCIM-independent .mim format +(usable by m17n library). + +WWW: http://www.m17n.org/ + http://www.m17n.org/m17n-lib-en/contribution.html diff --git a/textproc/m17n-contrib/pkg-plist b/textproc/m17n-contrib/pkg-plist new file mode 100644 index 000000000000..effd22520609 --- /dev/null +++ b/textproc/m17n-contrib/pkg-plist @@ -0,0 +1,85 @@ +%%NLS%%share/locale/eo/LC_MESSAGES/m17n-contrib.mo +bin/tbl2mim.awk +share/m17n/as-inscript.mim +share/m17n/as-phonetic.mim +share/m17n/bn-inscript.mim +share/m17n/bn-probhat.mim +share/m17n/eo-h-f.mim +share/m17n/eo-h.mim +share/m17n/eo-plena.mim +share/m17n/eo-q.mim +share/m17n/eo-x.mim +share/m17n/gu-inscript.mim +share/m17n/gu-phonetic.mim +share/m17n/hi-inscript.mim +share/m17n/hi-phonetic.mim +share/m17n/hi-remington.mim +share/m17n/kn-inscript.mim +share/m17n/kn-kgp.mim +share/m17n/ml-inscript.mim +share/m17n/ml-mozhi.mim +share/m17n/ml-swanalekha.mim +share/m17n/mr-inscript.mim +share/m17n/ne-rom.mim +share/m17n/mr-itrans.mim +share/m17n/mr-phonetic.mim +share/m17n/ne-trad.mim +share/m17n/or-inscript.mim +share/m17n/or-phonetic.mim +share/m17n/pa-inscript.mim +share/m17n/pa-jhelum.mim +share/m17n/pa-phonetic.mim +share/m17n/ru-translit.mim +share/m17n/si-phonetic-dynamic.mim +share/m17n/si-phonetic-static.mim +share/m17n/si-trans.mim +share/m17n/ta-inscript.mim +share/m17n/ta-phonetic.mim +share/m17n/ta-tamil99.mim +share/m17n/ta-typewriter.mim +share/m17n/tai-sonla.mim +share/m17n/te-apple.mim +share/m17n/te-inscript.mim +share/m17n/te-pothana.mim +share/m17n/icons/as-inscript.png +share/m17n/icons/as-phonetic.png +share/m17n/icons/bn-inscript.png +share/m17n/icons/bn-probhat.png +share/m17n/icons/eo-h-fundamente.png +share/m17n/icons/eo-h-sistemo.png +share/m17n/icons/eo-plena.png +share/m17n/icons/eo-q-sistemo.png +share/m17n/icons/eo-x-sistemo.png +share/m17n/icons/gu-inscript.png +share/m17n/icons/gu-phonetic.png +share/m17n/icons/hi-inscript.png +share/m17n/icons/hi-phonetic.png +share/m17n/icons/hi-remington.png +share/m17n/icons/kn-inscript.png +share/m17n/icons/kn-kgp.png +share/m17n/icons/ml-inscript.png +share/m17n/icons/ml-mozhi.png +share/m17n/icons/mr-inscript.png +share/m17n/icons/ne-rom.png +share/m17n/icons/ne-trad.png +share/m17n/icons/or-inscript.png +share/m17n/icons/pa-inscript.png +share/m17n/icons/pa-jhelum.png +share/m17n/icons/pa-phonetic.png +share/m17n/icons/ta-inscript.png +share/m17n/icons/ta-phonetic.png +share/m17n/icons/ta-phonetic.png +share/m17n/icons/ta-tamil99.png +share/m17n/icons/ta-typewriter.png +share/m17n/icons/te-inscript.png +share/m17n/icons/te-pothana.png +share/m17n/icons/ur-phonetic.png +share/m17n/icons/vi-nom-vni.png +share/m17n/icons/vi-nom.png +share/m17n/te-rts.mim +share/m17n/ur-phonetic.mim +share/m17n/vi-han.mim +share/m17n/vi-nom-vni.mim +share/m17n/vi-nom.mim +@dirrmtry share/m17n/icons +@dirrmtry share/m17n |