--- /dev/null
+# 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.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 973 RMD160 02436a8079158d9e955a136d0d58433a905775cc SHA1 d7c508cd65b05c10726a7fa9da5423c170bbfdcf SHA256 0f732741de58e4bfe2c30e73c3c2ad22b36b6160215a493a4486ed6ef8dd2c56
+MD5 0ab055a1117e8c7f306b9a8d58dbc597 snip-0.11.ebuild 973
+RMD160 02436a8079158d9e955a136d0d58433a905775cc snip-0.11.ebuild 973
+SHA256 0f732741de58e4bfe2c30e73c3c2ad22b36b6160215a493a4486ed6ef8dd2c56 snip-0.11.ebuild 973
+MISC ChangeLog 488 RMD160 1d99c42d158949ddfd30bb7142489360ae322ded SHA1 acfa997f8be70c73bc31cd3bca1d1b17fb23d8cc SHA256 0745d39e0acedb4a0f44cc71a155fa0612c96921bb83d514ff3504d1f58d6d16
+MD5 4efe843931afecfcb90987628516f20d ChangeLog 488
+RMD160 1d99c42d158949ddfd30bb7142489360ae322ded ChangeLog 488
+SHA256 0745d39e0acedb4a0f44cc71a155fa0612c96921bb83d514ff3504d1f58d6d16 ChangeLog 488
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFFuifacxLzpIGCsLQRAnzsAJwJvFnBqt0E2ojtndMusAFu3DrfoQCfYiXX
+ZbSWlPF/jZZV2ZGAydlN2LI=
+=oF/y
+-----END PGP SIGNATURE-----
--- /dev/null
+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
--- /dev/null
+*** 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 ----
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ >snip< 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 >filter<s within the >copy< task.
+ </longdescription>
+</pkgmetadata>
--- /dev/null
+# 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
+}
+