diff options
author | ahze <ahze@FreeBSD.org> | 2005-04-27 03:30:55 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-04-27 03:30:55 +0800 |
commit | f670fae811492554b050bd1f39b78a2097974895 (patch) | |
tree | 8b0de4349f5365c1ca3eddb539aed8f1de8b9ece /www/firefox | |
parent | 00f173e7a687bb55519e3896e7d1787905b3b837 (diff) | |
download | freebsd-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')
-rw-r--r-- | www/firefox/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 92ff29ca8e18..c710a0b39e36 100644 --- a/www/firefox/Makefile +++ b/www/firefox/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 |