diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild')
-rw-r--r-- | dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
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 +} |