diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-27 15:40:45 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-03-27 15:40:45 +0000 |
commit | e1f01c56ad69dbceefc33b1cccb4d7b4f35354ae (patch) | |
tree | 1185fbd15ecb18e7be0fae96ac2251c3715868f9 /dev-java/struts | |
parent | Stable on ia64 wrt bug #169675. (diff) | |
download | gentoo-2-e1f01c56ad69dbceefc33b1cccb4d7b4f35354ae.tar.gz gentoo-2-e1f01c56ad69dbceefc33b1cccb4d7b4f35354ae.tar.bz2 gentoo-2-e1f01c56ad69dbceefc33b1cccb4d7b4f35354ae.zip |
Depend on dev-java/ant-tasks instead of dev-java/ant and cleanup ebuild a little.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java/struts')
-rw-r--r-- | dev-java/struts/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/struts/struts-1.2.9-r1.ebuild | 17 |
2 files changed, 14 insertions, 11 deletions
diff --git a/dev-java/struts/ChangeLog b/dev-java/struts/ChangeLog index ef0faf7c31c4..a855619ef78c 100644 --- a/dev-java/struts/ChangeLog +++ b/dev-java/struts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/struts -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v 1.30 2006/12/09 09:25:00 flameeyes Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v 1.31 2007/03/27 15:40:45 betelgeuse Exp $ + + 27 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> struts-1.2.9-r1.ebuild: + Depend on dev-java/ant-tasks instead of dev-java/ant and cleanup ebuild a + little. 09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> struts-1.2.9-r1.ebuild: Add ~x86-fbsd keyword. diff --git a/dev-java/struts/struts-1.2.9-r1.ebuild b/dev-java/struts/struts-1.2.9-r1.ebuild index b9ca2ea15a2b..e49805ae8c92 100644 --- a/dev-java/struts/struts-1.2.9-r1.ebuild +++ b/dev-java/struts/struts-1.2.9-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/struts-1.2.9-r1.ebuild,v 1.4 2006/12/09 09:25:00 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/struts-1.2.9-r1.ebuild,v 1.5 2007/03/27 15:40:45 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -24,7 +24,7 @@ RDEPEND=">=virtual/jre-1.4 ${COMMON_DEPS}" DEPEND=">=virtual/jdk-1.4 ${COMMON_DEPS} - >=dev-java/ant-1.6.0 + >=dev-java/ant-tasks-1.6.0 source? ( app-arch/zip )" IUSE="doc examples source" KEYWORDS="amd64 ~ppc x86 ~x86-fbsd" @@ -35,8 +35,8 @@ src_unpack() { unpack ${A} # the build.xml expects this directory to exist - mkdir ${S}/lib - cd ${S}/lib + mkdir "${S}/lib" + cd "${S}/lib" # No property exists for this java-pkg_jar-from commons-collections @@ -44,7 +44,6 @@ src_unpack() { src_compile() { local antflags="compile.library" - use doc && antflags="${antflags} compile.javadoc" # In the order the build process asks for these # They are copied in the build.xml to ${S}/target/library/ @@ -62,7 +61,7 @@ src_compile() { # only needed for contrib stuff which we don't currently build # antflags="${antflags} -Dstruts-legacy.jar=$(java-pkg_getjars struts-legacy)" - eant ${antflags} + eant ${antflags} $(use_doc compile.javadoc) } src_install() { @@ -72,11 +71,11 @@ src_install() { insinto /usr/share/${PN}-${SLOT}/lib doins target/library/*.tld - dodoc README STATUS.txt + dodoc README STATUS.txt || die use doc && java-pkg_dohtml -r target/documentation/ if use examples; then dodir /usr/share/doc/${PF}/examples - cp -r src/example*/* ${D}/usr/share/doc/${PF}/examples + cp -r src/example*/* "${D}/usr/share/doc/${PF}/examples" fi use source && java-pkg_dosrc src/share/* } |