blob: 0fa3ca4ad1a3803875a6f3c632fa2f99eddf1220 (
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
|
# Copyright 2002 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.ebuild,v 1.1 2002/10/31 20:40:57 karltk 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
>=ant-1.4"
REDEPND=">=virtual/jdk-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
IUSE=""
src_compile() {
ant jar || die
ant javadocs || die
}
src_install () {
dojar jakarta-oro*.jar
dodoc BUGS CHANGES COMPILE CONTRIBUTORS README STYLE TODO
dohtml *.html
dodir /usr/share/doc/${P}
dohtml -r docs/
}
pkg_postinst() {
einfo "Documentation can be found at http://jakarta.apache.org/oro/index.html"
}
|