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

(-)/usr/portage/dev-java/batik/batik-1.7-r2.ebuild (-4 / +4 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.7-r2.ebuild,v 1.8 2011/12/31 16:38:20 sera Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.7-r2.ebuild,v 1.8 2011/12/31 16:38:20 sera Exp $
4
4
5
EAPI=2
5
EAPI=4
6
JAVA_PKG_IUSE="doc"
6
JAVA_PKG_IUSE="doc"
7
inherit java-pkg-2 java-ant-2 eutils
7
inherit java-pkg-2 java-ant-2 eutils
8
8
Lines 12-18 Link Here
12
12
13
LICENSE="Apache-2.0"
13
LICENSE="Apache-2.0"
14
SLOT="1.7"
14
SLOT="1.7"
15
KEYWORDS="amd64 ppc ppc64 x86"
15
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
16
IUSE="doc python tcl"
16
IUSE="doc python tcl"
17
17
18
CDEPEND="dev-java/xalan:0
18
CDEPEND="dev-java/xalan:0
Lines 76-86 Link Here
76
	done
76
	done
77
77
78
	cd "${S}"
78
	cd "${S}"
79
	dodoc README CHANGES || die "dodoc failed"
79
	dodoc README CHANGES
80
	use doc && java-pkg_dojavadoc ${P}/docs/javadoc
80
	use doc && java-pkg_dojavadoc ${P}/docs/javadoc
81
81
82
	# pwd fixes bug #116976
82
	# pwd fixes bug #116976
83
	java-pkg_dolauncher batik-${SLOT} --pwd "/usr/share/${PN}-${SLOT}/" \
83
	java-pkg_dolauncher batik-${SLOT} --pwd "${EPREFIX}/usr/share/${PN}-${SLOT}/" \
84
		--main org.apache.batik.apps.svgbrowser.Main
84
		--main org.apache.batik.apps.svgbrowser.Main
85
85
86
	# To find these lsjar batik-${SLOT} | grep Main.class
86
	# To find these lsjar batik-${SLOT} | grep Main.class

Return to bug 438898