mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- 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]
This commit is contained in:
parent
636b0ae1fe
commit
2c81fe4510
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123675
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= mozilla
|
||||
PORTVERSION= 1.8.a5
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH?= 2
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||
@ -293,8 +293,9 @@ pre-install:
|
||||
break; \
|
||||
fi; \
|
||||
done; \
|
||||
${ECHO_CMD} @dirrm lib/browser_plugins >> ${PLIST} ; \
|
||||
fi
|
||||
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
|
||||
.if !defined(WITHOUT_MAILNEWS)
|
||||
@ -328,6 +329,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 \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= mozilla
|
||||
PORTVERSION= 1.8.a5
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH?= 2
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||
@ -293,8 +293,9 @@ pre-install:
|
||||
break; \
|
||||
fi; \
|
||||
done; \
|
||||
${ECHO_CMD} @dirrm lib/browser_plugins >> ${PLIST} ; \
|
||||
fi
|
||||
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
|
||||
.if !defined(WITHOUT_MAILNEWS)
|
||||
@ -328,6 +329,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 \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= mozilla
|
||||
PORTVERSION= 1.8.a5
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH?= 2
|
||||
CATEGORIES?= www
|
||||
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
||||
@ -293,8 +293,9 @@ pre-install:
|
||||
break; \
|
||||
fi; \
|
||||
done; \
|
||||
${ECHO_CMD} @dirrm lib/browser_plugins >> ${PLIST} ; \
|
||||
fi
|
||||
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
|
||||
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
|
||||
.if !defined(WITHOUT_MAILNEWS)
|
||||
@ -328,6 +329,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 \
|
||||
|
Loading…
Reference in New Issue
Block a user