summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/snip')
-rw-r--r--dev-java/snip/ChangeLog11
-rw-r--r--dev-java/snip/Manifest20
-rw-r--r--dev-java/snip/files/digest-snip-0.113
-rw-r--r--dev-java/snip/files/snip-0.11-build.xml.patch13
-rw-r--r--dev-java/snip/metadata.xml12
-rw-r--r--dev-java/snip/snip-0.11.ebuild39
6 files changed, 98 insertions, 0 deletions
diff --git a/dev-java/snip/ChangeLog b/dev-java/snip/ChangeLog
new file mode 100644
index 000000000000..5a8b5f356357
--- /dev/null
+++ b/dev-java/snip/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/snip
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/snip/ChangeLog,v 1.1 2007/01/26 16:09:54 betelgeuse Exp $
+
+*snip-0.11 (26 Jan 2007)
+
+ 26 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/snip-0.11-build.xml.patch, +metadata.xml, +snip-0.11.ebuild:
+ Initial commit. Original ebuild by Iván Pérez Domínguez
+ <iperez@babel.ls.fi.upm.es> and then improved by me. Fixes bug #145936.
+
diff --git a/dev-java/snip/Manifest b/dev-java/snip/Manifest
new file mode 100644
index 000000000000..4fae52e7b28f
--- /dev/null
+++ b/dev-java/snip/Manifest
@@ -0,0 +1,20 @@
+AUX snip-0.11-build.xml.patch 437 RMD160 4b7b179b7eec1b562446dcfb6a36de1ec24ebf46 SHA1 3e7c4f4ab37df42eb78536071e8ea7033a2f076b SHA256 4bc4d1cb3d9569b092c8e23c8fa8a4811e14a84a30ba0fb8784d416e0028cebe
+MD5 d4f060cb8b7f93183d7be03e518f8fb1 files/snip-0.11-build.xml.patch 437
+RMD160 4b7b179b7eec1b562446dcfb6a36de1ec24ebf46 files/snip-0.11-build.xml.patch 437
+SHA256 4bc4d1cb3d9569b092c8e23c8fa8a4811e14a84a30ba0fb8784d416e0028cebe files/snip-0.11-build.xml.patch 437
+DIST snip-0.11-src.tar.gz 23270 RMD160 9149bdabba8202f16c93ae0a9f57bbcfd56cd845 SHA1 ef1b29330b97987c13d70c61bd8af20a213a9548 SHA256 c8d0e299010e0582d69b3c0567b89190cfab8b123b4bc61920c721c1b82240e7
+EBUILD snip-0.11.ebuild 877 RMD160 709bd7c8e7c460e0da64ec405173d97112d70903 SHA1 82fda1b4ae1f19f74c08f74cb6c0925ff55a15d9 SHA256 664bcbc67754b92b4e2b1cc557daaa1fc3b4b378aa608e6f0eedf0ad44446687
+MD5 eec22801572240de24170c5df026d34c snip-0.11.ebuild 877
+RMD160 709bd7c8e7c460e0da64ec405173d97112d70903 snip-0.11.ebuild 877
+SHA256 664bcbc67754b92b4e2b1cc557daaa1fc3b4b378aa608e6f0eedf0ad44446687 snip-0.11.ebuild 877
+MISC ChangeLog 399 RMD160 92b95a1e7040293d2167a7b2146f30a01fe53f50 SHA1 5ab38999d61a0d600039f85e2befb6b08b356058 SHA256 00d1e419b61d0c398df927f2a7e652db9f800091ee7e1ebed6ba82e64d37ae32
+MD5 3d2f58ce34360a5f918526d2b41061af ChangeLog 399
+RMD160 92b95a1e7040293d2167a7b2146f30a01fe53f50 ChangeLog 399
+SHA256 00d1e419b61d0c398df927f2a7e652db9f800091ee7e1ebed6ba82e64d37ae32 ChangeLog 399
+MISC metadata.xml 560 RMD160 0b87b562cf78074dbbed3f2084274f4e22625568 SHA1 9fddf24a0a2221c2308c716f98926429a4db6464 SHA256 13cb265e89be729d485b2e8ee1d7c39ec141e618ff2838e90140ec6a74da73a6
+MD5 457fc723f0353de90fbbfd5e45e2cda0 metadata.xml 560
+RMD160 0b87b562cf78074dbbed3f2084274f4e22625568 metadata.xml 560
+SHA256 13cb265e89be729d485b2e8ee1d7c39ec141e618ff2838e90140ec6a74da73a6 metadata.xml 560
+MD5 6b8cf1355c8ef23d9cb9f9b5dfbc0f9c files/digest-snip-0.11 238
+RMD160 c02b1fe9e9165d173faed9a7fe756dd7df0faf1e files/digest-snip-0.11 238
+SHA256 16591a98348d69b991351b2fe38daca17541fc4371a7e1509af59b33a4a0408e files/digest-snip-0.11 238
diff --git a/dev-java/snip/files/digest-snip-0.11 b/dev-java/snip/files/digest-snip-0.11
new file mode 100644
index 000000000000..dde8d2678a90
--- /dev/null
+++ b/dev-java/snip/files/digest-snip-0.11
@@ -0,0 +1,3 @@
+MD5 bc84dbf27010d55b0bfe336eeb46a9a4 snip-0.11-src.tar.gz 23270
+RMD160 9149bdabba8202f16c93ae0a9f57bbcfd56cd845 snip-0.11-src.tar.gz 23270
+SHA256 c8d0e299010e0582d69b3c0567b89190cfab8b123b4bc61920c721c1b82240e7 snip-0.11-src.tar.gz 23270
diff --git a/dev-java/snip/files/snip-0.11-build.xml.patch b/dev-java/snip/files/snip-0.11-build.xml.patch
new file mode 100644
index 000000000000..6072b930a414
--- /dev/null
+++ b/dev-java/snip/files/snip-0.11-build.xml.patch
@@ -0,0 +1,13 @@
+*** build.xml 2006-08-29 21:39:13.000000000 +0000
+--- build.xml.patched 2006-08-29 21:40:15.000000000 +0000
+***************
+*** 1,8 ****
+
+ <project default="compile" name="snip">
+
+- <taskdef name="snip" classname="com.martiansoftware.snip.Snip" classpath="build"/>
+-
+ <property name="version" value="0.11" />
+ <property name="jarname" value="snip-${version}.jar"/>
+ <property name="src.java" value="src/java"/>
+--- 1,6 ----
diff --git a/dev-java/snip/metadata.xml b/dev-java/snip/metadata.xml
new file mode 100644
index 000000000000..456daabcdd66
--- /dev/null
+++ b/dev-java/snip/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ &gt;snip&lt; is an Ant task designed to help with the single-sourcing
+ of program documentation. This task extracts snippets of text from files,
+ placing them into properties in the Ant project. These properties can
+ then be used by any other Ant task, and are particularly useful when
+ referenced by &gt;filter&lt;s within the &gt;copy&lt; task.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/snip/snip-0.11.ebuild b/dev-java/snip/snip-0.11.ebuild
new file mode 100644
index 000000000000..04d9cf986679
--- /dev/null
+++ b/dev-java/snip/snip-0.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/snip/snip-0.11.ebuild,v 1.1 2007/01/26 16:09:54 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="an Apache ANT optional task that extracts snippets of code from text files"
+HOMEPAGE="http://www.martiansoftware.com/lab/index.html"
+SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc source"
+
+COMMON_DEP=">=dev-java/ant-core-1.5.4"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ rm -v *.jar
+ epatch "${FILESDIR}/${PN}-0.11-build.xml.patch"
+ java-ant_rewrite-classpath
+ eant clean
+}
+
+EANT_GENTOO_CLASSPATH="ant-core"
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar ${PN}.jar
+ use doc && java-pkg_dojavadoc javadoc
+ use source && java-pkg_dosrc src/java/com
+}
+