summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-09 16:51:20 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-09 16:51:20 +0000
commit1800cedc79b55be5e92912a92f46d1aa7833872e (patch)
tree9552b4736c8e15090d24758835bfb85109fd545d /dev-java/antenna
parentAdded ~x86-fbsd keyword. (diff)
downloadgentoo-2-1800cedc79b55be5e92912a92f46d1aa7833872e.tar.gz
gentoo-2-1800cedc79b55be5e92912a92f46d1aa7833872e.tar.bz2
gentoo-2-1800cedc79b55be5e92912a92f46d1aa7833872e.zip
Initial version.
(Portage version: 2.1.1_pre2-r6)
Diffstat (limited to 'dev-java/antenna')
-rw-r--r--dev-java/antenna/ChangeLog10
-rw-r--r--dev-java/antenna/Manifest20
-rw-r--r--dev-java/antenna/antenna-0.9.13-r1.ebuild54
-rw-r--r--dev-java/antenna/files/antenna-0.9.13-ant.patch107
-rw-r--r--dev-java/antenna/files/digest-antenna-0.9.13-r13
-rw-r--r--dev-java/antenna/metadata.xml5
6 files changed, 199 insertions, 0 deletions
diff --git a/dev-java/antenna/ChangeLog b/dev-java/antenna/ChangeLog
new file mode 100644
index 000000000000..848a66f22ace
--- /dev/null
+++ b/dev-java/antenna/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/antenna
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antenna/ChangeLog,v 1.1 2006/07/09 16:51:20 nelchael Exp $
+
+*antenna-0.9.13-r1 (09 Jul 2006)
+
+ 09 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/antenna-0.9.13-ant.patch, +metadata.xml, +antenna-0.9.13-r1.ebuild:
+ Initial version.
+
diff --git a/dev-java/antenna/Manifest b/dev-java/antenna/Manifest
new file mode 100644
index 000000000000..2df18e35388c
--- /dev/null
+++ b/dev-java/antenna/Manifest
@@ -0,0 +1,20 @@
+AUX antenna-0.9.13-ant.patch 3893 RMD160 843561997b09401bf4430f99fa19b2453372aa29 SHA1 3553e0120531cde581e95abe1f5260d63659b3a0 SHA256 dcb5e693ce80aa944873eb3baa6ac6287157412dc1c4dd0e3bbf7853d936db53
+MD5 77471f48c99f338771643a79d2941764 files/antenna-0.9.13-ant.patch 3893
+RMD160 843561997b09401bf4430f99fa19b2453372aa29 files/antenna-0.9.13-ant.patch 3893
+SHA256 dcb5e693ce80aa944873eb3baa6ac6287157412dc1c4dd0e3bbf7853d936db53 files/antenna-0.9.13-ant.patch 3893
+DIST antenna-src-0.9.13.zip 119536 RMD160 de4a506fe292b88160d2df156f701c8eda1d79d1 SHA256 dbc17fc08a7788da7ac6c42f3a7c49fa78227c3dd9d6d225534c7336a710fe23
+EBUILD antenna-0.9.13-r1.ebuild 1140 RMD160 81b142acc4b3715a43da7051a5a390e500e52d19 SHA1 2dd7408c082ccb139e46e31b8b395b682db874cb SHA256 8e4e7eedff42645e57a8f0ea550cff8527baa3674a0ceea931220f6121705f1e
+MD5 80a9e13c4e3668acda5aa2422360d3cf antenna-0.9.13-r1.ebuild 1140
+RMD160 81b142acc4b3715a43da7051a5a390e500e52d19 antenna-0.9.13-r1.ebuild 1140
+SHA256 8e4e7eedff42645e57a8f0ea550cff8527baa3674a0ceea931220f6121705f1e antenna-0.9.13-r1.ebuild 1140
+MISC ChangeLog 301 RMD160 9e9156a07a0e8ec6b55add7c7ea760120719eedd SHA1 4bb8db14fb0e653c27125f6cacf883ae0d58c057 SHA256 e4785a6a7d475a3ca6b80d6f94753198629a213d866ab557e8d8c40b9e440b51
+MD5 da387b810d639c5cd01d510b4d39f4d4 ChangeLog 301
+RMD160 9e9156a07a0e8ec6b55add7c7ea760120719eedd ChangeLog 301
+SHA256 e4785a6a7d475a3ca6b80d6f94753198629a213d866ab557e8d8c40b9e440b51 ChangeLog 301
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
+MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159
+RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159
+SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159
+MD5 eda94272b805f1d530d18f0932e60c92 files/digest-antenna-0.9.13-r1 247
+RMD160 41b0859dab4cba69bfd393a0dffdf9a4367c1dd5 files/digest-antenna-0.9.13-r1 247
+SHA256 7a3dbf1af466171960ace729dff6f0f72c8f8eb3c16b6da1a2f5be7aa6d97973 files/digest-antenna-0.9.13-r1 247
diff --git a/dev-java/antenna/antenna-0.9.13-r1.ebuild b/dev-java/antenna/antenna-0.9.13-r1.ebuild
new file mode 100644
index 000000000000..f6f55898dda1
--- /dev/null
+++ b/dev-java/antenna/antenna-0.9.13-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antenna/antenna-0.9.13-r1.ebuild,v 1.1 2006/07/09 16:51:20 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_P=${DISTDIR}/${PN}-src-${PV}.zip
+
+DESCRIPTION="Ant task for J2ME"
+HOMEPAGE="http://antenna.sourceforge.net/"
+SRC_URI="mirror://sourceforge/antenna/${PN}-src-${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4
+ ~dev-java/servletapi-2.3"
+
+ant_src_unpack() {
+ mkdir ${S} && cd ${S}
+
+ unpack ${A}
+
+ # Adds target dependencies and javadoc target
+ # and removes any hardcoded paths in targets in favor of properties
+ # TODO file upstream
+ epatch ${FILESDIR}/${P}-ant.patch
+
+ cat > build.properties <<-END
+ project.name=${PN}
+ project.version=${PV}
+ classpath.servlet=$(java-pkg_getjars servletapi-2.3)
+ END
+}
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_install() {
+ java-pkg_newjar dist/${PN}-bin-${PV}.jar ${PN}.jar
+
+ dodir /usr/share/ant-core/lib/
+ dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/
+
+ if use doc; then
+ java-pkg_dohtml doc/*
+ java-pkg_dohtml -r dist/doc/api
+ fi
+}
diff --git a/dev-java/antenna/files/antenna-0.9.13-ant.patch b/dev-java/antenna/files/antenna-0.9.13-ant.patch
new file mode 100644
index 000000000000..cf548f9e147c
--- /dev/null
+++ b/dev-java/antenna/files/antenna-0.9.13-ant.patch
@@ -0,0 +1,107 @@
+diff -ru antenna/build.xml antenna-patched/build.xml
+--- antenna/build.xml 2004-08-29 17:04:24.000000000 -0400
++++ antenna-patched/build.xml 2005-08-07 15:33:08.000000000 -0400
+@@ -1,53 +1,69 @@
+ <?xml version="1.0"?>
+
+ <project name="antenna" default="all" basedir=".">
++ <property file="build.properties"/>
++
++ <property name="classpath.servlet" value="set in build.properties"/>
++ <property name="project.version" value="set in build.properties" />
++ <property name="project.name" value="set in build.properties" />
++
++ <property name="build.classes" value="build/classes" />
++ <property name="build.javadoc" value="build/doc/api"/>
++ <property name="dist" value="dist" />
++ <property name="src" value="src"/>
++ <property name="project.src.zip" value="${project.name}-src-${project.version}.zip"/>
++ <property name="project.jar" value="${project.name}-bin-${project.version}.jar"/>
+
+- <property name="antenna.servlet" value="c:/Java/tomcat-5.0.25/common/lib/servlet-api.jar" />
+- <property name="antenna.classes" value="tmpclasses" />
+- <property name="antenna.version" value="0.9.13" />
+
+ <target name="init">
+- <mkdir dir="${antenna.classes}" />
++ <mkdir dir="${build.classes}" />
++ <mkdir dir="${dist}" />
+ </target>
+
+- <target name="compile">
+- <javac srcdir="src" debug="true" destdir="${antenna.classes}" classpath="${ant.home}/lib/ant.jar;${antenna.servlet}" />
++ <target name="compile" depends="init">
++ <javac srcdir="${src}" debug="true" destdir="${build.classes}" classpath="${classpath.servlet}" />
+ </target>
+
+- <target name="package">
+-
+- <mkdir dir="dist" />
+- <jar jarfile="dist/antenna-bin-${antenna.version}.jar">
+- <fileset dir="${antenna.classes}">
++ <target name="jar" depends="compile">
++ <jar jarfile="${dist}/${project.jar}">
++ <fileset dir="${build.classes}">
+ <include name="**/*.class" />
+ <include name="res/**" />
+ </fileset>
+
+ <fileset dir="res" />
+ </jar>
++ </target>
+
+- <zip zipfile="dist/antenna-src-${antenna.version}.zip">
++ <target name="src-release">
++ <zip zipfile="${dist}/${project.src.zip}">
+ <fileset dir=".">
+- <include name="src/**/*.java" />
++ <include name="${src}/**/*.java" />
+ <include name="doc/**" />
+ <include name="res/**" />
+ <include name="etc/**" />
+ <include name="samples/**/build.xml" />
+ <include name="LICENSE" />
+- <include name="build.xml" />
++ <include name="build.*" />
+ </fileset>
+-
+ </zip>
+ </target>
++
++ <target name="package" depends="jar,src-release"/>
+
+- <target name="deploy">
+- <copy file="dist/antenna-bin-${antenna.version}.jar" tofile="${ant.home}/lib/antenna.jar" />
++ <target name="deploy" depends="jar">
++ <copy file="${dist}/${project.jar}" tofile="${ant.home}/lib/${project.name}.jar" />
++ </target>
++
++ <target name="javadoc">
++ <javadoc destdir="${build.javadoc}">
++ <fileset dir="${src}"/>
++ </javadoc>
+ </target>
+
+ <target name="clean">
+- <delete dir="${antenna.classes}" failonerror="false" />
+- <delete file="dist/antenna-bin-${antenna.version}.jar" failonerror="false" />
+- <delete file="dist/antenna-src-${antenna.version}.zip" failonerror="false" />
++ <delete dir="${build.classes}" failonerror="false" />
++ <delete dir="${dist}" failonerror="false"/>
+ <delete includeEmptyDirs="true">
+ <fileset dir="samples">
+ <include name="**/*.jar" />
+@@ -60,11 +76,7 @@
+ </delete>
+ </target>
+
+- <target name="done" depends="">
+- <delete dir="${antenna.classes}" failonerror="false" />
+- </target>
+-
+- <!--target name="all" depends="clean,init,compile,package,done,deploy" /-->
+- <target name="all" depends="clean,init,compile,package,done" />
++ <!--target name="all" depends="clean,init,compile,package,deploy" /-->
++ <target name="all" depends="clean,init,compile,package" />
+
+ </project>
diff --git a/dev-java/antenna/files/digest-antenna-0.9.13-r1 b/dev-java/antenna/files/digest-antenna-0.9.13-r1
new file mode 100644
index 000000000000..2a9768599a81
--- /dev/null
+++ b/dev-java/antenna/files/digest-antenna-0.9.13-r1
@@ -0,0 +1,3 @@
+MD5 0b109d164e4ac9f6a571099eb75bc036 antenna-src-0.9.13.zip 119536
+RMD160 de4a506fe292b88160d2df156f701c8eda1d79d1 antenna-src-0.9.13.zip 119536
+SHA256 dbc17fc08a7788da7ac6c42f3a7c49fa78227c3dd9d6d225534c7336a710fe23 antenna-src-0.9.13.zip 119536
diff --git a/dev-java/antenna/metadata.xml b/dev-java/antenna/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/antenna/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>