diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-12-11 10:11:23 +0800 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-12-11 10:11:23 +0800 |
commit | 2c81fe4510ff95d8a2f9a9082b9186f35da1eb67 (patch) | |
tree | f12d8f5ded7026bb8bbb274813ee0b2f842aafd1 /www/firefox10 | |
parent | 636b0ae1fea4b74f0cd4bf63fa3554463aaba74d (diff) | |
download | freebsd-ports-gnome-2c81fe4510ff95d8a2f9a9082b9186f35da1eb67.tar.gz freebsd-ports-gnome-2c81fe4510ff95d8a2f9a9082b9186f35da1eb67.tar.zst freebsd-ports-gnome-2c81fe4510ff95d8a2f9a9082b9186f35da1eb67.zip |
- Fix plist in firefox [1]
- Touch lib/browser_plugins/.${PORTNAME}.keep so this directory will not be removed durring deinstall of mozilla[-devel] or firefox if you still have mozilla[-devel] or firefox installed.
Pointed out by: pointy hat [1]
Diffstat (limited to 'www/firefox10')
-rw-r--r-- | www/firefox10/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/firefox10/Makefile b/www/firefox10/Makefile index 68abd39f9392..78ea6e7118e1 100644 --- a/www/firefox10/Makefile +++ b/www/firefox10/Makefile @@ -188,6 +188,8 @@ pre-install: && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm include/${FIREFOX}/|' >> ${PLIST} ${ECHO_CMD} @dirrm include/${FIREFOX} >> ${PLIST} + ${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST} + ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST} do-install: ${MKDIR} ${PREFIX}/lib/${FIREFOX} @@ -197,6 +199,7 @@ do-install: if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \ ${MKDIR} ${PREFIX}/lib/browser_plugins ; \ fi + ${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${PORTNAME}.keep if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \ for jpi in ${JPI_LIST}; do \ if [ -f $${jpi} ]; then \ |