diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-15 08:59:40 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-15 08:59:40 +0000 |
commit | e645f42e0997e8993447a8996768f2f4a360ca2d (patch) | |
tree | 8db6d483472ac73440d82322ddb658b84851dce0 /www/xpi-adblock | |
parent | 6002ff92714e98d9636c83a44c94916abde93e17 (diff) | |
download | ports-e645f42e0997e8993447a8996768f2f4a360ca2d.tar.gz ports-e645f42e0997e8993447a8996768f2f4a360ca2d.zip |
Notes
Diffstat (limited to 'www/xpi-adblock')
-rw-r--r-- | www/xpi-adblock/Makefile.xpi | 5 |
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 |