diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-25 23:08:25 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-25 23:08:25 +0000 |
commit | 403ebc5b0dffe66d7e99985bfc1fbfc301bee8c0 (patch) | |
tree | e97213552d139ce9593dcaad1dd6cb92ff608fdc /dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild | |
parent | Fixed multilib path. (diff) | |
download | gentoo-2-403ebc5b0dffe66d7e99985bfc1fbfc301bee8c0.tar.gz gentoo-2-403ebc5b0dffe66d7e99985bfc1fbfc301bee8c0.tar.bz2 gentoo-2-403ebc5b0dffe66d7e99985bfc1fbfc301bee8c0.zip |
Migrated to gen 2 and added the source use flag.
(Portage version: 2.1.2_rc3-r9)
Diffstat (limited to 'dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild')
-rw-r--r-- | dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild b/dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild new file mode 100644 index 000000000000..4cc4b4fc4185 --- /dev/null +++ b/dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtidy/jtidy-0_pre20010801-r1.ebuild,v 1.1 2006/12/25 23:08:25 betelgeuse Exp $ + +inherit eutils base java-pkg-2 java-ant-2 + +MY_PV="04aug2000r7" +DESCRIPTION="Tidy is a Java port of HTML Tidy , a HTML syntax checker and pretty printer." +HOMEPAGE="http://jtidy.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}-dev.zip" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${PN}-${MY_PV}-dev + +PATCHES="${FILESDIR}/${PN}-source-1.4.patch" + +src_compile() { + eant jar # Has javadoc premade +} + +src_install() { + java-pkg_dojar build/Tidy.jar + + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc src/org +} |