--- java-sdk-docs-1.5.0.ebuild 2005-12-08 22:44:44.000000000 +0200 +++ java-sdk-docs-1.5.0-r1.ebuild 2005-12-08 23:23:09.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.5.0.ebuild,v 1.7 2004/10/02 17:32:53 axxo Exp $ -SRC_URI="jdk-1_5_0-doc.zip" +SRC_URI="jdk-1_5_0-doc-r1.zip" DESCRIPTION="Javadoc for Java SDK version 1.5.0 Beta 2" HOMEPAGE="http://java.sun.com/j2se/1.5.0/" LICENSE="sun-j2sl" @@ -17,16 +17,19 @@ S="${WORKDIR}/docs" pkg_nofetch() { - einfo "Please download ${SRC_URI} from " + einfo "Please download jdk-1_5_0-doc.zip from " einfo "${DOWNLOAD_URL}" - einfo "and move it to ${DISTDIR}" + einfo "and place it in ${DISTDIR} named as" + einfo "${SRC_URI}. Notice the r1. This is caused by a change in the" + einfo "upstream file Sun provides." } src_install(){ - dohtml index.html + insinto /usr/share/doc/${P}/html + doins index.html local dirs="api guide images relnotes tooldocs" for i in $dirs ; do - cp -r $i ${D}/usr/share/doc/${P}/html + doins -r $i done }