summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-14 08:30:07 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-14 08:31:43 +0000
commitbf1857a43140100a035382e70dec8d4e95f71683 (patch)
treebeaeade186f918d07b5afeb691c7fc5d7e76f4bf /dev-java/simplyhtml
parentwww-servers/apache: Removed old. (diff)
downloadgentoo-bf1857a43140100a035382e70dec8d4e95f71683.tar.gz
gentoo-bf1857a43140100a035382e70dec8d4e95f71683.tar.bz2
gentoo-bf1857a43140100a035382e70dec8d4e95f71683.zip
dev-java/simplyhtml: EAPI 5 bump.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/simplyhtml')
-rw-r--r--dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild59
1 files changed, 59 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..5bf7b92faf19
--- /dev/null
+++ b/dev-java/simplyhtml/simplyhtml-0.13.1-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~ppc ~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=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+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
+}