summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/ant-owanttask
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/ant-owanttask')
-rw-r--r--dev-java/ant-owanttask/Manifest1
-rw-r--r--dev-java/ant-owanttask/ant-owanttask-1.3.2.ebuild37
-rw-r--r--dev-java/ant-owanttask/files/MultipleCopy.java12
-rw-r--r--dev-java/ant-owanttask/files/ant-owanttask-1.1-classpath.patch17
-rw-r--r--dev-java/ant-owanttask/metadata.xml5
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/ant-owanttask/Manifest b/dev-java/ant-owanttask/Manifest
new file mode 100644
index 000000000000..5ed3fa62b8e1
--- /dev/null
+++ b/dev-java/ant-owanttask/Manifest
@@ -0,0 +1 @@
+DIST ow_util_ant_tasks_1.3.2.zip 1170518 SHA256 9269ed0a08fda3407c2ad726a883eddb4f7e6882f162b4ab32d030b39ddcbcfc SHA512 c2ca84d34864b075c39e9699ac1a41c2980615ea6d813d007ee503fe19cfd5c869cdd0f6be27cbfdafc33aa49c32022b99ced2387381fdb6816925957207a603 WHIRLPOOL 558d860692b1fe105484b31a339bb1f8cc80742b50568d1005a5ce90f16c87a5e24832d35a211b98a92a71a9635c792cf310f19773dba3e64434ba98c0bbfe1d
diff --git a/dev-java/ant-owanttask/ant-owanttask-1.3.2.ebuild b/dev-java/ant-owanttask/ant-owanttask-1.3.2.ebuild
new file mode 100644
index 000000000000..d1541235fa08
--- /dev/null
+++ b/dev-java/ant-owanttask/ant-owanttask-1.3.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="ObjectWeb's Ant tasks"
+HOMEPAGE="http://monolog.objectweb.org"
+SRC_URI="http://download.forge.objectweb.org/monolog/ow_util_ant_tasks_${PV}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+COMMON_DEP="dev-java/xalan"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-core-1.7.0
+ ${COMMON_DEP}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ rm -f output/lib/*.jar
+}
+
+src_install() {
+ java-pkg_dojar output/lib/ow_util_ant_tasks.jar
+}
+
+pkg_postinst() {
+ ewarn "The MultipleCopy task is not compatible with ant-1.7.0 and newer"
+ ewarn "Attempt to use it will break building."
+}
diff --git a/dev-java/ant-owanttask/files/MultipleCopy.java b/dev-java/ant-owanttask/files/MultipleCopy.java
new file mode 100644
index 000000000000..bd6a431bf06c
--- /dev/null
+++ b/dev-java/ant-owanttask/files/MultipleCopy.java
@@ -0,0 +1,12 @@
+package org.objectweb.util.ant;
+
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.taskdefs.Copy;
+
+public class MultipleCopy extends Copy {
+
+ public void execute() throws BuildException {
+ throw new BuildException("MultipleCopy is not compatible with ant >=1.7.0");
+ }
+
+}
diff --git a/dev-java/ant-owanttask/files/ant-owanttask-1.1-classpath.patch b/dev-java/ant-owanttask/files/ant-owanttask-1.1-classpath.patch
new file mode 100644
index 000000000000..cd3d2e0fd42a
--- /dev/null
+++ b/dev-java/ant-owanttask/files/ant-owanttask-1.1-classpath.patch
@@ -0,0 +1,17 @@
+diff -ru owanttask-1.1/build.xml owanttask-1.1-patched/build.xml
+--- owanttask-1.1/build.xml 2004-02-09 03:57:02.000000000 -0500
++++ owanttask-1.1-patched/build.xml 2006-08-05 20:06:03.000000000 -0400
+@@ -3,9 +3,12 @@
+ <property name="out" value="${basedir}/output"/>
+ <property name="out.build" value="${out}/build"/>
+ <property name="out.lib" value="${out}/lib"/>
++ <path id="build.classpath">
++ <fileset dir="lib" includes="*.jar"/>
++ </path>
+ <target name="compile">
+ <mkdir dir="${out.build}"/>
+- <javac srcdir="${prj.src}" destdir="${out.build}" debug="on">
++ <javac srcdir="${prj.src}" destdir="${out.build}" debug="on" classpathref="build.classpath">
+ <include name="**/*.java"/>
+ </javac>
+ </target>
diff --git a/dev-java/ant-owanttask/metadata.xml b/dev-java/ant-owanttask/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/ant-owanttask/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>