blob: bd6aa60a17cfd28fae4072971eef3bfba590099b (
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
33
34
35
36
37
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/javahelp-bin/javahelp-bin-2.0.01.ebuild,v 1.5 2005/03/16 19:54:23 luckyduck Exp $
inherit java-pkg
DESCRIPTION="JavaHelp software is a full-featured, platform-independent, extensible help system that enables you to incorporate online help in applets, components, applications, operating systems, and devices."
HOMEPAGE="http://java.sun.com/products/javahelp/"
LICENSE="sun-j2sl"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
DEPEND=">=app-arch/unzip-5.50-r1"
RDEPEND=">=virtual/jdk-1.3"
RESTRICT="fetch"
SRC_URI="javahelp-${PV//./_}.zip"
IUSE="doc"
S="${WORKDIR}/jh2.0"
DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=javahelp-${PV//./_}-oth-JPR&SiteId=JSC&TransactionId=noreg"
pkg_nofetch() {
einfo "Please download ${SRC_URI} from ${HOMEPAGE} and move it to ${DISTDIR}"
einfo "Direct url: ${DOWNLOAD_URL}"
}
src_compile() { :; }
src_install(){
java-pkg_dojar javahelp/lib/*.jar
cp -R ${S}/javahelp/lib/dtd ${D}/usr/share/${PN}/lib
cp -R ${S}/javahelp/bin ${D}/usr/share/${PN}/bin
use doc && cp -R ${S}/demos ${D}/usr/share/${PN} && java-pkg_dohtml -r doc
dodoc README
}
|