summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-20 22:36:18 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-20 22:36:55 +0900
commit6a57d95b68bbac373581077cdd5d170f46727adc (patch)
tree8b5004df88f8c72821090c2dd851a0f5f2767554 /app-i18n/kakasi/kakasi-2.3.4-r2.ebuild
parentapp-i18n/kakasi: update to EAPI 6 (diff)
downloadgentoo-6a57d95b68bbac373581077cdd5d170f46727adc.tar.gz
gentoo-6a57d95b68bbac373581077cdd5d170f46727adc.tar.bz2
gentoo-6a57d95b68bbac373581077cdd5d170f46727adc.zip
app-i18n/kakasi: fix man path
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-i18n/kakasi/kakasi-2.3.4-r2.ebuild')
-rw-r--r--app-i18n/kakasi/kakasi-2.3.4-r2.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-i18n/kakasi/kakasi-2.3.4-r2.ebuild b/app-i18n/kakasi/kakasi-2.3.4-r2.ebuild
new file mode 100644
index 000000000000..513fa57bcaae
--- /dev/null
+++ b/app-i18n/kakasi/kakasi-2.3.4-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Converts Japanese text between kanji, kana, and romaji"
+HOMEPAGE="http://kakasi.namazu.org/"
+SRC_URI="http://${PN}.namazu.org/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE=""
+
+DOCS=( AUTHORS ChangeLog {,O}NEWS README{,-ja} THANKS TODO doc/{ChangeLog.lib,JISYO,README.lib} )
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ einstalldocs
+
+ iconv -f EUC-JP -t UTF-8 doc/${PN}.1 > doc/${PN}.ja.1
+ doman doc/${PN}.ja.1
+}