diff options
author | Nicolas Bock <nicolasbock@gmail.com> | 2013-06-17 11:38:06 -0600 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gmail.com> | 2013-06-17 11:38:06 -0600 |
commit | 4d356d3fcf4c2eea74157f3e1dca2449cacc0752 (patch) | |
tree | 17855672b29b2be312bdb49697947aa11bec84df /app-text/jabref/jabref-2.10_beta.ebuild | |
parent | media-gfx/librecad: Cleanup and apply patch from bug #473388 (diff) | |
download | sci-4d356d3fcf4c2eea74157f3e1dca2449cacc0752.tar.gz sci-4d356d3fcf4c2eea74157f3e1dca2449cacc0752.tar.bz2 sci-4d356d3fcf4c2eea74157f3e1dca2449cacc0752.zip |
Renamed ebuild to conform with Gentoo Ebuild Naming Convention (TM).
http://devmanual.gentoo.org/ebuild-writing/file-format/
Package-Manager: portage-2.2.0_alpha180
Diffstat (limited to 'app-text/jabref/jabref-2.10_beta.ebuild')
-rw-r--r-- | app-text/jabref/jabref-2.10_beta.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/jabref/jabref-2.10_beta.ebuild b/app-text/jabref/jabref-2.10_beta.ebuild new file mode 100644 index 000000000..955092cc0 --- /dev/null +++ b/app-text/jabref/jabref-2.10_beta.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +EANT_DOC_TARGET=javadocs +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java GUI for managing BibTeX and other bibliographies" +HOMEPAGE="http://jabref.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/JabRef-2.10b-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +EANT_BUILD_TARGET="jars" + +DEPEND=">=virtual/jdk-1.7" +RDEPEND=">=virtual/jre-1.7" + +S="${WORKDIR}/${PN}-2.10b" + +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 + make_desktop_entry ${PN} JabRef JabRef-icon Office +} |