diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild')
-rw-r--r-- | dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild b/dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild new file mode 100644 index 000000000000..e68c0ee10fa8 --- /dev/null +++ b/dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Hyphenation patterns for Apache Fop" +HOMEPAGE="http://offo.sourceforge.net" +SRC_URI="mirror://sourceforge/offo/${PN}_v${PV}.zip" +LICENSE="GPL-2 Apache-2.0 LPPL-1.3b TeX" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="doc" + +RDEPEND="" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}" + +src_compile() { :; } + +src_install() { + dodir /usr/share/${PN}/ + insinto /usr/share/${PN}/ + doins -r hyph + + if use doc; then + dohtml -r images skin i*.html + fi +} + +pkg_postinst() { + elog "This package installs hyphenation files for several languages" + elog "into /usr/share/${PN}/hyph" + elog "Check /usr/share/doc/${PF}/html/licenses.html for each file's license." + elog "To compile the patterns, install dev-java/fop with USE=hyphenation." + elog "Alternatively, use the uncompiled patterns via the <hyphenation-base>" + elog "configuration option. See the documentation for more details." +} |