blob: ad5f1126838733041b7f8d3a5cd9c6cccf63ea48 (
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
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr250/jsr250-1.0.ebuild,v 1.3 2007/01/21 18:08:59 flameeyes Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="JSR 250 Common Annotations"
HOMEPAGE="http://jcp.org/en/jsr/detail?id=250"
SRC_URI="com_annotations-1_0-fr-api-doc.zip"
LICENSE="sun-jsr250"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="doc"
RESTRICT="fetch nostrip"
DEPEND=">=virtual/jdk-1.5"
RDEPEND=">=virtual/jre-1.5"
S="${WORKDIR}"
pkg_nofetch() {
einfo "Please go to following URL:"
einfo " http://jcp.org/aboutJava/communityprocess/final/jsr250/index.html"
einfo "download file named com_annotations-1_0-fr-api-doc.zip and place it in:"
einfo " ${DISTDIR}"
}
src_install() {
cd "${S}"
java-pkg_dojar lib/jsr250-api.jar
use doc && java-pkg_dohtml -r docs/api
}
|