summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-05-31 18:49:12 +0000
committerVlastimil Babka <caster@gentoo.org>2009-05-31 18:49:12 +0000
commit50cbbaccdb7f8271960e5ad2a5782847024665e3 (patch)
tree6afb339cb607d25623337d023575cd5429ac30e0 /dev-java/simplyhtml
parentFix date (diff)
downloadgentoo-2-50cbbaccdb7f8271960e5ad2a5782847024665e3.tar.gz
gentoo-2-50cbbaccdb7f8271960e5ad2a5782847024665e3.tar.bz2
gentoo-2-50cbbaccdb7f8271960e5ad2a5782847024665e3.zip
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/simplyhtml')
-rw-r--r--dev-java/simplyhtml/ChangeLog8
-rw-r--r--dev-java/simplyhtml/simplyhtml-0.13.1.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-java/simplyhtml/ChangeLog b/dev-java/simplyhtml/ChangeLog
index b658cabcf7fd..9c17a2f93ff1 100644
--- a/dev-java/simplyhtml/ChangeLog
+++ b/dev-java/simplyhtml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/simplyhtml
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/simplyhtml/ChangeLog,v 1.13 2009/05/03 13:06:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/simplyhtml/ChangeLog,v 1.14 2009/05/31 18:49:12 caster Exp $
+
+*simplyhtml-0.13.1 (31 May 2009)
+
+ 31 May 2009; Vlastimil Babka <caster@gentoo.org>
+ +simplyhtml-0.13.1.ebuild:
+ Version bump.
03 May 2009; Markus Meier <maekke@gentoo.org> simplyhtml-0.12.5.ebuild:
amd64/x86 stable, bug #267737
diff --git a/dev-java/simplyhtml/simplyhtml-0.13.1.ebuild b/dev-java/simplyhtml/simplyhtml-0.13.1.ebuild
new file mode 100644
index 000000000000..5d68d7f33892
--- /dev/null
+++ b/dev-java/simplyhtml/simplyhtml-0.13.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/simplyhtml/simplyhtml-0.13.1.ebuild,v 1.1 2009/05/31 18:49:12 caster Exp $
+
+EAPI=2
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2 versionator
+
+MY_PN="SimplyHTML"
+MY_PV="$(replace_all_version_separators _)"
+#MY_P="${MY_PN}_${PV}"
+
+DESCRIPTION="Text processing application based on HTML and CSS files."
+HOMEPAGE="http://${PN}.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_src_${MY_PV}.tar.gz"
+#SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/javahelp
+ dev-java/gnu-regexp"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${PN}-${MY_PV}/src"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+java_prepare() {
+ # it wants to copy lib jars
+ sed -i '/copy file/d' build.xml || die
+}
+
+src_compile() {
+ local cp="$(java-pkg_getjars javahelp,gnu-regexp-1)"
+ eant -Dclasspath="${cp}" jar $(use_doc)
+}
+
+src_install() {
+ cd ..
+ java-pkg_dojar dist/lib/${MY_PN}*.jar
+
+ dodoc readme.txt || die
+
+ use doc && java-pkg_dojavadoc dist/api
+ use source && java-pkg_dosrc src/com src/de
+}