blob: dc9ce086f27dcbe803a09992b855beea8830528d (
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
37
38
39
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/itext/itext-1.4.7-r2.ebuild,v 1.4 2007/01/09 13:21:07 beandog Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="A Java library that generate documents in the Portable Document Format (PDF) and/or HTML."
HOMEPAGE="http://www.lowagie.com/iText/"
SRC_URI="mirror://sourceforge/itext/${PN}-src-${PV}.tar.gz"
IUSE="doc source"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
DEPEND=">=virtual/jdk-1.4
dev-java/ant-core
source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}
src_unpack() {
mkdir ${WORKDIR}/src && cd ${WORKDIR}/src
unpack ${PN}-src-${PV}.tar.gz
}
src_compile() {
cd ${WORKDIR}/src
eant jar $(use_doc)
}
src_install() {
java-pkg_dojar build/bin/*.jar
use source && java-pkg_dosrc src/com
use doc && java-pkg_dojavadoc build/docs
}
|