diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-10-09 01:08:39 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-10-09 01:08:39 +0000 |
commit | 14a3d68bdde0b203dd5001559282d684132db1c4 (patch) | |
tree | 53a30c74b61ec320736e16b11357ab0912a4a647 /dev-java/portletapi | |
parent | first step to remove chan_capi-cm from portage: version bump with new name, r... (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-java/portletapi/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/portletapi/Manifest | 20 | ||||
-rw-r--r-- | dev-java/portletapi/files/digest-portletapi-1.0 | 3 | ||||
-rw-r--r-- | dev-java/portletapi/files/portletapi-1.0-build.xml | 120 | ||||
-rw-r--r-- | dev-java/portletapi/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/portletapi/portletapi-1.0.ebuild | 37 |
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..f40488295fac --- /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 850 RMD160 3cb4ea8e199970f67b7206fdae410535f9413a6a SHA1 4e5a9722654094f936e332acaf1bfcb118d3bfb9 SHA256 8ec99b4f778e2abd439b87e14f9eedf4063268b6a73f4a3179061ef67ac685e6 +MD5 6f87d127b1b4a088229731dc4dde6ed7 portletapi-1.0.ebuild 850 +RMD160 3cb4ea8e199970f67b7206fdae410535f9413a6a portletapi-1.0.ebuild 850 +SHA256 8ec99b4f778e2abd439b87e14f9eedf4063268b6a73f4a3179061ef67ac685e6 portletapi-1.0.ebuild 850 +MISC ChangeLog 362 RMD160 ad955d7cf80f3438a7b663e83e12cfa1f41739bb SHA1 4f80572b0ac469bc10d2065096b26ec9fc24ff9e SHA256 6e973b8f954cfaeefe93c1a8817548f82e711385a2414b4bf17f4836ddc7ccb8 +MD5 94203667ad19acf864f4b3074392765f ChangeLog 362 +RMD160 ad955d7cf80f3438a7b663e83e12cfa1f41739bb ChangeLog 362 +SHA256 6e973b8f954cfaeefe93c1a8817548f82e711385a2414b4bf17f4836ddc7ccb8 ChangeLog 362 +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 &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/* +} |