summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-10-05 19:48:45 +0000
committerVlastimil Babka <caster@gentoo.org>2007-10-05 19:48:45 +0000
commit90d752a950f49b8ccd68978fa4dfc0880c9f78d6 (patch)
treec6f52ff37359e67c79384d4b9c149ebe0154eca2 /app-text/jabref
parentalpha/sparc stable wrt #192247 (diff)
downloadhistorical-90d752a950f49b8ccd68978fa4dfc0880c9f78d6.tar.gz
historical-90d752a950f49b8ccd68978fa4dfc0880c9f78d6.tar.bz2
historical-90d752a950f49b8ccd68978fa4dfc0880c9f78d6.zip
Version bump, bug #193024. Also fixes bug #186941.
Package-Manager: portage-2.1.3.11
Diffstat (limited to 'app-text/jabref')
-rw-r--r--app-text/jabref/ChangeLog10
-rw-r--r--app-text/jabref/Manifest28
-rw-r--r--app-text/jabref/files/digest-jabref-2.3_beta23
-rw-r--r--app-text/jabref/files/jabref-2.1-classpath_cleanup.patch112
-rw-r--r--app-text/jabref/files/jabref-2.1-fix_jarbundler.patch27
-rw-r--r--app-text/jabref/files/jabref-2.3_beta2-jgoodies-forms.patch42
-rw-r--r--app-text/jabref/jabref-2.3_beta2.ebuild74
7 files changed, 144 insertions, 152 deletions
diff --git a/app-text/jabref/ChangeLog b/app-text/jabref/ChangeLog
index 48c829d22109..94d613abf617 100644
--- a/app-text/jabref/ChangeLog
+++ b/app-text/jabref/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-text/jabref
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.53 2007/07/29 12:04:21 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/ChangeLog,v 1.54 2007/10/05 19:48:44 caster Exp $
+
+*jabref-2.3_beta2 (05 Oct 2007)
+
+ 05 Oct 2007; Vlastimil Babka <caster@gentoo.org>
+ -files/jabref-2.1-classpath_cleanup.patch,
+ -files/jabref-2.1-fix_jarbundler.patch,
+ +files/jabref-2.3_beta2-jgoodies-forms.patch, +jabref-2.3_beta2.ebuild:
+ Version bump, bug #193024. Also fixes bug #186941.
29 Jul 2007; Vlastimil Babka <caster@gentoo.org> jabref-2.2.ebuild:
Force jgoodies-forms version to be <1.1.0 as a temporary workaround of bug
diff --git a/app-text/jabref/Manifest b/app-text/jabref/Manifest
index 8a5042406c8d..7f45df7dcfb5 100644
--- a/app-text/jabref/Manifest
+++ b/app-text/jabref/Manifest
@@ -1,24 +1,25 @@
-AUX jabref-2.1-classpath_cleanup.patch 6641 RMD160 12cb38928f7afa138931893484eb8905a095d43e SHA1 4e13a75b50a690d495de3a4fb0a691ced5f41eae SHA256 90ea4f0c3a6ecac2943b4ea09fcbd2dd0ad8d709ca3ffdb7ae180ada449b4d27
-MD5 be7486464f6b0b7c963b37fddb6bae72 files/jabref-2.1-classpath_cleanup.patch 6641
-RMD160 12cb38928f7afa138931893484eb8905a095d43e files/jabref-2.1-classpath_cleanup.patch 6641
-SHA256 90ea4f0c3a6ecac2943b4ea09fcbd2dd0ad8d709ca3ffdb7ae180ada449b4d27 files/jabref-2.1-classpath_cleanup.patch 6641
-AUX jabref-2.1-fix_jarbundler.patch 1042 RMD160 3817c809e98a1d538d07fb2c1914d5c2bbc21966 SHA1 3b7dbf2910bb42db4972bb09040ae0406d5fc803 SHA256 378bb13137ba1219d5fac0fee3e41fa3d45a8349ebf6a9df5db75abaf73a9683
-MD5 227f76de4bb656c451da2316ade6d318 files/jabref-2.1-fix_jarbundler.patch 1042
-RMD160 3817c809e98a1d538d07fb2c1914d5c2bbc21966 files/jabref-2.1-fix_jarbundler.patch 1042
-SHA256 378bb13137ba1219d5fac0fee3e41fa3d45a8349ebf6a9df5db75abaf73a9683 files/jabref-2.1-fix_jarbundler.patch 1042
AUX jabref-2.2-build.xml.patch 1034 RMD160 9821c42b83d8d181bb90478671ddbf05336991c4 SHA1 b42a04ba198e621b599e9fc86137efe4cb2f893d SHA256 4e7d5ab982989c0b824c8795c709fb6ffb25f1c9c414a231bbd228b1fde12435
MD5 f02bc0280631c71ca769fa561ceaaea5 files/jabref-2.2-build.xml.patch 1034
RMD160 9821c42b83d8d181bb90478671ddbf05336991c4 files/jabref-2.2-build.xml.patch 1034
SHA256 4e7d5ab982989c0b824c8795c709fb6ffb25f1c9c414a231bbd228b1fde12435 files/jabref-2.2-build.xml.patch 1034
+AUX jabref-2.3_beta2-jgoodies-forms.patch 2138 RMD160 56195a6ebaa96a35dce2a16f754101b17b400cba SHA1 66da083a3e018fe3f051011d58ca51987f6a4b54 SHA256 5bb01c6efe9c589e811635bf6f76699c7e49740cb45708d0b2e5edb3dac72399
+MD5 5d6fbd60557bb809de66a6d42ff04cb9 files/jabref-2.3_beta2-jgoodies-forms.patch 2138
+RMD160 56195a6ebaa96a35dce2a16f754101b17b400cba files/jabref-2.3_beta2-jgoodies-forms.patch 2138
+SHA256 5bb01c6efe9c589e811635bf6f76699c7e49740cb45708d0b2e5edb3dac72399 files/jabref-2.3_beta2-jgoodies-forms.patch 2138
DIST JabRef-2.2-src.tar.bz2 4150837 RMD160 0b087c1d5de65223f055822469a448e5e60129eb SHA1 9f44729b9e3f97ca6dec7b5416f620e4ec09b43e SHA256 96d6da2ce9893f5a117b4e3a748a6710b3b5dbf742382be9391d0867e11b0b38
+DIST JabRef-2.3b2-src.tar.bz2 4229979 RMD160 f3132bc3bc8c77f382fde128fd75582e23915752 SHA1 676f21db28f2ef7ebae7549223189dcbd1a91ff2 SHA256 6c7ded7b1c089e9c075dad82914336910db1a095ec90687b243fd682ebbfa6ae
EBUILD jabref-2.2.ebuild 1696 RMD160 9e2a722102ca59f2a65128730bd4cc8b9fa2edbe SHA1 fc82f71fee5d9ecf3f03eed610015772cc0dfe14 SHA256 07933b332e21bf40ff413485c5dbb69d4d4170b84bdc1038aa4e2441031e3254
MD5 858d1bae4ccc656c3cbc55516d2d51fd jabref-2.2.ebuild 1696
RMD160 9e2a722102ca59f2a65128730bd4cc8b9fa2edbe jabref-2.2.ebuild 1696
SHA256 07933b332e21bf40ff413485c5dbb69d4d4170b84bdc1038aa4e2441031e3254 jabref-2.2.ebuild 1696
-MISC ChangeLog 7349 RMD160 889dbe23740def17ada6f252e977d9f595cb13cc SHA1 e5ffd926052151919303a427422c730cd9be0d37 SHA256 126738a8a45b36777bca2ad6727f0a5901ceb6ada6dc9e4720933a004aaa8f0b
-MD5 8e8736222248958ca96dca13287e5561 ChangeLog 7349
-RMD160 889dbe23740def17ada6f252e977d9f595cb13cc ChangeLog 7349
-SHA256 126738a8a45b36777bca2ad6727f0a5901ceb6ada6dc9e4720933a004aaa8f0b ChangeLog 7349
+EBUILD jabref-2.3_beta2.ebuild 1888 RMD160 76d1f1ab74a7407c6dcef744c62b0cc9099e450e SHA1 237461fadcbd8ea6ae1ff4aa1c743ee80058b589 SHA256 0d32dd5fa5dc5520fd510cd47d9d6b1e9bd36ffa717a3880d8cb712c13b36c82
+MD5 ff98e432c1965be17f96e9b72d76faa2 jabref-2.3_beta2.ebuild 1888
+RMD160 76d1f1ab74a7407c6dcef744c62b0cc9099e450e jabref-2.3_beta2.ebuild 1888
+SHA256 0d32dd5fa5dc5520fd510cd47d9d6b1e9bd36ffa717a3880d8cb712c13b36c82 jabref-2.3_beta2.ebuild 1888
+MISC ChangeLog 7648 RMD160 cb861c4c85da0a40d9f66edb2cd3d3f5bef4674d SHA1 1b26ea375970694382e31d2d93eb0b29fdd56275 SHA256 1118ba0fadd041ba7a3d4ee3bbf429472081b36aa9c4be33a3a93fd86a6674b0
+MD5 150973868b7048591faac4543dcd86b9 ChangeLog 7648
+RMD160 cb861c4c85da0a40d9f66edb2cd3d3f5bef4674d ChangeLog 7648
+SHA256 1118ba0fadd041ba7a3d4ee3bbf429472081b36aa9c4be33a3a93fd86a6674b0 ChangeLog 7648
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -26,3 +27,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
MD5 25302568908d68b31ec8720cfc5c598d files/digest-jabref-2.2 250
RMD160 8102e1e88f5b62e080d2b3ac7bbcf608f33a7d15 files/digest-jabref-2.2 250
SHA256 4c24821b7dafac0fe55d7e9fa5776048b37cbda52ffbe5d7b822b9e193d1ba9a files/digest-jabref-2.2 250
+MD5 0675e9f71f33124acf1aa4c23b7cab9d files/digest-jabref-2.3_beta2 256
+RMD160 1a66cbd02c57ae81f41d26901e0c7d512575c2fb files/digest-jabref-2.3_beta2 256
+SHA256 af83e30b3b6021302cc7bbd806eee90f71114c8071e869611f4aae6c7862a267 files/digest-jabref-2.3_beta2 256
diff --git a/app-text/jabref/files/digest-jabref-2.3_beta2 b/app-text/jabref/files/digest-jabref-2.3_beta2
new file mode 100644
index 000000000000..ee032c886ce6
--- /dev/null
+++ b/app-text/jabref/files/digest-jabref-2.3_beta2
@@ -0,0 +1,3 @@
+MD5 c8fc2e3fd62be40327c1f09fc5b25a6f JabRef-2.3b2-src.tar.bz2 4229979
+RMD160 f3132bc3bc8c77f382fde128fd75582e23915752 JabRef-2.3b2-src.tar.bz2 4229979
+SHA256 6c7ded7b1c089e9c075dad82914336910db1a095ec90687b243fd682ebbfa6ae JabRef-2.3b2-src.tar.bz2 4229979
diff --git a/app-text/jabref/files/jabref-2.1-classpath_cleanup.patch b/app-text/jabref/files/jabref-2.1-classpath_cleanup.patch
deleted file mode 100644
index 6ca18c41277e..000000000000
--- a/app-text/jabref/files/jabref-2.1-classpath_cleanup.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-diff -uNr jabref-2.1-orig/build.xml jabref-2.1/build.xml
---- jabref-2.1-orig/build.xml 2006-08-28 12:21:00.000000000 +1000
-+++ jabref-2.1/build.xml 2006-08-28 12:11:50.000000000 +1000
-@@ -166,17 +166,7 @@
- <javac debug="off" deprecation="on" destdir="${build.classes}" source="1.4" target="1.4">
- <src path="${java.dir}"/>
- <exclude name="tests/**"/>
-- <classpath>
-- <pathelement path="${build.classes}" />
-- <!--<pathelement location="${library.directory}/commons-httpclient-2.0.jar" />
-- <pathelement location="${library.directory}/commons-logging.jar" />-->
-- <pathelement location="${library.directory}/antlr.jar" />
-- <pathelement location="${library.directory}/looks-2.0.4.jar" />
-- <pathelement location="${library.directory}/forms-1.0.4.jar" />
-- <pathelement location="${library.directory}/spin-1.4.jar" />
-- <pathelement location="${library.directory}/glazedlists-1.5.0_java14.jar" />
-- <pathelement location="${library.directory}/microba.jar" />
-- </classpath>
-+ <classpath refid="classpath"/>
- </javac>
- </target>
-
-@@ -185,14 +175,7 @@
- <mkdir dir="${build.classes}" />
- <!--deprecation="on"-->
- <javac srcdir="${java.dir}/tests" debug="off" destdir="${build.classes}" source="1.4" target="1.4">
-- <classpath>
-- <pathelement path="${build.classes}" />
-- <!--<pathelement location="${library.directory}/commons-httpclient-2.0.jar" />
-- <pathelement location="${library.directory}/commons-logging.jar" />-->
-- <pathelement location="${library.directory}/antlr.jar" />
-- <pathelement location="${library.directory}/looks-2.0.4.jar" />
-- <pathelement location="${library.directory}/spin-1.4.jar" />
-- </classpath>
-+ <classpath refid="classpath"/>
- </javac>
-
- </target>
-@@ -440,12 +423,7 @@
- <target name="pmd" description="SOFTWAREDESIGN: Project Mess Detector !;-)">
- <echo>Checking Project Mess Detection (PMD) rulesets.</echo>
- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask">
-- <classpath>
-- <pathelement path="${classpath}" />
-- <fileset dir="${library.directory}">
-- <include name="*.jar" />
-- </fileset>
-- </classpath>
-+ <classpath refid="classpath"/>
- </taskdef>
- <!-- allowed Pretty Much Done rulsets -->
- <!-- rulesets/basic.xml -->
-@@ -476,12 +454,7 @@
- <echo>WARNING: use environment variable: ANT_OPTS=-Xmx512m or this task will fail.</echo>
- <echo>Checking for duplicated code using the Copy/Paste Detector (CPD).</echo>
- <taskdef name="cpd" classname="net.sourceforge.pmd.cpd.CPDTask">
-- <classpath>
-- <pathelement path="${classpath}" />
-- <fileset dir="${library.directory}">
-- <include name="*.jar" />
-- </fileset>
-- </classpath>
-+ <classpath refid="classpath"/>
- </taskdef>
- <cpd format="text" minimumTokenCount="100" outputFile="${build.dir}/duplicated_code_report.txt">
- <fileset dir="${src.dir}">
-@@ -493,12 +466,7 @@
-
- <target name="javancss" description="SOFTWAREDESIGN: Determining the NCSS and CCN code metrics for JOELib.">
- <taskdef name="javancss" classname="javancss.JavancssAntTask">
-- <classpath>
-- <pathelement path="${classpath}" />
-- <fileset dir="${library.directory}">
-- <include name="*.jar" />
-- </fileset>
-- </classpath>
-+ <classpath refid="classpath"/>
- </taskdef>
- <echo>Cyclomatic
- Complexity Ease of Risk
-@@ -516,12 +484,7 @@
-
- <target name="jalopy" description="SOFTWAREDESIGN: source code formatter using the JOELib convention.">
- <taskdef name="jalopy" classname="de.hunsicker.jalopy.plugin.ant.AntPlugin">
-- <classpath>
-- <pathelement path="${classpath}" />
-- <fileset dir="${library.directory}">
-- <include name="*.jar" />
-- </fileset>
-- </classpath>
-+ <classpath refid="classpath"/>
- </taskdef>
- <jalopy fileformat="unix" convention="${src.dir}/java/jalopy.format.convention.xml" history="file" historymethod="adler32" loglevel="error" threads="2" classpathref="classpath" backup="bak">
- <fileset dir="${src.dir}">
-@@ -539,16 +502,7 @@
- </fileset>
- </batchtest>
-
-- <classpath>
-- <pathelement location="${build.lib}/jabref.jar" />
-- <!--<pathelement location="${library.directory}/commons-httpclient-2.0.jar" />
-- <pathelement location="${library.directory}/commons-logging.jar" />-->
-- <pathelement location="${library.directory}/antlr.jar" />
-- <pathelement location="${library.directory}/looks-2.0.4.jar" />
-- <pathelement location="${library.directory}/looks-2.0.4.jar" />
-- <pathelement location="${library.directory}/spin-1.4.jar" />
-- </classpath>
--
-+ <classpath refid="classpath"/>
- <!--<test name="tests.net.sf.jabref.export.layout.format.AuthorLastFirstAbbreviatorTester"/>-->
- </junit>
- </target>
diff --git a/app-text/jabref/files/jabref-2.1-fix_jarbundler.patch b/app-text/jabref/files/jabref-2.1-fix_jarbundler.patch
deleted file mode 100644
index fa37b73d0e97..000000000000
--- a/app-text/jabref/files/jabref-2.1-fix_jarbundler.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -uNr jabref-2.1-orig/build.xml jabref-2.1/build.xml
---- jabref-2.1-orig/build.xml 2006-08-28 12:02:36.000000000 +1000
-+++ jabref-2.1/build.xml 2006-08-28 12:05:21.000000000 +1000
-@@ -88,11 +88,6 @@
- <property name="library.directory" value="lib" />
-
-
-- <taskdef name="jarbundler"
-- classpath="${library.directory}/jarbundler-1.4.jar"
-- classname="com.loomcom.ant.tasks.jarbundler.JarBundler" />
--
--
- <!-- Build classpath -->
- <path id="classpath">
- <pathelement path="${build.classes}" />
-@@ -423,7 +418,10 @@
-
-
- <target name="osxjar">
-- <jarbundler dir="${build.lib}"
-+ <taskdef name="jarbundler"
-+ classpath="${library.directory}/jarbundler-1.4.jar"
-+ classname="com.loomcom.ant.tasks.jarbundler.JarBundler" />
-+ <jarbundler dir="${build.lib}"
- name="JabRef"
- mainclass="net.sf.jabref.JabRef"
- jars="${build.lib}/${jabref.bin}.jar"
diff --git a/app-text/jabref/files/jabref-2.3_beta2-jgoodies-forms.patch b/app-text/jabref/files/jabref-2.3_beta2-jgoodies-forms.patch
new file mode 100644
index 000000000000..8852ba390a86
--- /dev/null
+++ b/app-text/jabref/files/jabref-2.3_beta2-jgoodies-forms.patch
@@ -0,0 +1,42 @@
+diff --git a/src/java/net/sf/jabref/EntryEditorTab.java b/src/java/net/sf/jabref/EntryEditorTab.java
+index 6b8a8f4..041fcd6 100644
+--- a/src/java/net/sf/jabref/EntryEditorTab.java
++++ b/src/java/net/sf/jabref/EntryEditorTab.java
+@@ -133,7 +133,7 @@ public class EntryEditorTab {
+ String rowSpec = sb.toString();
+
+ DefaultFormBuilder builder = new DefaultFormBuilder
+- (panel, new FormLayout(colSpec, rowSpec));
++ (new FormLayout(colSpec, rowSpec), panel);
+
+ for (int i = 0; i < fields.length; i++) {
+ // Create the text area:
+diff --git a/src/java/net/sf/jabref/external/DroppedFileHandler.java b/src/java/net/sf/jabref/external/DroppedFileHandler.java
+index 84527c4..a606c4a 100644
+--- a/src/java/net/sf/jabref/external/DroppedFileHandler.java
++++ b/src/java/net/sf/jabref/external/DroppedFileHandler.java
+@@ -65,8 +65,8 @@ public class DroppedFileHandler {
+ grp.add(moveRadioButton);
+ copyRadioButton.setSelected(true);
+
+- DefaultFormBuilder builder = new DefaultFormBuilder(optionsPanel, new FormLayout(
+- "left:pref", ""));
++ DefaultFormBuilder builder = new DefaultFormBuilder(new FormLayout("left:pref", ""),
++ optionsPanel);
+ builder.append(linkInPlace);
+ builder.append(destDirLabel);
+ builder.append(copyRadioButton);
+diff --git a/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java b/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
+index 5724dde..4a5b409 100644
+--- a/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
++++ b/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
+@@ -86,8 +86,7 @@ public class FileLinksUpgradeWarning implements PostOpenAction {
+ sb.append("</html>");
+
+ JPanel message = new JPanel();
+- DefaultFormBuilder b = new DefaultFormBuilder(message,
+- new FormLayout("left:pref", ""));
++ DefaultFormBuilder b = new DefaultFormBuilder(new FormLayout("left:pref", ""), message);
+ b.append(new JLabel(sb.toString()));
+ b.nextLine();
+ if (offerChangeSettings) {
diff --git a/app-text/jabref/jabref-2.3_beta2.ebuild b/app-text/jabref/jabref-2.3_beta2.ebuild
new file mode 100644
index 000000000000..bc57a8be6eb0
--- /dev/null
+++ b/app-text/jabref/jabref-2.3_beta2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/jabref/jabref-2.3_beta2.ebuild,v 1.1 2007/10/05 19:48:44 caster Exp $
+
+JAVA_PKG_IUSE="doc"
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV="${PV/_beta/b}"
+
+DESCRIPTION="GUI frontend for BibTeX, written in Java"
+HOMEPAGE="http://jabref.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+CDEPEND="dev-java/spin
+ >=dev-java/glazedlists-1.5.0
+ >=dev-java/antlr-2.7.3
+ >=dev-java/jgoodies-forms-1.0.5
+ >=dev-java/jgoodies-looks-2.0
+ >=dev-java/microba-0.4.3
+ dev-java/jempbox
+ dev-java/pdfbox"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.5
+ ${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ # moves jarbundler definition to where it's needed (not by us)
+ # don't call unjarlib, don't want to absorb deps
+ epatch "${FILESDIR}/${PN}-2.2-build.xml.patch"
+ # support >=jgoodies-forms-1.1.0 - bug #186941 - sent also upstream
+ epatch "${FILESDIR}/${P}-jgoodies-forms.patch"
+
+ mkdir libs
+ mv lib/antlr-3* libs/antlr3.jar
+ rm -v lib/*
+
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ java-pkg_filter-compiler jikes
+
+ local gcp=$(java-pkg_getjars antlr,spin,glazedlists,jgoodies-looks-2.0,jgoodies-forms,microba,jempbox,pdfbox)
+ gcp="${gcp}:libs/antlr3.jar"
+ eant -Dgentoo.classpath="${gcp}" jars \
+ $(use_doc -Dbuild.javadocs=build/docs/api javadocs)
+}
+
+src_install() {
+ java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
+ java-pkg_dojar libs/antlr3.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
+ make_desktop_entry jabref JabRef JabRef-icon.png Office
+}