diff options
Diffstat (limited to 'dev-java/jakartacommons/jakartacommons-0.4.3.ebuild')
-rw-r--r-- | dev-java/jakartacommons/jakartacommons-0.4.3.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jakartacommons/jakartacommons-0.4.3.ebuild b/dev-java/jakartacommons/jakartacommons-0.4.3.ebuild new file mode 100644 index 000000000000..dce31b18799d --- /dev/null +++ b/dev-java/jakartacommons/jakartacommons-0.4.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jakartacommons/jakartacommons-0.4.3.ebuild,v 1.1 2004/09/17 09:36:42 axxo Exp $ + +inherit java-pkg eutils + +DESCRIPTION="jedit plugin: The JakartaCommons plugin provides a single point of dependency for plugins needing to use Apache Jakarta libraries. Currently included are BCEL, commons-collections, and commons-logging." + +HOMEPAGE="http://plugins.jedit.org/plugins/?JakartaCommons" +SRC_URI="mirror://sourceforge/jedit-plugins/JakartaCommons-${PV}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND=">=app-editors/jedit-4.2 + dev-java/ant" +RDEPEND="dev-java/bcel + dev-java/commons-collections + >=dev-java/commons-httpclient-2.0.1 + >=dev-java/commons-lang-2.0 + dev-java/commons-logging + dev-java/log4j" + +S=${WORKDIR}/JakartaCommons + +src_unpack() { + unpack ${A} + rm -f *.jar + cd ${S} + epatch ${FILESDIR}/props.patch +} + +src_compile() { + ant dist -Djedit.install.dir=/usr/share/jedit -Dinstall.dir=. || die "compile failed" +} + +src_install() { + java-pkg_dojar JakartaCommons.jar + dodir /usr/share/jedit/jars + dosym /usr/share/${PN}/lib/JakartaCommons.jar /usr/share/jedit/jars/JakartaCommons.jar + local libs="bcel commons-collections commons-httpclient commons-lang commons-logging log4j" + for lib in ${libs}; do + dosym /usr/share/${lib}/lib/${lib}.jar /usr/share/jedit/jars/${lib}.jar + done +} |