diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-12-11 02:11:23 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-12-11 02:11:23 +0000 |
commit | 2c81fe4510ff95d8a2f9a9082b9186f35da1eb67 (patch) | |
tree | f12d8f5ded7026bb8bbb274813ee0b2f842aafd1 /www/flock/Makefile | |
parent | 636b0ae1fea4b74f0cd4bf63fa3554463aaba74d (diff) | |
download | ports-2c81fe4510ff95d8a2f9a9082b9186f35da1eb67.tar.gz ports-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]
Notes
Notes:
svn path=/head/; revision=123675
Diffstat (limited to 'www/flock/Makefile')
-rw-r--r-- | www/flock/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile index 68abd39f9392..78ea6e7118e1 100644 --- a/www/flock/Makefile +++ b/www/flock/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 \ |