summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-07-13 17:26:10 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-07-13 17:26:10 +0000
commit179c583a70a42b210093157f2f56c08fc47e2f6e (patch)
tree4e9b6a370e347e7635b2e913fa1fae5a4812d1f8 /dev-java/portletapi
parentAdd missing filesdir, thanks to angry_vincent (diff)
downloadgentoo-2-179c583a70a42b210093157f2f56c08fc47e2f6e.tar.gz
gentoo-2-179c583a70a42b210093157f2f56c08fc47e2f6e.tar.bz2
gentoo-2-179c583a70a42b210093157f2f56c08fc47e2f6e.zip
Version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/portletapi')
-rw-r--r--dev-java/portletapi/ChangeLog10
-rw-r--r--dev-java/portletapi/portletapi-2.0.ebuild40
2 files changed, 47 insertions, 3 deletions
diff --git a/dev-java/portletapi/ChangeLog b/dev-java/portletapi/ChangeLog
index 1ac966914889..ed72035aa2c9 100644
--- a/dev-java/portletapi/ChangeLog
+++ b/dev-java/portletapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/portletapi
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/ChangeLog,v 1.8 2007/05/07 16:37:36 caster Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/ChangeLog,v 1.9 2015/07/13 17:26:10 monsieurp Exp $
+
+*portletapi-2.0 (13 Jul 2015)
+
+ 13 Jul 2015; Patrice Clement <monsieurp@gentoo.org> +portletapi-2.0.ebuild:
+ Version bump.
07 May 2007; Vlastimil Babka <caster@gentoo.org> portletapi-1.0.ebuild:
Change dev-java/ant DEPEND to ant-core, nothing more needed. Tweak style,
@@ -33,4 +38,3 @@
+files/portletapi-1.0-build.xml, +metadata.xml, +portletapi-1.0.ebuild:
Initial commit. Ebuild by Miroslav Sulc <miroslav.sulc@startnet.cz>, bug
#148210.
-
diff --git a/dev-java/portletapi/portletapi-2.0.ebuild b/dev-java/portletapi/portletapi-2.0.ebuild
new file mode 100644
index 000000000000..f7ba7e195c54
--- /dev/null
+++ b/dev-java/portletapi/portletapi-2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/portletapi-2.0.ebuild,v 1.1 2015/07/13 17:26:10 monsieurp Exp $
+
+EAPI=5
+
+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="http://mirrors.ibiblio.org/maven2/javax/portlet/${PN}/${PV}/${MY_P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="2.0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE=""
+
+CDEPEND="dev-java/tomcat-servlet-api:3.0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ ${CDEPEND}"
+
+JAVA_PKG_WANT_SOURCE="1.7"
+JAVA_PKG_WANT_TARGET="1.7"
+JAVA_SRC_DIR="src"
+
+JAVA_ENCODING="ISO-8859-1"
+JAVA_GENTOO_CLASSPATH="tomcat-servlet-api-3.0"
+
+java_prepare() {
+ mkdir src || die
+ mv * src
+}