summaryrefslogtreecommitdiff
blob: 8f62d28d01249a5d58dd55d7a4a379d9f334a7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.3.1.ebuild,v 1.11 2004/03/11 21:02:39 zx Exp $

At="j2sdk-1_3_1-doc.zip"
S="${WORKDIR}/docs"
SRC_URI="j2sdk-1_3_1-doc.zip"
DESCRIPTION="Javadoc for Java SDK version 1.3.1"
HOMEPAGE="http://java.sun.com/j2se/1.3/docs.html"
LICENSE="sun-j2sl"
SLOT="1.3"
KEYWORDS="x86 ppc sparc alpha"
DEPEND=">=app-arch/unzip-5.50-r1"
RESTRICT="fetch"

pkg_nofetch() {
	einfo "Please download ${SRC_URI} from ${HOMEPAGE} and move it to ${DISTDIR}"
}

src_unpack() {
	unpack ${At} || die "Failed Unpacking"
}

src_install(){
	dohtml index.html

	local dirs="api guide images relnotes tooldocs"

	for i in $dirs ; do
		cp -a $i ${D}/usr/share/doc/${P}/html
	done
}