aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jabref/jabref-2.10_beta2.ebuild')
-rw-r--r--app-text/jabref/jabref-2.10_beta2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-text/jabref/jabref-2.10_beta2.ebuild b/app-text/jabref/jabref-2.10_beta2.ebuild
new file mode 100644
index 000000000..e24139772
--- /dev/null
+++ b/app-text/jabref/jabref-2.10_beta2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EANT_DOC_TARGET="docs"
+EANT_BUILD_TARGET="jars"
+
+inherit eutils java-pkg-2 java-ant-2 java-utils-2
+
+SFVERSION="2.10b2"
+
+DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
+HOMEPAGE="http://jabref.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/JabRef-${SFVERSION}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7"
+
+S="${WORKDIR}/${PN}-${SFVERSION}"
+
+src_install() {
+ java-pkg_newjar build/lib/JabRef-${SFVERSION}.jar
+ use doc && java-pkg_dojavadoc build/docs/API
+ dodoc src/txt/README
+ java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
+ newicon src/images/JabRef-icon-48.png JabRef-icon.png
+ make_desktop_entry ${PN} JabRef JabRef-icon Office
+}