summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-09 01:08:39 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-09 01:08:39 +0000
commit14a3d68bdde0b203dd5001559282d684132db1c4 (patch)
tree53a30c74b61ec320736e16b11357ab0912a4a647 /dev-java/portletapi/portletapi-1.0.ebuild
parentfirst step to remove chan_capi-cm from portage: version bump with new name, r... (diff)
downloadgentoo-2-14a3d68bdde0b203dd5001559282d684132db1c4.tar.gz
gentoo-2-14a3d68bdde0b203dd5001559282d684132db1c4.tar.bz2
gentoo-2-14a3d68bdde0b203dd5001559282d684132db1c4.zip
Initial commit. Ebuild by Miroslav Sulc <miroslav.sulc@startnet.cz>, bug #148210.
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'dev-java/portletapi/portletapi-1.0.ebuild')
-rw-r--r--dev-java/portletapi/portletapi-1.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/portletapi/portletapi-1.0.ebuild b/dev-java/portletapi/portletapi-1.0.ebuild
new file mode 100644
index 000000000000..69596a2069ab
--- /dev/null
+++ b/dev-java/portletapi/portletapi-1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/portletapi-1.0.ebuild,v 1.1 2006/10/09 01:08:39 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+JETSPEED_P="jetspeed-2.0-src"
+DESCRIPTION="Jetspeed 2 Portlet API implementation of JSR 168"
+HOMEPAGE="http://portals.apache.org/jetspeed-2/"
+SRC_URI="mirror://apache/portals/jetspeed-2/sources/${JETSPEED_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.5
+ source? ( app-arch/unzip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${JETSPEED_P}/portlet-api"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/${P}-build.xml ${S}/build.xml
+}
+
+src_compile() {
+ eant jar $(use_doc javadoc)
+}
+
+src_install() {
+ java-pkg_dojar target/${PN}.jar
+ use doc && java-pkg_dohtml -r dist/docs
+ use source && java-pkg_dosrc src/java/*
+}