summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-07 16:37:36 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-07 16:37:36 +0000
commit872176d6b3dd0a50f6139289622ca0f71dc9487e (patch)
tree526427e4a0c0a69c1cca6a19beb70fc9a6628482 /dev-java/portletapi
parentMigrate to split-ant; add examples USEflag, fix source installation, tweak st... (diff)
downloadgentoo-2-872176d6b3dd0a50f6139289622ca0f71dc9487e.tar.gz
gentoo-2-872176d6b3dd0a50f6139289622ca0f71dc9487e.tar.bz2
gentoo-2-872176d6b3dd0a50f6139289622ca0f71dc9487e.zip
Change dev-java/ant DEPEND to ant-core, nothing more needed. Tweak style, fix javadoc install location.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/portletapi')
-rw-r--r--dev-java/portletapi/ChangeLog8
-rw-r--r--dev-java/portletapi/portletapi-1.0.ebuild21
2 files changed, 14 insertions, 15 deletions
diff --git a/dev-java/portletapi/ChangeLog b/dev-java/portletapi/ChangeLog
index 06980a48b8ba..1ac966914889 100644
--- a/dev-java/portletapi/ChangeLog
+++ b/dev-java/portletapi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/portletapi
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/ChangeLog,v 1.7 2006/12/09 09:23:25 flameeyes Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/ChangeLog,v 1.8 2007/05/07 16:37:36 caster Exp $
+
+ 07 May 2007; Vlastimil Babka <caster@gentoo.org> portletapi-1.0.ebuild:
+ Change dev-java/ant DEPEND to ant-core, nothing more needed. Tweak style,
+ fix javadoc install location.
09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> portletapi-1.0.ebuild:
Add ~x86-fbsd keyword.
diff --git a/dev-java/portletapi/portletapi-1.0.ebuild b/dev-java/portletapi/portletapi-1.0.ebuild
index b2d7921fdcc1..87289470ea9a 100644
--- a/dev-java/portletapi/portletapi-1.0.ebuild
+++ b/dev-java/portletapi/portletapi-1.0.ebuild
@@ -1,7 +1,8 @@
-# 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/portletapi/portletapi-1.0.ebuild,v 1.7 2006/12/09 09:23:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/portletapi-1.0.ebuild,v 1.8 2007/05/07 16:37:36 caster Exp $
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
JETSPEED_P="jetspeed-2.0-src"
@@ -12,26 +13,20 @@ SRC_URI="mirror://apache/portals/jetspeed-2/sources/${JETSPEED_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="doc source"
+IUSE=""
-DEPEND=">=virtual/jdk-1.4
- >=dev-java/ant-1.5
- source? ( app-arch/unzip )"
+DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}/${JETSPEED_P}/portlet-api"
src_unpack() {
unpack ${A}
- cp ${FILESDIR}/${P}-build.xml ${S}/build.xml
-}
-
-src_compile() {
- eant jar $(use_doc javadoc)
+ cp "${FILESDIR}/${P}-build.xml" "${S}/build.xml" || die
}
src_install() {
java-pkg_dojar target/${PN}.jar
- use doc && java-pkg_dohtml -r dist/docs
- use source && java-pkg_dosrc src/java/*
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/javax
}