aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-11-15 16:59:40 +0800
committerantoine <antoine@FreeBSD.org>2014-11-15 16:59:40 +0800
commit2c50adf0736e37b2f10283bcefcf865a275fd1ac (patch)
tree8db6d483472ac73440d82322ddb658b84851dce0 /www
parenta654d46bd7514a93b9a988ce1d6c5fd70ac6cebe (diff)
downloadfreebsd-ports-gnome-2c50adf0736e37b2f10283bcefcf865a275fd1ac.tar.gz
freebsd-ports-gnome-2c50adf0736e37b2f10283bcefcf865a275fd1ac.tar.zst
freebsd-ports-gnome-2c50adf0736e37b2f10283bcefcf865a275fd1ac.zip
Fix some leftovers in most xpi-* ports after r370932
Diffstat (limited to 'www')
-rw-r--r--www/xpi-adblock/Makefile.xpi5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi
index e0b7854e13ba..8f9de8ace523 100644
--- a/www/xpi-adblock/Makefile.xpi
+++ b/www/xpi-adblock/Makefile.xpi
@@ -150,6 +150,7 @@ _TD_FULL= ${XPI_XPIDIR}
_A= >> ${TMPPLIST}
_Q= 2>/dev/null || true
PLIST_FILES+= ${XPI_FILES:S!^!${_TD}/!}
+PLIST_DIRS+= ${XPI_DIRS:S!^!${_TD}/!}
.for dist in ${XPI_DISTNAMES}
XPI_XPIDIR_${dist}= ${XPI_LIBDIR}/${XPI_ID_${dist}}
@@ -164,7 +165,9 @@ do-install:
@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \
then ${INSTALL_DATA} ${FILESDIR}/chrome.manifest ${STAGEDIR}${_TD_FULL}/ ; fi
@${CHMOD} -R a+rX,go-w ${STAGEDIR}${_TD_FULL}/
- @${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${STAGEDIR}${PREFIX},%D,}' ${_A}
+ @for sldir in ${XPI_SLDIRS_ALL}; do \
+ ${ECHO_CMD} "@dir $${sldir}" ${_A}; \
+ done
@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${_TD_FULL} $$_dir/ ${_Q}; }' ${_A}
@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ; { ${RM} -f $$_dir/${XPI_ID} ; }' ${_A}
.endif