diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-17 14:34:34 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-12-17 14:34:34 +0000 |
commit | fab1783b2d2576e00d979d62c12cea423257efef (patch) | |
tree | 2f282f92bd0d70907d2b54721aee0be6c0278f0d /app-i18n/skk-jisyo | |
parent | amd64 stable, bug 251285 (diff) | |
download | gentoo-2-fab1783b2d2576e00d979d62c12cea423257efef.tar.gz gentoo-2-fab1783b2d2576e00d979d62c12cea423257efef.tar.bz2 gentoo-2-fab1783b2d2576e00d979d62c12cea423257efef.zip |
Version bumped.
(Portage version: 2.1.6/cvs/Linux 2.6.27-gentoo-r4 x86_64)
Diffstat (limited to 'app-i18n/skk-jisyo')
-rw-r--r-- | app-i18n/skk-jisyo/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-200812.ebuild | 55 | ||||
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-9999.ebuild | 65 |
3 files changed, 128 insertions, 1 deletions
diff --git a/app-i18n/skk-jisyo/ChangeLog b/app-i18n/skk-jisyo/ChangeLog index 9fd64ba434b5..66049f87d03b 100644 --- a/app-i18n/skk-jisyo/ChangeLog +++ b/app-i18n/skk-jisyo/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-i18n/skk-jisyo # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo/ChangeLog,v 1.53 2008/04/05 04:03:31 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo/ChangeLog,v 1.54 2008/12/17 14:34:34 matsuu Exp $ + +*skk-jisyo-200812 (17 Dec 2008) +*skk-jisyo-9999 (17 Dec 2008) + + 17 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> +skk-jisyo-9999.ebuild, + +skk-jisyo-200812.ebuild: + Version bumped. 05 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> -skk-jisyo-200504.ebuild, -skk-jisyo-200507.ebuild: diff --git a/app-i18n/skk-jisyo/skk-jisyo-200812.ebuild b/app-i18n/skk-jisyo/skk-jisyo-200812.ebuild new file mode 100644 index 000000000000..a915fb50007e --- /dev/null +++ b/app-i18n/skk-jisyo/skk-jisyo-200812.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo/skk-jisyo-200812.ebuild,v 1.1 2008/12/17 14:34:34 matsuu Exp $ + +DESCRIPTION="Jisyo (dictionary) files for the SKK Japanese-input software" +HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2 public-domain freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="cdb" + +DEPEND="sys-apps/gawk + cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) + !app-i18n/skk-jisyo-extra + !app-i18n/skk-jisyo-cdb" + +src_unpack() { + unpack ${A} + cd "${S}" + rm SKK-JISYO.wrong.annotated SKK-JISYO.china_taiwan.header + rm SKK-JISYO.noregist SKK-JISYO.not_wrong SKK-JISYO.hukugougo + rm SKK-JISYO.notes SKK-JISYO.requested SKK-JISYO.pubdic+ +} + +src_compile() { + # bug 184457 + unset LANG LC_ALL LC_CTYPE + + for f in SKK-JISYO.* zipcode/SKK-JISYO.* ; do + mv ${f} ${f}.annotated + awk -f "${FILESDIR}"/unannotation.awk ${f}.annotated > $(basename ${f}) || die + if use cdb ; then + awk ' + /^[^;]/ { + s = substr($0, index($0, " ") + 1) + print "+" length($1) "," length(s) ":" $1 "->" s + } + END { + print "" + } + ' $(basename ${f}) | cdbmake $(basename ${f}).cdb "${T}"/$(basename ${f}) || die + fi + rm ${f}.annotated + done +} + +src_install() { + # install dictionaries + insinto /usr/share/skk + doins SKK-JISYO.* || die + + dodoc ChangeLog* READMEs/committers.txt edict_doc.txt +} diff --git a/app-i18n/skk-jisyo/skk-jisyo-9999.ebuild b/app-i18n/skk-jisyo/skk-jisyo-9999.ebuild new file mode 100644 index 000000000000..5362c40f2eb9 --- /dev/null +++ b/app-i18n/skk-jisyo/skk-jisyo-9999.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo/skk-jisyo-9999.ebuild,v 1.1 2008/12/17 14:34:34 matsuu Exp $ + +ECVS_SERVER="openlab.jp:/circus/cvsroot" +ECVS_USER="guest" +ECVS_PASS="guest" +ECVS_MODULE="skk/dic" +inherit cvs + +DESCRIPTION="Jisyo (dictionary) files for the SKK Japanese-input software" +HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html" +#SRC_URI="mirror://gentoo/${P}.tar.bz2" +SRC_URI="" + +LICENSE="GPL-2 public-domain freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="cdb" + +DEPEND="sys-apps/gawk + cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) + !app-i18n/skk-jisyo-extra + !app-i18n/skk-jisyo-cdb" + +S="${WORKDIR}/${ECVS_MODULE}" + +src_unpack() { + cvs_src_unpack + + cd "${S}" + rm SKK-JISYO.wrong.annotated SKK-JISYO.china_taiwan.header + rm SKK-JISYO.noregist SKK-JISYO.not_wrong SKK-JISYO.hukugougo + rm SKK-JISYO.notes SKK-JISYO.requested SKK-JISYO.pubdic+ +} + +src_compile() { + # bug 184457 + unset LANG LC_ALL LC_CTYPE + + for f in SKK-JISYO.* zipcode/SKK-JISYO.* ; do + mv ${f} ${f}.annotated + awk -f "${FILESDIR}"/unannotation.awk ${f}.annotated > $(basename ${f}) || die + if use cdb ; then + awk ' + /^[^;]/ { + s = substr($0, index($0, " ") + 1) + print "+" length($1) "," length(s) ":" $1 "->" s + } + END { + print "" + } + ' $(basename ${f}) | cdbmake $(basename ${f}).cdb "${T}"/$(basename ${f}) || die + fi + rm ${f}.annotated + done +} + +src_install() { + # install dictionaries + insinto /usr/share/skk + doins SKK-JISYO.* || die + + dodoc ChangeLog* READMEs/committers.txt edict_doc.txt +} |