diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-12-19 21:32:16 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-12-19 21:32:16 +0000 |
commit | e6356fb96b2afed6d597178f3ef330c3c5490f18 (patch) | |
tree | a6751e9af574d4bd6cbeeffde59730e4d4a8451a /dev-java/nekohtml | |
parent | x86 stable, bug #202641 (diff) | |
download | gentoo-2-e6356fb96b2afed6d597178f3ef330c3c5490f18.tar.gz gentoo-2-e6356fb96b2afed6d597178f3ef330c3c5490f18.tar.bz2 gentoo-2-e6356fb96b2afed6d597178f3ef330c3c5490f18.zip |
Version bump.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'dev-java/nekohtml')
-rw-r--r-- | dev-java/nekohtml/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/nekohtml/files/digest-nekohtml-1.9.6 | 3 | ||||
-rw-r--r-- | dev-java/nekohtml/nekohtml-1.9.6.ebuild | 49 |
3 files changed, 58 insertions, 1 deletions
diff --git a/dev-java/nekohtml/ChangeLog b/dev-java/nekohtml/ChangeLog index ad7c69b39777..9aeddb8535ec 100644 --- a/dev-java/nekohtml/ChangeLog +++ b/dev-java/nekohtml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/nekohtml # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/ChangeLog,v 1.4 2007/03/08 01:22:12 wltjr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/ChangeLog,v 1.5 2007/12/19 21:32:16 betelgeuse Exp $ + +*nekohtml-1.9.6 (19 Dec 2007) + + 19 Dec 2007; Petteri Räty <betelgeuse@gentoo.org> +nekohtml-1.9.6.ebuild: + Version bump. 08 Mar 2007; William L. Thomson Jr. <wltjr@gentoo.org> -nekohtml-0.9.5.ebuild: diff --git a/dev-java/nekohtml/files/digest-nekohtml-1.9.6 b/dev-java/nekohtml/files/digest-nekohtml-1.9.6 new file mode 100644 index 000000000000..da992bd1abcb --- /dev/null +++ b/dev-java/nekohtml/files/digest-nekohtml-1.9.6 @@ -0,0 +1,3 @@ +MD5 fd4072759b9ce40b78873dd4b1f4cc4d nekohtml-1.9.6.tar.gz 395521 +RMD160 800725ba880f19cf2d623554eba1c5bf0f4c9471 nekohtml-1.9.6.tar.gz 395521 +SHA256 b0b40e4facee1ce2afae6402172835b8d86984117e8e9fe1e201afa6c29940a5 nekohtml-1.9.6.tar.gz 395521 diff --git a/dev-java/nekohtml/nekohtml-1.9.6.ebuild b/dev-java/nekohtml/nekohtml-1.9.6.ebuild new file mode 100644 index 000000000000..a15d192efb17 --- /dev/null +++ b/dev-java/nekohtml/nekohtml-1.9.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/nekohtml-1.9.6.ebuild,v 1.1 2007/12/19 21:32:16 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="A simple HTML scanner and tag balancer using standard XML interfaces." + +HOMEPAGE="http://nekohtml.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="Apache-2.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEP=">=dev-java/xerces-2.7" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +src_unpack() { + unpack ${A} + cd "${S}" + java-ant_rewrite-classpath + rm -v lib/*.jar *.jar || die + java-pkg_jar-from --into lib xerces-2 +} + +EANT_DOC_TARGET="" + +src_test() { + EANT_GENTOO_CLASSPATH="ant-core,xerces-2" eant test \ + -Djava.class.path="$(java-pkg_getjars xerces-2)" +} + +src_install() { + java-pkg_dojar build/lib/${PN}.jar + + if use doc; then + java-pkg_dojavadoc --symlink javadoc doc/javadoc + dohtml doc/* + fi + + use source && java-pkg_dosrc ./src/org + use examples && java-pkg_doexamples src/sample +} |