/[gentoo-x86]/dev-java/xdoclet/xdoclet-1.2.2.ebuild
Gentoo

Contents of /dev-java/xdoclet/xdoclet-1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed Oct 24 06:31:25 2007 UTC (12 years, 3 months ago) by wltjr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Removed java gen 1 ebuilds, quoted vars.
(Portage version: 2.1.3.15)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/xdoclet/xdoclet-1.2.2.ebuild,v 1.10 2007/07/11 19:58:37 mr_bones_ Exp $
4
5 inherit java-pkg eutils
6
7 DESCRIPTION="XDoclet is an extended Javadoc Doclet engine."
8 HOMEPAGE="http://xdoclet.sf.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tgz"
10 LICENSE="BSD"
11 SLOT="0"
12 KEYWORDS="amd64 ~ppc x86"
13 IUSE="jikes source"
14
15 RDEPEND=">=virtual/jre-1.3
16 >=dev-java/bsf-2.3
17 dev-java/commons-collections
18 dev-java/commons-logging
19 dev-java/log4j
20 dev-java/mockobjects
21 dev-java/velocity
22 dev-java/xjavadoc"
23 DEPEND=">=virtual/jdk-1.3
24 ${RDEPEND}
25 >=dev-java/ant-core-1.6
26 >=dev-java/ant-tasks-1.6
27 jikes? ( dev-java/jikes )
28 source? ( app-arch/zip )"
29
30 src_unpack() {
31 unpack ${A}
32
33 cd ${S}
34 epatch ${FILESDIR}/${P}-interface.patch
35 epatch ${FILESDIR}/${P}-buildfile.patch
36 # Fixes problems experienced when behind a proxy.
37 # Contributed by Gergan Penkov <gpp666_999@yahoo.de> bug #99642
38 epatch ${FILESDIR}/${PN}-modules_common_ent.patch
39
40 cd ${S}/lib && rm -f *.jar
41 java-pkg_jar-from xjavadoc
42 java-pkg_jar-from bsf-2.3
43 java-pkg_jar-from velocity
44 java-pkg_jar-from log4j
45 java-pkg_jar-from mockobjects
46 java-pkg_jar-from commons-logging
47 java-pkg_jar-from commons-collections
48 java-pkg_jar-from velocity
49 }
50
51 src_compile() {
52 local antflags="core modules maven"
53 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
54 ant ${antflags} || die "Failed to compile XDoclet core."
55 }
56
57 src_install() {
58 for jar in target/lib/*.jar; do
59 java-pkg_newjar ${jar} $(basename ${jar/-${PV}/})
60 done
61
62 dodoc README.txt
63 use source && java-pkg_dosrc core/src/xdoclet modules/*
64 }

  ViewVC Help
Powered by ViewVC 1.1.20