diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-27 19:24:10 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-01-27 19:24:10 +0000 |
commit | 6083873f2d2db624f0ffa134c10d6f8eed5c10fe (patch) | |
tree | 458b765d76a57392a72317fea875db0e666f5c81 /dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild | |
parent | sparc stable wrt #207266, thanks to Friedrich Oslage for testing (diff) | |
download | gentoo-2-6083873f2d2db624f0ffa134c10d6f8eed5c10fe.tar.gz gentoo-2-6083873f2d2db624f0ffa134c10d6f8eed5c10fe.tar.bz2 gentoo-2-6083873f2d2db624f0ffa134c10d6f8eed5c10fe.zip |
Use SLOT 2.0 of jgoodies-looks.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild')
-rw-r--r-- | dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild b/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild new file mode 100644 index 000000000000..759d4b725e60 --- /dev/null +++ b/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcalendar/jcalendar-1.3.2-r1.ebuild,v 1.1 2008/01/27 19:24:10 betelgeuse Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Java date chooser bean for graphically picking a date." +SRC_URI="http://www.toedter.com/download/${P}.zip" +HOMEPAGE="http://www.toedter.com/en/jcalendar/" +LICENSE="LGPL-2.1" +SLOT="1.2" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +COMMON_DEPEND="dev-java/jgoodies-looks:2.0" +RDEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + >=app-arch/unzip-5.50-r1 + ${COMMON_DEPEND}" + +S=${WORKDIR} + +# NOTE: build.xml contains no tests + +src_unpack() { + unpack ${A} + + cd "${S}/lib" + rm -v *.jar || die + java-pkg_jar-from jgoodies-looks-2.0 +} + +EANT_BUILD_XML="src/build.xml" +EANT_DOC_TARGET="dist" + +src_install() { + java-pkg_newjar lib/${P}.jar + + dodoc readme.txt || die + # Other stuff besides javadoc + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/com +} |