summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-31 19:21:27 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-31 19:21:27 +0000
commitaf24061a0c439f65ea4e049b98c1b3a34a85d722 (patch)
tree5e53c644c42c6b1557cca636f51a5da4b938c3b9 /dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild
parentppc stable (bug #148854) (diff)
downloadhistorical-af24061a0c439f65ea4e049b98c1b3a34a85d722.tar.gz
historical-af24061a0c439f65ea4e049b98c1b3a34a85d722.tar.bz2
historical-af24061a0c439f65ea4e049b98c1b3a34a85d722.zip
Patch to xml-rewrite-2.py to switch from direct Expat usage to Sax. Gives proper support for for example entities and preserving doctypes.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild')
-rw-r--r--dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild b/dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..fb2e49593ebb
--- /dev/null
+++ b/dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.2.0-r1.ebuild,v 1.1 2006/12/31 19:21:27 betelgeuse Exp $
+
+inherit eutils python
+
+DESCRIPTION="Collection of Gentoo-specific tools for Java"
+HOMEPAGE="http://www.gentoo.org/proj/en/java/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+DEPEND="virtual/python"
+RDEPEND="virtual/python"
+
+IUSE=""
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}/0.2.0-use-sax.patch"
+ # Fix version
+ sed -i -e s/${PV}/${PVR}/ makedefs.mak
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/share/javatoolkit
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/javatoolkit
+}