aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-esr
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-04-27 03:30:55 +0800
committerahze <ahze@FreeBSD.org>2005-04-27 03:30:55 +0800
commitf670fae811492554b050bd1f39b78a2097974895 (patch)
tree8b0de4349f5365c1ca3eddb539aed8f1de8b9ece /www/firefox-esr
parent00f173e7a687bb55519e3896e7d1787905b3b837 (diff)
downloadfreebsd-ports-gnome-f670fae811492554b050bd1f39b78a2097974895.tar.gz
freebsd-ports-gnome-f670fae811492554b050bd1f39b78a2097974895.tar.zst
freebsd-ports-gnome-f670fae811492554b050bd1f39b78a2097974895.zip
- Install .desktop file in share/applications instead of
share/gnome/applications so we can remove the gnomehier dependency so non-gnome users don't have to install a bunch of un-needed gnome directories. - Remove WITH_MENU option from mozilla[-devel], .desktop file will always be installed now.
Diffstat (limited to 'www/firefox-esr')
-rw-r--r--www/firefox-esr/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 92ff29ca8e18..c710a0b39e36 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -48,8 +48,7 @@ EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
FIREFOX= ${PORTNAME}
FF_VER= ${PORTVERSION}
-FIREFOX_ICON= firefox.png
-FIREFOX_ICON_SRC=${WRKSRC}/other-licenses/branding/firefox/content/alert-exclam.png
+FIREFOX_ICON= ${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
PKGCONFIG_FILES=firefox-gtkmozembed firefox-js firefox-xpcom \
firefox-nspr firefox-nss firefox-plugin
@@ -187,8 +186,7 @@ pre-install:
Makefile ${MAKE_ARGS} install
@${MKDIR} ${SCRIPTS_DIR}
@${MKDIR} ${MOZ_PIS_DIR}
- ${ECHO_CMD} 'share/gnome/pixmaps/${FIREFOX_ICON}' >> ${PLIST}
- ${ECHO_CMD} 'share/gnome/applications/firefox.desktop' >> ${PLIST}
+ ${ECHO_CMD} 'share/applications/firefox.desktop' >> ${PLIST}
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g; \
s|${FIREFOX}-${FF_VER}|${FIREFOX}|' \
${FAKEDIR}/bin/firefox \
@@ -265,8 +263,8 @@ post-install:
.for i in ${EXTRA_SCRIPTS}
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
.endfor
- ${INSTALL_DATA} ${FIREFOX_ICON_SRC} ${PREFIX}/share/gnome/pixmaps/${FIREFOX_ICON}
- ${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/gnome/applications
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/firefox/default.xpm \
${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
@-update-desktop-database