summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-03-14 21:43:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-03-14 21:43:50 +0000
commitb35703f90fd7f7082906080ccf9fa63ca3e129dd (patch)
tree7efce58a1dd880b3298ba0f7a1041ced7426a24a /dev-java/jdepend
parentEbuild cleanup - moved patching to src_unpack. Version bump to 1.1.5 (diff)
downloadgentoo-2-b35703f90fd7f7082906080ccf9fa63ca3e129dd.tar.gz
gentoo-2-b35703f90fd7f7082906080ccf9fa63ca3e129dd.tar.bz2
gentoo-2-b35703f90fd7f7082906080ccf9fa63ca3e129dd.zip
Fix javadoc installation.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java/jdepend')
-rw-r--r--dev-java/jdepend/ChangeLog8
-rw-r--r--dev-java/jdepend/files/digest-jdepend-2.9-r3 (renamed from dev-java/jdepend/files/digest-jdepend-2.9-r2)0
-rw-r--r--dev-java/jdepend/jdepend-2.9-r3.ebuild (renamed from dev-java/jdepend/jdepend-2.9-r2.ebuild)30
3 files changed, 20 insertions, 18 deletions
diff --git a/dev-java/jdepend/ChangeLog b/dev-java/jdepend/ChangeLog
index 9208d68d6d4e..2d278e825c05 100644
--- a/dev-java/jdepend/ChangeLog
+++ b/dev-java/jdepend/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jdepend
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/ChangeLog,v 1.36 2007/02/18 19:11:19 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/ChangeLog,v 1.37 2007/03/14 21:43:50 betelgeuse Exp $
+
+*jdepend-2.9-r3 (14 Mar 2007)
+
+ 14 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> -jdepend-2.9-r2.ebuild,
+ +jdepend-2.9-r3.ebuild:
+ Fix javadoc installation.
18 Feb 2007; Petteri Räty <betelgeuse@gentoo.org> -jdepend-2.8-r1.ebuild,
-jdepend-2.9.ebuild:
diff --git a/dev-java/jdepend/files/digest-jdepend-2.9-r2 b/dev-java/jdepend/files/digest-jdepend-2.9-r3
index 42e3faa4cb8f..42e3faa4cb8f 100644
--- a/dev-java/jdepend/files/digest-jdepend-2.9-r2
+++ b/dev-java/jdepend/files/digest-jdepend-2.9-r3
diff --git a/dev-java/jdepend/jdepend-2.9-r2.ebuild b/dev-java/jdepend/jdepend-2.9-r3.ebuild
index 2ab7969b0a0c..82e39b38181c 100644
--- a/dev-java/jdepend/jdepend-2.9-r2.ebuild
+++ b/dev-java/jdepend/jdepend-2.9-r3.ebuild
@@ -1,6 +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/jdepend/jdepend-2.9-r2.ebuild,v 1.5 2006/10/17 02:35:52 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/jdepend-2.9-r3.ebuild,v 1.1 2007/03/14 21:43:50 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,30 +13,24 @@ SRC_URI="http://www.clarkware.com/software/${P}.zip"
LICENSE="jdepend"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="doc source"
-DEPEND=">=virtual/jdk-1.3
- >=app-arch/unzip-5.50-r1
- >=dev-java/ant-core-1.4
- source? ( app-arch/zip )"
-RDEPEND=">=virtual/jre-1.3"
+DEPEND=">=virtual/jdk-1.4
+ >=app-arch/unzip-5.50-r1"
+RDEPEND=">=virtual/jre-1.4"
-src_compile() {
- eant jar
+src_unpack() {
+ unpack ${A}
+ rm -v "${S}"/lib/*.jar || die
}
src_install() {
java-pkg_newjar dist/jdepend-2.9.jar
- dodoc README
+ dodoc README || die
+ dohtml -r docs/* || die
dodir /usr/share/ant-core/lib
dosym /usr/share/jdepend/lib/jdepend.jar /usr/share/ant-core/lib
- if use doc; then
- dohtml docs/JDepend.html
- cp -r docs/api ${D}/usr/share/doc/${PF}/html
- cp -r docs/images ${D}/usr/share/doc/${PF}/html
- fi
-
+ use doc && java-pkg_dojavadoc build/docs/api
use source && java-pkg_dosrc src/*
}