<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 3, 2016 at 8:10 PM, Abdulrahman Alshammari <span dir="ltr">&lt;<a href="mailto:a.turqi@hotmail.com" target="_blank">a.turqi@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The attached portfile is working now perfectrly after fixing some issue. I am not sure if what I did is the right one or there is something better than this. When I install civl, it works fine, but when I uninstall it, the files that are in opt/local/bin and opt/local/sbin are not removed. Is there something wrong I made?</blockquote></div><br>At a guess, you have the problem that Ryan warned you about: the destroot phase writes directly to /opt/local/bin and /opt/local/sbin instead of to the destroot. That means they won&#39;t be packaged and won&#39;t be managed by MacPorts (and, if this port is buildable by the buildbots, it will potentially mess them up by installing unregistered files that could potentially conflict with future port builds, including new versions of your port). You need to find out how to force it to write them to the destroot.</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is not optional; it &quot;looks like it worked&quot; but it&#39;s making a mess that can be hard for people installing your port --- and the buildbot maintainer --- to fix. &quot;Good enough&quot; isn&#39;t.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>