diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2013-01-01 22:22:44 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2013-01-01 22:22:44 +0000 |
commit | 7de82b9a160cc55138cd5cb4bcbae9df0f61f2dd (patch) | |
tree | 0ef1a9e65bf42df9d400ee338702e4ad696ebb89 /print/jabref | |
parent | ad1913df1ea621646d38dfc73b216b830228bd38 (diff) | |
download | ports-7de82b9a160cc55138cd5cb4bcbae9df0f61f2dd.tar.gz ports-7de82b9a160cc55138cd5cb4bcbae9df0f61f2dd.zip |
Update to new upstream release 2.9.1.
Add .desktop and icon file.
Changes since 2.9:
- Command line option --importToOpen now also adds to an open tab when
JabRef is launched.
- Importing of entries works again. Fixes bug 1121.
- Import inspection dialog is now modal.
- Replaced Java launcher by launch4j. Fixes bugs 1100, 1103, 1123.
- Menu font size can now be changed again. Help contents are also enlarged
accordingly. Fixes bug 1122.
Changes since 2.8.1:
see http://jabref.sourceforge.net/revisionhistory.php
Notes
Notes:
svn path=/head/; revision=309785
Diffstat (limited to 'print/jabref')
-rw-r--r-- | print/jabref/Makefile | 13 | ||||
-rw-r--r-- | print/jabref/distinfo | 4 | ||||
-rw-r--r-- | print/jabref/files/JabRef-icon-48.png | bin | 0 -> 2028 bytes | |||
-rw-r--r-- | print/jabref/files/jabref.desktop.in | 11 | ||||
-rw-r--r-- | print/jabref/pkg-plist | 7 |
5 files changed, 28 insertions, 7 deletions
diff --git a/print/jabref/Makefile b/print/jabref/Makefile index 2f86c6770e99..45bf5fed02e0 100644 --- a/print/jabref/Makefile +++ b/print/jabref/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= jabref -PORTVERSION= 2.8.1 +PORTVERSION= 2.9.1 PORTEPOCH= 1 CATEGORIES= print java editors MASTER_SITES= SF @@ -21,17 +21,20 @@ JAVA_VERSION= 1.6+ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} +icon= ${DATADIR}/${PORTNAME}-icon48x48.png -SUB_FILES= ${PORTNAME}.sh +SUB_FILES= ${PORTNAME}.sh ${PORTNAME}.desktop SUB_LIST= JARNAME=${PORTNAME}.jar -PLIST_FILES= %%DATADIR%%/${PORTNAME}.jar \ - bin/${PORTNAME} -PLIST_DIRS= %%DATADIR%% +USE_GNOME= desktopfileutils do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${DATADIR}/${PORTNAME}.jar ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + ${INSTALL_DATA} ${FILESDIR}/JabRef-icon-48.png "${icon}" + ${MKDIR} ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} + -${LOCALBASE}/bin/update-desktop-database > /dev/null .include <bsd.port.mk> diff --git a/print/jabref/distinfo b/print/jabref/distinfo index 55221f0d6862..31d21cd668a4 100644 --- a/print/jabref/distinfo +++ b/print/jabref/distinfo @@ -1,2 +1,2 @@ -SHA256 (JabRef-2.8.1.jar) = 34d82c7bcaa4158275a6604caf68771273df92f5500f34b0aa88dd2a7b6482bf -SIZE (JabRef-2.8.1.jar) = 12894079 +SHA256 (JabRef-2.9.1.jar) = a59579c8149f420672f7b8e32dbaabc2f14770c3ceb561af4f825b0bfcf5ca2d +SIZE (JabRef-2.9.1.jar) = 15099372 diff --git a/print/jabref/files/JabRef-icon-48.png b/print/jabref/files/JabRef-icon-48.png Binary files differnew file mode 100644 index 000000000000..ed424d7d25c0 --- /dev/null +++ b/print/jabref/files/JabRef-icon-48.png diff --git a/print/jabref/files/jabref.desktop.in b/print/jabref/files/jabref.desktop.in new file mode 100644 index 000000000000..4b0048d0dd61 --- /dev/null +++ b/print/jabref/files/jabref.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Docear +Comment=Open Source Bibliography Reference Manager for BibTeX databases +Icon=%%PREFIX%%/share/jabref/jabref-icon48x48.png +Exec=%%PREFIX%%/bin/jabref %f +MimeTypes=text/x-bibtex; +Categories=Education;Science; +StartupNotify=false diff --git a/print/jabref/pkg-plist b/print/jabref/pkg-plist new file mode 100644 index 000000000000..6e97aabc4e61 --- /dev/null +++ b/print/jabref/pkg-plist @@ -0,0 +1,7 @@ +bin/jabref +%%DATADIR%%/jabref.jar +%%DATADIR%%/jabref-icon48x48.png +share/applications/jabref.desktop +@dirrm %%DATADIR%% +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || : +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || : |