blob: 334814cef2a506bac473dceb7649c7069f11afa9 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-java/oro/oro-2.0.6-r1.ebuild,v 1.3 2003/02/13 10:22:17 vapier Exp $
S=${WORKDIR}/jakarta-oro-${PV}
DESCRIPTION="A set of text-processing Java classes that provide Perl5 compatible regular expressions, AWK-like regular expressions, glob expressions, and utility classes for performing substitutions, splits, filtering filenames, etc."
SRC_URI="http://jakarta.apache.org/builds/jakarta-oro/release/v${PV}/jakarta-oro-${PV}.tar.gz"
HOMEPAGE="http://jakarta.apache.org/oro/index.html"
DEPEND=">=virtual/jdk-1.3
>=dev-java/ant-1.4"
REDEPND=">=virtual/jdk-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="x86"
IUSE=""
src_compile() {
ant jar || die "Failed Compiling"
ant javadocs || die "Failed Creating Docs"
}
src_install () {
mv jakarta-oro*.jar oro.jar
dojar oro.jar || die "Failed Installing"
dodoc BUGS CHANGES COMPILE CONTRIBUTORS README STYLE TODO
dohtml *.html
dodir /usr/share/doc/${P}
dohtml -r docs/
}
|