svn commit: r309785 - in head/print/jabref: . files

Matthias Andree mandree at FreeBSD.org
Tue Jan 1 22:22:46 UTC 2013


Author: mandree
Date: Tue Jan  1 22:22:44 2013
New Revision: 309785
URL: http://svnweb.freebsd.org/changeset/ports/309785

Log:
  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

Added:
  head/print/jabref/files/JabRef-icon-48.png   (contents, props changed)
  head/print/jabref/files/jabref.desktop.in   (contents, props changed)
  head/print/jabref/pkg-plist   (contents, props changed)
Modified:
  head/print/jabref/Makefile
  head/print/jabref/distinfo

Modified: head/print/jabref/Makefile
==============================================================================
--- head/print/jabref/Makefile	Tue Jan  1 21:53:17 2013	(r309784)
+++ head/print/jabref/Makefile	Tue Jan  1 22:22:44 2013	(r309785)
@@ -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>

Modified: head/print/jabref/distinfo
==============================================================================
--- head/print/jabref/distinfo	Tue Jan  1 21:53:17 2013	(r309784)
+++ head/print/jabref/distinfo	Tue Jan  1 22:22:44 2013	(r309785)
@@ -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

Added: head/print/jabref/files/JabRef-icon-48.png
==============================================================================
Binary file. No diff available.

Added: head/print/jabref/files/jabref.desktop.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/jabref/files/jabref.desktop.in	Tue Jan  1 22:22:44 2013	(r309785)
@@ -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

Added: head/print/jabref/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/jabref/pkg-plist	Tue Jan  1 22:22:44 2013	(r309785)
@@ -0,0 +1,7 @@
+bin/jabref
+%%DATADIR%%/jabref.jar
+%%DATADIR%%/jabref-icon48x48.png
+share/applications/jabref.desktop
+ at dirrm %%DATADIR%%
+ at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :
+ at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || :


More information about the svn-ports-all mailing list