<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Mark,</div><div><br></div><div><br></div>Some observations about this Portfile:<div><br><div><div>On Jun 14, 2014, at 9:49 AM, Mark Brethen &lt;<a href="mailto:mark.brethen@gmail.com">mark.brethen@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">This is what I have in the Portfile so far:<br><br># -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4<br># $Id$<br><br>PortSystem &nbsp;1.0<br><br>PortGroup &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;github 1.0<br>github.setup &nbsp;&nbsp;&nbsp;tpaviot oce 0.15 OCE-<br><br>categories &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;graphics<br>maintainers &nbsp;&nbsp;&nbsp;&nbsp;gmail.com:mark.brethen<br>description &nbsp;&nbsp;&nbsp;&nbsp;Open CASCADE Community Edition<br>Long_description &nbsp;&nbsp;&nbsp;OCE is a fork for patches/improvements/experiments\<br> &nbsp;&nbsp;&nbsp;over OpenCascade.<br></blockquote><div><br></div><div>Please determine and add the correct license. This will allow Macports to distribute a binary - &nbsp;license permitting.&nbsp;</div><br><blockquote type="cite"><br>homepage &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/tpaviot/oce">https://github.com/tpaviot/oce</a><br><br>checksums rmd160 be53cced4d5463d466fd17c3f721ae56fb89e32b \<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sha256 2d7632dda63be06dc79202a025076deb4f1b0d1dede20b68da9536ce184d5ed1<br><br>depends_build &nbsp;&nbsp;port:cmake &nbsp;&nbsp;&nbsp;&nbsp;\<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port:ftgl &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port:freeimage \<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port:gl2ps &nbsp;&nbsp;&nbsp;&nbsp;\<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port:tbb<br></blockquote><div><br></div><div>Since you are using a portgroup - github in this case - it might have dependencies. But you are overriding them by setting depends_build. Instead you should use depends_build-append.&nbsp;</div><br><blockquote type="cite">configure {<br> &nbsp;&nbsp;&nbsp;system "cd ${worksrcpath} &amp;&amp; cmake ${configure.args} ${worksrcpath};”</blockquote><blockquote type="cite">}<br></blockquote><div><br></div><div>A couple of issues here. You should consider adding the cmake portgroup which is designed for ports that build with cmake. That will likely make this entire block unnecessary. Also, please do not use system “cd….”. Per the guide [1], you should use the -W flag instead. I.e.</div><div><br></div><div><font face="Monaco">system -W ${worksrcpath} “cmake ..."</font></div></div><br></div><div><br></div><div>Cheers!</div><div>Frank</div><div><br></div><div>[1] &lt;<a href="https://trac.macports.org/wiki/FAQ#cd">https://trac.macports.org/wiki/FAQ#cd</a>&gt;</div><div><br></div></body></html>