diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-06-11 13:55:19 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-06-11 13:55:19 +0000 |
commit | 1e0eaae258b44bf4ecdf1b5b46fc46d370f6c310 (patch) | |
tree | b17cf8734689f4a3fd2f53c6a579e2700382c3ce /app-text/jabref/jabref-1.8_beta.ebuild | |
parent | - ifup/ifdown need run-parts. #95190 (diff) | |
download | historical-1e0eaae258b44bf4ecdf1b5b46fc46d370f6c310.tar.gz historical-1e0eaae258b44bf4ecdf1b5b46fc46d370f6c310.tar.bz2 historical-1e0eaae258b44bf4ecdf1b5b46fc46d370f6c310.zip |
New upstream version, fixes #95711.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-text/jabref/jabref-1.8_beta.ebuild')
-rw-r--r-- | app-text/jabref/jabref-1.8_beta.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app-text/jabref/jabref-1.8_beta.ebuild b/app-text/jabref/jabref-1.8_beta.ebuild new file mode 100644 index 000000000000..34378e81ccc2 --- /dev/null +++ b/app-text/jabref/jabref-1.8_beta.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-1.8_beta.ebuild,v 1.1 2005/06/11 13:55:19 luckyduck Exp $ + +inherit java-pkg eutils + +DESCRIPTION="GUI frontend for BibTeX, written in Java" +HOMEPAGE="http://jabref.sourceforge.net/" +SRC_URI="mirror://sourceforge/jabref/JabRef-${PV/_beta/b}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="jikes" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.4.1 + jikes? ( dev-java/jikes ) + dev-java/junit" +RDEPEND=">=virtual/jre-1.4 + dev-java/spin + >=dev-java/antlr-2.7.3 + =dev-java/jgoodies-forms-1* + =dev-java/jgoodies-looks-1.2* + >=dev-java/commons-logging-1.0.4 + =dev-java/commons-httpclient-2*" + +S=${WORKDIR}/${P/_beta/b} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-nojarbundler.patch + + cd ${S}/lib && rm -f *.jar + java-pkg_jar-from antlr + java-pkg_jar-from spin + java-pkg_jar-from jgoodies-looks-1.2 + java-pkg_jar-from jgoodies-forms + java-pkg_jar-from commons-logging commons-logging.jar + java-pkg_jar-from commons-httpclient commons-httpclient.jar +} + + +src_compile() { + local antflags="jars" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar build/lib/${PN}.jar + + echo "#!/bin/bash" > ${PN} + echo '$(java-config -J) -classpath $(java-config -p commons-httpclient,commons-logging,antlr,jgoodies-forms,jgoodies-looks-1.2,spin,jabref) net.sf.jabref.JabRef "$@"' >> ${PN} + + dobin ${PN} + + newicon src/images/JabRef-icon.png JabRef-icon.png + make_desktop_entry jabref JabRef JabRef-icon.png Office +} |