Fix MimeTypes -> MimeType in .desktop file,

so that JabRef gets registered as application for text/x-bibtex files.
This commit is contained in:
Matthias Andree 2013-01-02 01:35:10 +00:00
parent 29ab783049
commit f3adea88f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309797
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= jabref PORTNAME= jabref
PORTVERSION= 2.9.1 PORTVERSION= 2.9.1
PORTREVISION= 2 PORTREVISION= 3
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= print java editors CATEGORIES= print java editors
MASTER_SITES= SF MASTER_SITES= SF
@ -36,6 +36,6 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/JabRef-icon-48.png "${icon}" ${INSTALL_DATA} ${FILESDIR}/JabRef-icon-48.png "${icon}"
${MKDIR} ${DESKTOPDIR} ${MKDIR} ${DESKTOPDIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR}
-${LOCALBASE}/bin/update-desktop-database > /dev/null -${LOCALBASE}/bin/update-desktop-database -q
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -6,6 +6,6 @@ GenericName=Bibliographic Reference Manager
Comment=Open Source Bibliography Reference Manager for BibTeX databases Comment=Open Source Bibliography Reference Manager for BibTeX databases
Icon=%%DATADIR%%/jabref-icon48x48.png Icon=%%DATADIR%%/jabref-icon48x48.png
Exec=%%PREFIX%%/bin/jabref %f Exec=%%PREFIX%%/bin/jabref %f
MimeTypes=text/x-bibtex; MimeType=text/x-bibtex;
Categories=Education;Science; Categories=Education;Science;
StartupNotify=false StartupNotify=false