diff options
author | ahze <ahze@FreeBSD.org> | 2005-12-05 06:05:43 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-12-05 06:05:43 +0800 |
commit | d480297982fe9e4fedefa2bc6b856b7161808d8b (patch) | |
tree | 584d061fd268325309974e7d0a35e88fc7c80b00 /www/flock/Makefile | |
parent | 197c47fc04e8270247f0ed509a2816cfdd5ddc0a (diff) | |
download | freebsd-ports-gnome-d480297982fe9e4fedefa2bc6b856b7161808d8b.tar.gz freebsd-ports-gnome-d480297982fe9e4fedefa2bc6b856b7161808d8b.tar.zst freebsd-ports-gnome-d480297982fe9e4fedefa2bc6b856b7161808d8b.zip |
- Add support for GECKO_PLIST_PRE_FILES and GECKO_PLIST_PRE_DIRS to
add files or directories to plist.
- *Really* remove share/idl if empty in firefox
Diffstat (limited to 'www/flock/Makefile')
-rw-r--r-- | www/flock/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile index 9a4d78c69b3e..2a797cb273f1 100644 --- a/www/flock/Makefile +++ b/www/flock/Makefile @@ -8,7 +8,7 @@ PORTNAME= firefox DISTVERSION= 1.5 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -28,6 +28,9 @@ USE_BZIP2= yes USE_GMAKE= yes USE_GCC= 3.4+ +GECKO_PLIST_PRE_FILES= lib/${MOZILLA}/chrome/icons/default/default.xpm +GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/chrome/icons/default lib/${MOZILLA}/chrome/icons + FIREFOX_ICON= ${MOZILLA}.xpm FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/icons/default.xpm MOZ_OPTIONS= --enable-application=browser \ @@ -69,6 +72,7 @@ post-patch: pre-install: ${ECHO_CMD} 'share/applications/${MOZILLA}.desktop' >> ${PLIST} + ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST} ${ECHO_CMD} 'share/pixmaps/${FIREFOX_ICON}' >> ${PLIST} .if !defined(WITHOUT_NEWTAB) ${ECHO_CMD} >> ${SYSTEM_PREFS} @@ -76,13 +80,6 @@ pre-install: ${ECHO_CMD} "pref(\"browser.link.open_external\", 3);" \ >> ${SYSTEM_PREFS} .endif # !defined(WITHOUT_NEWTAB) - ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST} - ${ECHO_CMD} "lib/${MOZILLA}/chrome/icons/default/default.xpm" >> ${PLIST} - ${ECHO_CMD} "@dirrm lib/${MOZILLA}/chrome/icons/default" >> ${PLIST} - ${ECHO_CMD} "@dirrm lib/${MOZILLA}/chrome/icons" >> ${PLIST} -# Dirty hack to make sure stuff gets removed right. - ${SORT} -r ${PLIST} > ${PLIST}.tmp - ${MV} -f ${PLIST}.tmp ${PLIST} do-install: if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \ |