summaryrefslogtreecommitdiff
blob: 098c13abd8509d09bd6265c8a5a17518533ebeb8 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/javamake-bin/javamake-bin-1.3.2.ebuild,v 1.2 2005/03/18 01:12:07 compnerd Exp $

inherit java-pkg

DESCRIPTION="Java specific make tool"
HOMEPAGE="http://www.experimentalstuff.com/Technologies/JavaMake/"
SRC_URI="http://www.experimentalstuff.com/data/javamake${PV}.jar
		 doc? ( http://www.experimentalstuff.com/data/javamake-doc.zip )"

LICENSE="sun-asis-javamake"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

DEPEND="doc? ( app-arch/unzip )"
RDEPEND="virtual/jre"

src_unpack() {
	mkdir -p ${S}
	cd ${S}

	cp ${DISTDIR}/javamake${PV}.jar javamake.jar
	use doc && unpack javamake-doc.zip
}

src_install() {
	java-pkg_dojar javamake.jar
	use doc && java-pkg_dohtml ${S}/*.html
}