summaryrefslogtreecommitdiff
path: root/dev-java/portletapi/portletapi-2.0-r1.ebuild
blob: a7c9e5a869f0a82844513c79d058bbe02869e991 (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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

JAVA_PKG_IUSE="doc source"

inherit java-pkg-2 java-pkg-simple

MY_PN="portlet-api"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Portlet API 2.0 developed by the Java Community Process JSR-286"
HOMEPAGE="https://jcp.org/en/jsr/detail?id=286"
SRC_URI="https://repo1.maven.org/maven2/javax/portlet/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar"

LICENSE="Apache-2.0"
SLOT="2.0"
KEYWORDS="amd64 ppc64 x86"

IUSE=""

CDEPEND="dev-java/tomcat-servlet-api:3.0"

RDEPEND="
	${CDEPEND}
	>=virtual/jre-1.6"

DEPEND="
	${CDEPEND}
	>=virtual/jdk-1.6
	source? ( app-arch/zip )"

JAVA_ENCODING="ISO-8859-1"
JAVA_SRC_DIR="javax"
JAVA_GENTOO_CLASSPATH="tomcat-servlet-api-3.0"