diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-07-07 01:57:12 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-07-07 01:57:12 +0000 |
commit | 8297fd4674698e0188b6b1ad7d6035ecbd466e7b (patch) | |
tree | 7a0cba1a9c337fe8ae4cf666c8ed9b6c6234f182 /app-i18n/skk-jisyo/skk-jisyo-200707.ebuild | |
parent | Fix typo in the ChangeLog (diff) | |
download | historical-8297fd4674698e0188b6b1ad7d6035ecbd466e7b.tar.gz historical-8297fd4674698e0188b6b1ad7d6035ecbd466e7b.tar.bz2 historical-8297fd4674698e0188b6b1ad7d6035ecbd466e7b.zip |
Version bumped.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-i18n/skk-jisyo/skk-jisyo-200707.ebuild')
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-200707.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-i18n/skk-jisyo/skk-jisyo-200707.ebuild b/app-i18n/skk-jisyo/skk-jisyo-200707.ebuild new file mode 100644 index 000000000000..9851323edc25 --- /dev/null +++ b/app-i18n/skk-jisyo/skk-jisyo-200707.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo/skk-jisyo-200707.ebuild,v 1.1 2007/07/07 01:57:12 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.gz" + +LICENSE="GPL-2 public-domain freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc-macos ~sparc ~x86" +IUSE="cdb" + +DEPEND="sys-apps/gawk + cdb? ( || ( + dev-db/cdb + dev-db/tinycdb + dev-db/freecdb + ) ) + !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() { + 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 +} |