Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 435376
Collapse All | Expand All

(-)/usr/portage/dev-java/fop/fop-0.95.ebuild (-5 / +5 lines)
Lines 6-12 Link Here
6
#       be built as it needs forrest which we do not have
6
#       be built as it needs forrest which we do not have
7
# TODO: package and use optional dependency jeuclid
7
# TODO: package and use optional dependency jeuclid
8
8
9
EAPI=2
9
EAPI=4
10
JAVA_PKG_IUSE="doc examples source"
10
JAVA_PKG_IUSE="doc examples source"
11
WANT_ANT_TASKS="ant-trax"
11
WANT_ANT_TASKS="ant-trax"
12
12
Lines 19-25 Link Here
19
SLOT="0"
19
SLOT="0"
20
# doesn't work with java.awt.headless
20
# doesn't work with java.awt.headless
21
RESTRICT="test"
21
RESTRICT="test"
22
KEYWORDS="amd64 ppc ppc64 x86"
22
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
23
IUSE="hyphenation jai jimi"
23
IUSE="hyphenation jai jimi"
24
24
25
COMMON_DEPEND="
25
COMMON_DEPEND="
Lines 75-81 Link Here
75
src_compile() {
75
src_compile() {
76
	# because I killed the automagic tests; all our JDK's have JCE
76
	# because I killed the automagic tests; all our JDK's have JCE
77
	local af="-Djdk14.present=true -Djce.present=true"
77
	local af="-Djdk14.present=true -Djce.present=true"
78
	use hyphenation && af="${af} -Duser.hyph.dir=/usr/share/offo-hyphenation/hyph/"
78
	use hyphenation && af="${af} -Duser.hyph.dir=${EPREFIX}/usr/share/offo-hyphenation/hyph/"
79
	use jai && af="${af} -Djai.present=true"
79
	use jai && af="${af} -Djai.present=true"
80
	use jimi && af="${af} -Djimi.present=true"
80
	use jimi && af="${af} -Djimi.present=true"
81
81
Lines 95-107 Link Here
95
	if use hyphenation; then
95
	if use hyphenation; then
96
		java-pkg_dojar build/fop-hyph.jar
96
		java-pkg_dojar build/fop-hyph.jar
97
		insinto /usr/share/${PN}/
97
		insinto /usr/share/${PN}/
98
		doins -r hyph || die
98
		doins -r hyph
99
	fi
99
	fi
100
100
101
	# doesn't support everything upstream launcher does...
101
	# doesn't support everything upstream launcher does...
102
	java-pkg_dolauncher ${PN} --main org.apache.fop.cli.Main
102
	java-pkg_dolauncher ${PN} --main org.apache.fop.cli.Main
103
103
104
	dodoc NOTICE README || die
104
	dodoc NOTICE README
105
105
106
	use doc && java-pkg_dojavadoc build/javadocs
106
	use doc && java-pkg_dojavadoc build/javadocs
107
	use examples && java-pkg_doexamples examples/* conf
107
	use examples && java-pkg_doexamples examples/* conf

Return to bug 435376