1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Don't manually rm wildcard directories, automatically add all files to the

plist. This should fixes warning on deinstall as the files were deleted in
the pre-deinstall target, and once pkg wanted to remove files specified in
the plist they were already gone.
This commit is contained in:
Florian Smeets 2013-07-04 21:53:31 +00:00
parent 2a03acfee0
commit ad0beaf909
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322291
4 changed files with 32 additions and 11 deletions

View File

@ -67,8 +67,14 @@ do-install:
@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -fR $$_dir/${WDIR} ; }' ${_A}
@${ECHO_CMD} '@unexec ${RMDIR} ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
@for lang in ${THUNDERBIRD_I18N_}; do \
for xpi in ${XPI_LINKFARMS} ; do \
if [ -d $${xpi} ] ; \
then \
${ECHO_CMD} $$xpi/langpack-$$lang@thunderbird.mozilla.org ${_A} ; \
fi ; \
done ; \
done
post-patch:
${FIND} ${WRKSRC} -name install.rdf -print0 | \

View File

@ -77,9 +77,14 @@ do-install:
@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -fR $$_dir/${WDIR} ; }' ${_A}
@${ECHO_CMD} '@unexec ${RMDIR} ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
@for lang in ${FIREFOX_I18N_}; do \
for xpi in ${XPI_LINKFARMS} ; do \
if [ -d $${xpi} ] ; \
then \
${ECHO_CMD} $$xpi/langpack-$$lang@firefox.mozilla.org ${_A} ; \
fi ; \
done ; \
done
post-patch:
${FIND} ${WRKSRC} -name install.rdf -print0 | \

View File

@ -76,9 +76,14 @@ do-install:
@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -fR $$_dir/${WDIR} ; }' ${_A}
@${ECHO_CMD} '@unexec ${RMDIR} ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
@for lang in ${FIREFOX_I18N_}; do \
for xpi in ${XPI_LINKFARMS} ; do \
if [ -d $${xpi} ] ; \
then \
${ECHO_CMD} $$xpi/langpack-$$lang@firefox.mozilla.org ${_A} ; \
fi ; \
done ; \
done
post-patch:
${FIND} ${WRKSRC} -name install.rdf -print0 | \

View File

@ -71,9 +71,14 @@ do-install:
@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -fR $$_dir/${WDIR} ; }' ${_A}
@${ECHO_CMD} '@unexec ${RMDIR} ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
@for lang in ${SEAMONKEY_I18N_}; do \
for xpi in ${XPI_LINKFARMS} ; do \
if [ -d $${xpi} ] ; \
then \
${ECHO_CMD} $$xpi/langpack-$$lang@seamonkey.mozilla.org ${_A} ; \
fi ; \
done ; \
done
post-patch:
${FIND} ${WRKSRC} -name install.rdf -print0 | \