aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gmail.com>2013-02-15 10:21:13 -0700
committerNicolas Bock <nicolasbock@gmail.com>2013-02-15 10:21:13 -0700
commitfa68d72e6422d175006fefa0a1c3e8485792f56e (patch)
tree4d030ad92cd67e56871924668f63e1e5c944dd4c /app-text/jabref/jabref-2.9.2-r1.ebuild
parentMerge branch 'master' of github.com:gentoo-science/sci (diff)
downloadsci-fa68d72e6422d175006fefa0a1c3e8485792f56e.tar.gz
sci-fa68d72e6422d175006fefa0a1c3e8485792f56e.tar.bz2
sci-fa68d72e6422d175006fefa0a1c3e8485792f56e.zip
Added ~x86 KEYWORD and API/README do docs.
Package-Manager: portage-2.2.0_alpha163
Diffstat (limited to 'app-text/jabref/jabref-2.9.2-r1.ebuild')
-rw-r--r--app-text/jabref/jabref-2.9.2-r1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-text/jabref/jabref-2.9.2-r1.ebuild b/app-text/jabref/jabref-2.9.2-r1.ebuild
new file mode 100644
index 000000000..4de57b8f3
--- /dev/null
+++ b/app-text/jabref/jabref-2.9.2-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java GUI frontend for managing BibTeX and other bibliographies."
+HOMEPAGE="http://jabref.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/JabRef-${PV}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+
+EANT_BUILD_TARGET="jars"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+src_install() {
+ java-pkg_newjar build/lib/JabRef-${PV}.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 || die "failed to create icon"
+ make_desktop_entry ${PN} JabRef JabRef-icon Office
+}