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
commitacaec6baa9a89c7ae81ec412004bb761e685d281 (patch)
tree1c59640cd90042bfacdf6256cbc241cddce563dd /dev-util
parentdepf ix (diff)
downloadgentoo-2-acaec6baa9a89c7ae81ec412004bb761e685d281.tar.gz
gentoo-2-acaec6baa9a89c7ae81ec412004bb761e685d281.tar.bz2
gentoo-2-acaec6baa9a89c7ae81ec412004bb761e685d281.zip
dep/style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/j/j-0.20.2.ebuild33
1 files changed, 15 insertions, 18 deletions
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
}