summaryrefslogtreecommitdiff
path: root/dev-java/simplyhtml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/simplyhtml
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/simplyhtml')
-rw-r--r--dev-java/simplyhtml/Manifest5
-rw-r--r--dev-java/simplyhtml/metadata.xml11
-rw-r--r--dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild61
3 files changed, 77 insertions, 0 deletions
diff --git a/dev-java/simplyhtml/Manifest b/dev-java/simplyhtml/Manifest
new file mode 100644
index 000000000000..57f3d0f794ba
--- /dev/null
+++ b/dev-java/simplyhtml/Manifest
@@ -0,0 +1,5 @@
+DIST SimplyHTML_src_0_13_1.tar.gz 473258 SHA256 34ad16951e1165261e81f1a23ba6791e8391888749b19429d7f067e3ca1300dd SHA512 e37140ef7461f2c741f43ce14518e224cb41ddb42c4d396f8f934476a5fbbe4d121950dc3186ba1ae603068e81832a92240e99cd25d3778574c0d3f370d501ac WHIRLPOOL 3f29e95d3b5369507f5e769501b01084667125f1a4744f24275168cc417c1d7ab48f6f5e4ea9f1ef17c933a94d868b9de79562ae8bc6db72b16da0bb03474ea8
+EBUILD simplyhtml-0.13.1-r1.ebuild 1251 SHA256 c1a713cd9cf7352d5a63b43640dac56ac7a2b8b50e304eb9e7169a3bc9ce0494 SHA512 c812b88a0ec17a6773090f39db390423ed0c61d13cb49a7073338065d445b7f83add4629612561be0a67b28cb5726a84d651bdda9733947c2024fbde64d521a8 WHIRLPOOL b47b772a00669d62b84472af1e5e718ddc9bc033a0c3c0d72a97869e9da815d1d514ca2200a39982b084d60f27a2abfe1195a42bfb4e5d16c8ce88f6efbdf852
+MISC ChangeLog 3288 SHA256 9697d140c2cd89b159949b4a5f5555aa4bd1b3f73776927987e2e28f943ac7ec SHA512 c59f3abbb5038bd0b073dd3dce579c45b13ac6da2dc2d4db8aeb904a4b444016d485fa2883c30b8e98d21fb4ae72afde58fcbb0fb9a16aedf72ba6f5ae7e94fd WHIRLPOOL cb86b09df6863842f53637e855aa8a59e519ea251817810264356bff7b09321e048445f02e4d90b78cabe7b79b157b7e8dac4e59aad816f6894633cdd65aee9b
+MISC ChangeLog-2015 3307 SHA256 eed6f6074e00d45a8b6965b59cbb140edb556d9efbc1bc60cad912abd012d873 SHA512 1f766242ce16d913e6a8327713b4c132b06fec152abec0143a4bda9875b78cbe8adfefaba22e66304858339792af60bcebcb643cf968c6d96c5613bbf2dbea4e WHIRLPOOL 270bca9e07cd991b1afdaeefa24f8934f1aa91da731ba43d4ecd20ff61b853885e958cf3ecd7ef5641401b5c5c847f98231985776d21e85a8bdfb29cef6be2d5
+MISC metadata.xml 316 SHA256 697e30150071fd5e0ee9d04299b64154b326b46e0ad3b90347eee7d8ac7d39e0 SHA512 00e41e5c4ed97928aa67e96c81ef04305929bad8454b0d5608a73da37c6c90e1421c20627c95d8f280e4bcde27e640ed454521a0fa5376035cf7021d09e4a4ea WHIRLPOOL abb382b724c63e6054daba0976f4da6d102447eac8fa2e9afb2f837fdef00f3485efbf52089df69c79ef18e1c6fcccb51647c47952ef193f1d2bdf0dcb97328b
diff --git a/dev-java/simplyhtml/metadata.xml b/dev-java/simplyhtml/metadata.xml
new file mode 100644
index 000000000000..03b71de3b0e9
--- /dev/null
+++ b/dev-java/simplyhtml/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">simplyhtml</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild b/dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild
new file mode 100644
index 000000000000..fc91a2631935
--- /dev/null
+++ b/dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+inherit versionator java-pkg-2 java-ant-2
+
+MY_PN="SimplyHTML"
+MY_PV="$(replace_all_version_separators _)"
+
+DESCRIPTION="Text processing application based on HTML and CSS files"
+HOMEPAGE="http://simplyhtml.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_src_${MY_PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+IUSE=""
+
+CDEPEND="
+ dev-java/javahelp:0
+ dev-java/gnu-regexp:1"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_GENTOO_CLASSPATH="
+ javahelp
+ gnu-regexp-1
+"
+EANT_BUILD_TARGET="jar"
+EANT_BUILD_XML="src/build.xml"
+
+java_prepare() {
+ # Avoid copying lib jars.
+ sed -i '/copy file/d' src/build.xml || die
+}
+
+src_install() {
+ local my_jars=(
+ "${MY_PN}.jar"
+ "${MY_PN}Help.jar"
+ )
+
+ for my_jar in "${my_jars[@]}"; do
+ java-pkg_dojar "dist/lib/${my_jar}"
+ done
+
+ dodoc readme.txt
+ use doc && java-pkg_dojavadoc dist/api
+ use source && java-pkg_dosrc src/com src/de
+}