blob: 60dd4bc14969bb309a249228cfde2afac38e97fd (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jacl/jacl-1.3.1.ebuild,v 1.3 2004/06/24 22:29:19 agriffis Exp $
inherit java-pkg
DESCRIPTION="Jacl is an implementation of Tcl written in Java."
HOMEPAGE="http://tcljava.sourceforge.net"
SRC_URI="mirror://sourceforge/tcljava/${P//-}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
IUSE="jikes doc"
DEPEND=">=virtual/jdk-1.1
jikes? ( >=dev-java/jikes-1.19 )"
RDEPEND=">=dev-lang/tcl-8.4.5
>=virtual/jdk-1.1"
S=${WORKDIR}/${P//-}
src_compile() {
econf --enable-jacl `use_with jikes` || die
emake DESTDIR="/usr/share/${PN}" || die "emake failed"
}
src_install() {
java-pkg_dojar *.jar
dobin jaclsh
dodoc README ChangeLog known_issues.txt new_features.txt
use doc && dohtml -r docs/*
}
|