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
commit237e612437f795134bda468a26269a3afb043d87 (patch)
tree434c998e390dd13533cf6f2b6a56ceaf320260e7 /dev-java/portletapi
parentfirst step to remove chan_capi-cm from portage: version bump with new name, r... (diff)
downloadhistorical-237e612437f795134bda468a26269a3afb043d87.tar.gz
historical-237e612437f795134bda468a26269a3afb043d87.tar.bz2
historical-237e612437f795134bda468a26269a3afb043d87.zip
Initial commit. Ebuild by Miroslav Sulc <miroslav.sulc@startnet.cz>, bug #148210.
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'dev-java/portletapi')
-rw-r--r--dev-java/portletapi/ChangeLog11
-rw-r--r--dev-java/portletapi/Manifest20
-rw-r--r--dev-java/portletapi/files/digest-portletapi-1.03
-rw-r--r--dev-java/portletapi/files/portletapi-1.0-build.xml120
-rw-r--r--dev-java/portletapi/metadata.xml5
-rw-r--r--dev-java/portletapi/portletapi-1.0.ebuild37
6 files changed, 196 insertions, 0 deletions
diff --git a/dev-java/portletapi/ChangeLog b/dev-java/portletapi/ChangeLog
new file mode 100644
index 000000000000..b46c92d0a0d2
--- /dev/null
+++ b/dev-java/portletapi/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/portletapi
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/portletapi/ChangeLog,v 1.1 2006/10/09 01:08:39 nichoj Exp $
+
+*portletapi-1.0 (09 Oct 2006)
+
+ 09 Oct 2006; Joshua Nichols <nichoj@gentoo.org>
+ +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/Manifest b/dev-java/portletapi/Manifest
new file mode 100644
index 000000000000..331accb7de82
--- /dev/null
+++ b/dev-java/portletapi/Manifest
@@ -0,0 +1,20 @@
+AUX portletapi-1.0-build.xml 4303 RMD160 e7cde62af3e5560fd80c6c236f915a80ca2fa2e6 SHA1 f0ad402b05df6757abb7977b5ff67d1040f6dbb7 SHA256 23c94e1a0255a6b7873b554d910f060123b5dc7086fc3e719992f94d9b275c50
+MD5 30fa4587b0e4789f499118b95eeb9c90 files/portletapi-1.0-build.xml 4303
+RMD160 e7cde62af3e5560fd80c6c236f915a80ca2fa2e6 files/portletapi-1.0-build.xml 4303
+SHA256 23c94e1a0255a6b7873b554d910f060123b5dc7086fc3e719992f94d9b275c50 files/portletapi-1.0-build.xml 4303
+DIST jetspeed-2.0-src.tar.gz 31317896 RMD160 c0ee1ae8d50b6b82bc1ecb98929c93104c83d2fd SHA1 589ececf61c3a335a81a5bdc82e479f91a27e9f6 SHA256 c32a336810d934e4a627210e13e751bcd9b4257aaea78410ee1fba0c4a71cac0
+EBUILD portletapi-1.0.ebuild 953 RMD160 d81db8012f86ab45255654c29a3c35baa5c9866a SHA1 2cf99d9d585e54d4a213179682dd6055b6e8ec00 SHA256 0927594e01685c24bbc9863de6d30cfc0ad11362c988238180d4d150957d7535
+MD5 0ae52536b7d9dfdcd3210d95b9547082 portletapi-1.0.ebuild 953
+RMD160 d81db8012f86ab45255654c29a3c35baa5c9866a portletapi-1.0.ebuild 953
+SHA256 0927594e01685c24bbc9863de6d30cfc0ad11362c988238180d4d150957d7535 portletapi-1.0.ebuild 953
+MISC ChangeLog 453 RMD160 83a4348dfdcecf17536a802149520223da544304 SHA1 84c84cb6d43c71933291a13b1db52fb4343031bd SHA256 449214a8b358ab4b4cf0871173778822a2b3313f1b89577727131e525cf9b85a
+MD5 97a176142df47d2de3075cc963582796 ChangeLog 453
+RMD160 83a4348dfdcecf17536a802149520223da544304 ChangeLog 453
+SHA256 449214a8b358ab4b4cf0871173778822a2b3313f1b89577727131e525cf9b85a ChangeLog 453
+MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
+SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158
+MD5 c9990b7fda6302b67f4b2aeb28116ac6 files/digest-portletapi-1.0 256
+RMD160 4b1bce0dfcac18c4c6f1412d45984ae8cfb0f414 files/digest-portletapi-1.0 256
+SHA256 4f293873bd08479a52cc4eedc22d6951af654ce64c1845a7e2042706b23f88cc files/digest-portletapi-1.0 256
diff --git a/dev-java/portletapi/files/digest-portletapi-1.0 b/dev-java/portletapi/files/digest-portletapi-1.0
new file mode 100644
index 000000000000..60ec996b5d3d
--- /dev/null
+++ b/dev-java/portletapi/files/digest-portletapi-1.0
@@ -0,0 +1,3 @@
+MD5 44cb211fe57b2d64a702cee4108711b3 jetspeed-2.0-src.tar.gz 31317896
+RMD160 c0ee1ae8d50b6b82bc1ecb98929c93104c83d2fd jetspeed-2.0-src.tar.gz 31317896
+SHA256 c32a336810d934e4a627210e13e751bcd9b4257aaea78410ee1fba0c4a71cac0 jetspeed-2.0-src.tar.gz 31317896
diff --git a/dev-java/portletapi/files/portletapi-1.0-build.xml b/dev-java/portletapi/files/portletapi-1.0-build.xml
new file mode 100644
index 000000000000..9d0b88fe1826
--- /dev/null
+++ b/dev-java/portletapi/files/portletapi-1.0-build.xml
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--build.xml generated by maven from project.xml version 1.0
+ on date September 19 2006, time 1721-->
+
+<project default="jar" name="portlet-api" basedir=".">
+ <property name="defaulttargetdir" value="target">
+ </property>
+ <property name="libdir" value="target/lib">
+ </property>
+ <property name="classesdir" value="target/classes">
+ </property>
+ <property name="testclassesdir" value="target/test-classes">
+ </property>
+ <property name="distdir" value="dist">
+ </property>
+ <property name="javadocdir" value="dist/docs/api">
+ </property>
+ <property name="final.name" value="portletapi">
+ </property>
+ <path id="build.classpath">
+ <fileset dir="${libdir}">
+ <include name="**/*.jar">
+ </include>
+ </fileset>
+ </path>
+ <target name="init" description="o Initializes some properties">
+ <mkdir dir="${libdir}">
+ </mkdir>
+ <condition property="noget">
+ <equals arg2="only" arg1="${build.sysclasspath}">
+ </equals>
+ </condition>
+ <!--Test if JUNIT is present in ANT classpath-->
+
+ <available property="Junit.present" classname="junit.framework.Test">
+ </available>
+ </target>
+ <target name="compile" description="o Compile the code" depends="get-deps">
+ <mkdir dir="${classesdir}">
+ </mkdir>
+ <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+ <src>
+ <pathelement location="src/java">
+ </pathelement>
+ </src>
+ <classpath refid="build.classpath">
+ </classpath>
+ </javac>
+ <copy todir="${classesdir}">
+ <fileset dir="src/java">
+ <exclude name="**/*.java">
+ </exclude>
+ </fileset>
+ </copy>
+ </target>
+ <target name="jar" description="o Create the jar" depends="compile,test">
+ <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+ </jar>
+ </target>
+ <target name="clean" description="o Clean up the generated directories">
+ <delete dir="${defaulttargetdir}">
+ </delete>
+ <delete dir="${distdir}">
+ </delete>
+ </target>
+ <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+ <mkdir dir="dist">
+ </mkdir>
+ <copy todir="dist">
+ <fileset dir="${defaulttargetdir}" includes="*.jar">
+ </fileset>
+ <fileset dir="${basedir}" includes="LICENSE*, README*">
+ </fileset>
+ </copy>
+ </target>
+ <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+ <fail message="There were test failures.">
+ </fail>
+ </target>
+ <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
+ </target>
+ <target name="junit-present" unless="Junit.present" depends="init">
+ <echo>================================= WARNING ================================</echo>
+ <echo>Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.</echo>
+ <echo>==========================================================================</echo>
+ </target>
+ <target name="compile-tests" if="Junit.present" depends="junit-present,compile">
+ </target>
+ <target name="javadoc" description="o Generate javadoc" depends="get-deps">
+ <mkdir dir="${javadocdir}">
+ </mkdir>
+ <tstamp>
+ <format pattern="1999-yyyy" property="year">
+ </format>
+ </tstamp>
+ <property name="copyright" value="Copyright &amp;copy; Apache Software Foundation. All Rights Reserved.">
+ </property>
+ <property name="title" value="Java Portlet API 1.0 API">
+ </property>
+ <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="javax.portlet.*">
+ <classpath>
+ <path refid="build.classpath">
+ </path>
+ </classpath>
+ </javadoc>
+ </target>
+ <target name="get-deps" unless="noget" depends="init">
+ <!--Proxy settings works only with a JDK 1.2 and higher.-->
+
+ <setproxy>
+ </setproxy>
+ </target>
+ <target name="install-maven">
+ <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+ </get>
+ <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+ </unjar>
+ </target>
+</project>
diff --git a/dev-java/portletapi/metadata.xml b/dev-java/portletapi/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/portletapi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
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/*
+}