summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jabref/jabref-2.4.2.ebuild')
-rw-r--r--app-text/jabref/jabref-2.4.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-text/jabref/jabref-2.4.2.ebuild b/app-text/jabref/jabref-2.4.2.ebuild
index e743b66ebb64..228b1d84183d 100644
--- a/app-text/jabref/jabref-2.4.2.ebuild
+++ b/app-text/jabref/jabref-2.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.4.2.ebuild,v 1.2 2009/04/04 19:17:05 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.4.2.ebuild,v 1.3 2009/04/23 13:43:37 caster Exp $
EAPI=2
@@ -28,7 +28,8 @@ CDEPEND="dev-java/spin:0
dev-java/pdfbox:0
dev-java/commons-logging:0
dev-java/jpf:1.5
- dev-java/jpfcodegen:0"
+ dev-java/jpfcodegen:0
+ mysql? ( dev-java/jdbc-mysql:0 )"
RDEPEND=">=virtual/jre-1.5
${CDEPEND}"
@@ -74,6 +75,8 @@ src_install() {
java-pkg_dolauncher ${PN} \
--main net.sf.jabref.JabRef
+ java-pkg_register-optional-dependency jdbc-mysql
+
dodir /usr/share/${PN}/lib/plugins
keepdir /usr/share/${PN}/lib/plugins