Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 08:59:40 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372585 - head/www/xpi-adblock
Message-ID:  <201411150859.sAF8xeGn086276@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov 15 08:59:40 2014
New Revision: 372585
URL: https://svnweb.freebsd.org/changeset/ports/372585
QAT: https://qat.redports.org/buildarchive/r372585/

Log:
  Fix some leftovers in most xpi-* ports after r370932

Modified:
  head/www/xpi-adblock/Makefile.xpi

Modified: head/www/xpi-adblock/Makefile.xpi
==============================================================================
--- head/www/xpi-adblock/Makefile.xpi	Sat Nov 15 08:32:24 2014	(r372584)
+++ head/www/xpi-adblock/Makefile.xpi	Sat Nov 15 08:59:40 2014	(r372585)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411150859.sAF8xeGn086276>