<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>On Jul 29, 2017, at 13:36, db wrote:</div><div><br></div><blockquote type="cite"><div><span>I want to recursively copy a port's documentation which has nested dirs.</span><br><span></span><br><span>Is there any caveat for using</span><br><span></span><br><span>exec cp -R ${worksrcpath}/sphinx-doc ${destroot}${</span><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">docdir</span></font>}</div></blockquote><blockquote type="cite"><div><span></span><br><span>instead of the more canonical form in the wiki?</span><br><span></span><br><span><a href="https://trac.macports.org/wiki/PortfileRecipes#doc">https://trac.macports.org/wiki/PortfileRecipes#doc</a></span><br></div></blockquote><div><br></div>Just use:<div><br><div><div><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">copy ${worksrcpath}/sphinx-doc ${destroot}${docdir}</span></font></div></div></div></body></html>