mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/anthy-ss: move to app-i18n/anthy
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST anthy-9026.tar.gz 4064170 SHA256 1a4c2736b531dd088f1d8f22a67a87cfc29de23402c72e70d9e5bb160b448685 SHA512 00b99d5c2e2d91b21e86fc2fb3c46490f97aa20f2d91afb2ddbe59606c0b01da9199088a92119930d0f5b8e266f3314be3cceab3562b58684692090259bc2f79 WHIRLPOOL 6587d9914eede00ca541764a9ead6befd014f9c3bc72dc28e855bc1e50a4da0c616051d7e01c96e3d9ad6d34ab074017a64db41d8ee58d314a04ab2c3de74830
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit elisp-common eutils
|
||||
|
||||
IUSE="emacs"
|
||||
|
||||
MY_P="${P/-ss/}"
|
||||
|
||||
DESCRIPTION="Anthy -- free and secure Japanese input system"
|
||||
HOMEPAGE="http://anthy.sourceforge.jp/"
|
||||
SRC_URI="mirror://sourceforge.jp/anthy/25984/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="!app-i18n/anthy
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local cannadicdir=/var/lib/canna/dic/canna
|
||||
|
||||
if has_version 'app-dicts/canna-2ch'; then
|
||||
einfo "Adding nichan.ctd to anthy.dic."
|
||||
sed -i /placename/a"read ${cannadicdir}/nichan.ctd" \
|
||||
mkworddic/dict.args.in
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
local myconf
|
||||
|
||||
use emacs || myconf="EMACS=no"
|
||||
|
||||
econf ${myconf} || die
|
||||
emake || die
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
use emacs && elisp-site-file-install "${FILESDIR}"/50anthy-gentoo.el
|
||||
|
||||
dodoc AUTHORS DIARY NEWS README ChangeLog
|
||||
|
||||
docinto doc
|
||||
rm doc/Makefile*
|
||||
dodoc doc/*
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
;;; anthy-ss site-lisp configuration
|
||||
|
||||
(set-language-info "Japanese" 'input-method "japanese-anthy")
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hattya@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Anthy is a free and secure Japanese kana-kanji server. This ebuild
|
||||
includes cannadic as a server-side dictionary, so you don't need any
|
||||
extra package to run it. You can use anthy with app-i18n/jmode (XIM),
|
||||
app-i18n/uim(XIM, GTK+ immodule) and emacs (to enable Anthy support
|
||||
for emacs, build this package with emacs USE flag).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge-jp">anthy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -40,3 +40,4 @@ move dev-texlive/texlive-langarmenian dev-texlive/texlive-langeuropean
|
||||
move dev-texlive/texlive-langfinnish dev-texlive/texlive-langeuropean
|
||||
move dev-texlive/texlive-langlithuanian dev-texlive/texlive-langeuropean
|
||||
move dev-texlive/texlive-htmlxml dev-texlive/texlive-humanities
|
||||
move app-i18n/anthy-ss app-i18n/anthy
|
||||
|
||||
Reference in New Issue
Block a user