summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-10-19 08:24:29 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-10-19 08:24:29 +0000
commit1861aa304c988b61eab045bbc9255da472fb29ed (patch)
tree2a2c9d294095cb682e7d593f6ca6ad815f7931d1 /dev-java
parentversion bump (diff)
downloadgentoo-2-1861aa304c988b61eab045bbc9255da472fb29ed.tar.gz
gentoo-2-1861aa304c988b61eab045bbc9255da472fb29ed.tar.bz2
gentoo-2-1861aa304c988b61eab045bbc9255da472fb29ed.zip
added prefix support (bug #435572)
(Portage version: 2.2.0_alpha141/cvs/Linux i686, signed Manifest commit with key C2000586)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jaxp/ChangeLog6
-rw-r--r--dev-java/jaxp/jaxp-1.4-r1.ebuild12
2 files changed, 10 insertions, 8 deletions
diff --git a/dev-java/jaxp/ChangeLog b/dev-java/jaxp/ChangeLog
index 3d0f6e2f3f12..d533999881fa 100644
--- a/dev-java/jaxp/ChangeLog
+++ b/dev-java/jaxp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jaxp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/ChangeLog,v 1.18 2012/03/06 21:12:16 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/ChangeLog,v 1.19 2012/10/19 08:24:29 ottxor Exp $
+
+ 19 Oct 2012; Christoph Junghans <ottxor@gentoo.org> jaxp-1.4-r1.ebuild:
+ added prefix support (bug #435572)
06 Mar 2012; Brent Baude <ranger@gentoo.org> jaxp-1.4-r1.ebuild:
Marking jaxp-1.4-r1 ppc for bug 396875
@@ -49,4 +52,3 @@
01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.4,
+metadata.xml, +jaxp-1.4.ebuild:
Initial commit of jaxp.
-
diff --git a/dev-java/jaxp/jaxp-1.4-r1.ebuild b/dev-java/jaxp/jaxp-1.4-r1.ebuild
index 005177c31407..b7337aed6c2c 100644
--- a/dev-java/jaxp/jaxp-1.4-r1.ebuild
+++ b/dev-java/jaxp/jaxp-1.4-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4-r1.ebuild,v 1.5 2012/03/06 21:12:16 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4-r1.ebuild,v 1.6 2012/10/19 08:24:29 ottxor Exp $
+EAPI=4
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -12,14 +13,13 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="CDDL"
SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
-src_unpack() {
- unpack ${A}
+src_prepare() {
cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
}
@@ -31,10 +31,10 @@ src_install() {
use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
dohtml \
docs/JAXP-Compatibility.html \
- docs/ReleaseNotes.html || die
+ docs/ReleaseNotes.html
use doc && java-pkg_dojavadoc docs/api
- cd "${D}/usr/share/${PN}/lib/"
+ cd "${ED}/usr/share/${PN}/lib/"
ln -s jaxp-ri.jar jaxp.jar || die
java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
}