summaryrefslogtreecommitdiff
path: root/dev-java/snip
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/snip')
-rw-r--r--dev-java/snip/Manifest5
-rw-r--r--dev-java/snip/metadata.xml15
-rw-r--r--dev-java/snip/snip-0.11-r1.ebuild34
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-java/snip/Manifest b/dev-java/snip/Manifest
new file mode 100644
index 000000000000..9420b57ff2ec
--- /dev/null
+++ b/dev-java/snip/Manifest
@@ -0,0 +1,5 @@
+DIST snip-0.11.zip 56801 SHA256 c5fc7c7c006ce4821cf143d94da29d99e7b6c25db8d3295dc72702bf05f89f33 SHA512 43ded00e411247c69882494cec1ee5322a0be273982ee37b2501d143259686f6d5f52c99b430ebad96d799aa42bb240b4a5130cba0b3fc47d21c70513e97ba93 WHIRLPOOL 145927ae16a5b067c41ac78c8e388bbf884d0c0feb7a6f53e6cd410cf51ebb744acf40f5f15c16bfe9056614dd312fd662f6e4cca3d430246ea55d3f4837ad41
+EBUILD snip-0.11-r1.ebuild 724 SHA256 f8395c0162564d21ec0a6b78cc012ff4d8d80ff992e6ef1b67720747e8bc1f96 SHA512 60f602e0be62c6133d6fc8f509827bf0edb5778c7dcc8eea1c9ed4ebf2f88f23c7561e26912e54e9edbf27a89801ceeca2a9090b1042392a575e89c0f66fa818 WHIRLPOOL f0e4f651ab5e187d333eef92b0d0d236e54ecad6891774423c995111b1a5ad3701ba385b53e61d858195fd90709dcf882a457b2b5d1a3666cbd2d069a94ed859
+MISC ChangeLog 3140 SHA256 9c4a29e6c826c3b09a2b10594d9012cbc185982b69a10cc5ef3cca0b9bbb4918 SHA512 a7c6287e1859f4e3f74c2fca60bd3677e87a4084980212b3f070f121ce7f81180dd07dac58d2afaf33a3045d76c77da7a9bb88f235854d576918d0ceea63dc8d WHIRLPOOL 1b4b0d0563947849460ac67cc992620af991cca98248d5c293316821582d0d098d1c75734c3e38a0716d84b45f859ace563bdb5d25d0e65ed3374ec3e29df69d
+MISC ChangeLog-2015 1346 SHA256 c13d2159901f08d0557c3d0fe962682d5d8d0dfe3782998c4f28572c1c4d4338 SHA512 621301ea392d52944cc49dcf22793859a521a960beb394f21c3eb5a0b82ae9680dafacfafdb4dbc0d3a2d0603045b9b9180381db8d0ef506bb3398299c587ced WHIRLPOOL 4b7a185adbae9a71aa4f9f1846247fa3ddf991e216abe75a20097ce22c015408b128f8faaf5b5fb496d00e055a7452787a1dcb5f608ad32b7c4ad13857599b97
+MISC metadata.xml 638 SHA256 4acca4b79bf78644efaa3fe3cc3e43db9590844e017eb5e14fd25eef2d0917a3 SHA512 198940a6ae7c17c2833b429e6003ecd0821b8d687a568b3f487fd4d3bf616556814b07481954e0abdeddccf411101ed3351bbe29e28e0b0e4f6024b3abd2d1c4 WHIRLPOOL 5ff6a4844997625306ca3231c36ef59b1ce26f3d1024f63624516bed16319dd08ad66c594db927d903a9ed79377e79b7d2d61fe9da27394c44472c417e7d5717
diff --git a/dev-java/snip/metadata.xml b/dev-java/snip/metadata.xml
new file mode 100644
index 000000000000..989601c681b1
--- /dev/null
+++ b/dev-java/snip/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <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-r1.ebuild b/dev-java/snip/snip-0.11-r1.ebuild
new file mode 100644
index 000000000000..9da02b564ff8
--- /dev/null
+++ b/dev-java/snip/snip-0.11-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="an Apache ANT optional task that extracts snippets of code from text files"
+HOMEPAGE="http://www.martiansoftware.com/lab/snip.html"
+SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.zip -> ${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+CDEPEND="dev-java/ant-core:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+JAVA_GENTOO_CLASSPATH="ant-core"
+
+java_prepare() {
+ java-pkg_clean
+}