diff options
Diffstat (limited to 'dev-java/offo-hyphenation')
| -rw-r--r-- | dev-java/offo-hyphenation/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/offo-hyphenation/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-java/offo-hyphenation/offo-hyphenation-2.0.ebuild | 38 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/offo-hyphenation/Manifest b/dev-java/offo-hyphenation/Manifest new file mode 100644 index 000000000000..22b31f2601f9 --- /dev/null +++ b/dev-java/offo-hyphenation/Manifest @@ -0,0 +1 @@ +DIST offo-hyphenation_v2.0.zip 858046 BLAKE2B 193ef92fd55a4c5e8f840d29f96417a725e678e5bd03473ff22a116894b94a40aee8b12ef7a0534020746f21db8304a2840ce09417f2182259c78a03109e63ad SHA512 8a907a38dcb54ef1578973293efa2fcd771e3c77faedd537381f04f6f543b3f04ff8b8f96fb692274e9fe9cbdb2d3d8e5c7b29caae412271d9d8c023c079421b diff --git a/dev-java/offo-hyphenation/metadata.xml b/dev-java/offo-hyphenation/metadata.xml new file mode 100644 index 000000000000..04298d201c59 --- /dev/null +++ b/dev-java/offo-hyphenation/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">offo</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> 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." +} |
