diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/freemarker/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/freemarker/freemarker-2.3.8.ebuild | 16 |
2 files changed, 8 insertions, 13 deletions
diff --git a/dev-java/freemarker/ChangeLog b/dev-java/freemarker/ChangeLog index 85a6c230ff40..85532eff340e 100644 --- a/dev-java/freemarker/ChangeLog +++ b/dev-java/freemarker/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/freemarker # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v 1.5 2006/09/10 15:20:49 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v 1.6 2006/09/24 01:57:11 nichoj Exp $ + + 24 Sep 2006; Joshua Nichols <nichoj@gentoo.org> freemarker-2.3.8.ebuild: + Some cleanups. 10 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> freemarker-2.3.8.ebuild: diff --git a/dev-java/freemarker/freemarker-2.3.8.ebuild b/dev-java/freemarker/freemarker-2.3.8.ebuild index 423791dab0f2..50cd12f27952 100644 --- a/dev-java/freemarker/freemarker-2.3.8.ebuild +++ b/dev-java/freemarker/freemarker-2.3.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/freemarker-2.3.8.ebuild,v 1.2 2006/09/10 15:20:49 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/freemarker-2.3.8.ebuild,v 1.3 2006/09/24 01:57:11 nichoj Exp $ inherit java-pkg-2 java-ant-2 eutils @@ -23,28 +23,20 @@ RDEPEND=">=virtual/jre-1.4 GETJARS_ARG="servletapi-2.3,jaxen-1.1" src_unpack() { - unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gentoo.patch" - } src_compile() { - - local antflags="jar -Djavacc.home=/usr/share/javacc/lib -lib $(java-pkg_getjars ${GETJARS_ARG})" - use doc && antflags="${antflags} javadoc" - - eant clean ${antflags} || die "Compilation failed" - + local antflags="-Djavacc.home=/usr/share/javacc/lib -lib $(java-pkg_getjars ${GETJARS_ARG})" + eant clean jar $(use_doc) ${antflags} } src_install() { - java-pkg_dojar lib/${PN}.jar dodoc README.txt use doc && java-pkg_dohtml -r build/api - use source && java-pkg_dosrc src - + use source && java-pkg_dosrc src/* } |