blob: c35b9dd9bd58a642987c42fc525c6b4c3941ce0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2004 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.5 2004/08/30 18:36:24 zx Exp $
IUSE=""
SRC_URI="mirror://sourceforge/armedbear-${PN}/${P}.tar.gz"
DESCRIPTION="Programmer's text editor written in Java, includes Armed Bear Lisp."
HOMEPAGE="http://armedbear-j.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
DEPEND=">=virtual/jdk-1.4"
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
emake || die
}
src_install() {
einstall || die
}
|