summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-16 18:41:43 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-16 18:41:43 +0000
commit560391bd420b25e259283ddc80d11f11f87a0bc9 (patch)
tree3d572977f0f379a5394845d8bfc71f0255036b8e /dev-util
parentdepf ix (diff)
downloadhistorical-560391bd420b25e259283ddc80d11f11f87a0bc9.tar.gz
historical-560391bd420b25e259283ddc80d11f11f87a0bc9.tar.bz2
historical-560391bd420b25e259283ddc80d11f11f87a0bc9.zip
dep/style fixes
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/j/Manifest12
-rw-r--r--dev-util/j/j-0.20.2.ebuild33
2 files changed, 26 insertions, 19 deletions
diff --git a/dev-util/j/Manifest b/dev-util/j/Manifest
index d0eaa33bc464..2f7a174176ad 100644
--- a/dev-util/j/Manifest
+++ b/dev-util/j/Manifest
@@ -1,4 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 09372898067baac0ef1a0aff7a3074a3 j-0.20.2.ebuild 850
MD5 65b239fbdeaae70dab2f08de0f0d6dd5 ChangeLog 531
-MD5 0bfbc07c53199cf686672f7cb9504a28 j-0.20.2.ebuild 1191
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 5db38fba0110d1a97df3e6a9cead72ed files/digest-j-0.20.2 61
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC2VUB/rLF9B432nYRAunyAJ99LFhnO5VwuWtZynRyGVsfI9onHgCfdQ0X
+6NP7qU3zREKEXUYkgLxYZz8=
+=6Dn3
+-----END PGP SIGNATURE-----
diff --git a/dev-util/j/j-0.20.2.ebuild b/dev-util/j/j-0.20.2.ebuild
index f5c2e9352224..71a8c42a55a2 100644
--- a/dev-util/j/j-0.20.2.ebuild
+++ b/dev-util/j/j-0.20.2.ebuild
@@ -1,33 +1,30 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/j/j-0.20.2.ebuild,v 1.6 2005/05/07 15:08:53 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/j/j-0.20.2.ebuild,v 1.7 2005/07/16 18:41:43 axxo Exp $
-IUSE=""
-SRC_URI="mirror://sourceforge/armedbear-${PN}/${P}.tar.gz"
+inherit java-pkg
DESCRIPTION="Programmer's text editor written in Java, includes Armed Bear Lisp."
HOMEPAGE="http://armedbear-j.sourceforge.net/"
+SRC_URI="mirror://sourceforge/armedbear-${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64 ~ppc"
+IUSE=""
-DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/xerces"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
src_compile() {
- if [ -n "$(java-config --jdk-home)" ]; then
- econf \
- --with-jdk="$(java-config --jdk-home)" \
- $(if [ -f "/usr/share/xerces/lib/xercesImpl.jar" ]; then echo "--with-extensions=/usr/share/xerces/lib/xercesImpl.jar"; fi) \
- --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- || die "./configure failed"
- else
- eerror "You must have a system default JDK to compile this package !!!"
- einfo "Use 'java-config --list-available-vms' to find the name of your installed JDK."
- einfo "Then use 'java-config --set-system-vm=<JDK name>' to make it the system default."
- die "./configure failed: No JDK"
- fi
+ econf \
+ --with-jdk="$(java-config --jdk-home)" \
+ --with-extensions=$(java-pkg_getjar xerces-2 xercesImpl.jar) \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ || die "./configure failed"
emake || die
}