aboutsummaryrefslogtreecommitdiff
path: root/www/firefox-esr
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-10-19 19:29:28 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-10-19 19:29:28 +0000
commitad1f6fe30c87bcd93ad5e8f91eb10f7bb49e20b0 (patch)
treebbf4d198ececf4383b4ca348364b46958fac3320 /www/firefox-esr
parent73be1af281e8b1c71a18b2af1ff014699070569d (diff)
- Add x-scheme-handler/http(s) MimeTypes to firefox.desktop. [1]
- Add temporary workaround to fix detection of all plugins until we have found a proper solution for this problem. The workaround use the run-mozilla.sh script to start Firefox as it was the default prior to the Firefox 7 release. [2] - Bump PORTREVISION. PR: ports/159606 [1] Submitted by: Dmitry <smallcms AT gmail.com> [1] Discussed with: flo@ [2]
Notes
Notes: svn path=/head/; revision=283937
Diffstat (limited to 'www/firefox-esr')
-rw-r--r--www/firefox-esr/Makefile8
-rw-r--r--www/firefox-esr/files/firefox.desktop.in2
2 files changed, 9 insertions, 1 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 32f3f1b13fb5..d023d2ed5f17 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -7,6 +7,7 @@
PORTNAME= firefox
DISTVERSION= 7.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= ${MASTER_SITE_MOZILLA}
@@ -136,6 +137,13 @@ post-configure:
(cd ${WRKSRC} && ${GMAKE} distclean)
.endif
+post-build:
+ ${RM} ${WRKSRC}/dist/bin/${PORTNAME}
+ ${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/dist/bin/${PORTNAME}
+ ${ECHO_CMD} "cd ${PREFIX}/lib/firefox && ./run-mozilla.sh ./firefox-bin" \
+ >> ${WRKSRC}/dist/bin/${PORTNAME}
+ ${CHMOD} 755 ${WRKSRC}/dist/bin/${PORTNAME}
+
port-pre-install:
${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLISTF}
${ECHO_CMD} "@dirrmtry share/applications" >> ${PLISTD}
diff --git a/www/firefox-esr/files/firefox.desktop.in b/www/firefox-esr/files/firefox.desktop.in
index d72090e1aabf..27b81ce2bdd7 100644
--- a/www/firefox-esr/files/firefox.desktop.in
+++ b/www/firefox-esr/files/firefox.desktop.in
@@ -188,4 +188,4 @@ StartupNotify=false
Terminal=false
Type=Application
Categories=Application;Network;
-MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;