<div dir="ltr">According to Fink&#39;s documentation, adding a &quot;.build&quot; extension to the folder name has the same effect as adding a &quot;.noindex&quot; extension to it, which is what they do with their build folder: <a href="http://www.finkproject.org/doc/users-guide/uguide.en.html#conf.optional" rel="noreferrer">http://www.finkproject.org/doc/users-guide/uguide.en.html#conf.optional</a><div>

<br></div><div>So that could be another option...</div><div><br><div><br><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 9:16 PM, Craig Treleaven <span dir="ltr">&lt;<a href="mailto:ctreleaven@cogeco.ca" target="_blank">ctreleaven@cogeco.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">At 11:02 PM +0200 6/3/14, Clemens Lang wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
 I sometimes use EasyFind to search in portfiles.  I noticed today<br>
 that the macports folder under ${prefix}/var is no longer visible.  I<br>
 would guess this happened after I upgraded to MacPorts 2.3 but I<br>
 can&#39;t be certain.  Using the command line, I see the following:<br></div>
 [Š]<div class=""><br>
 Was it an intended change to hide this directory?  Or a glitch on my system?<br>
</div></blockquote><div class="">
<br>
That was intentional. In specific, it&#39;s this Changelog entry:<br>
<br>
  Disable Spotlight indexing on build directories, distfiles,<br>
  registry, log files, archives, base source and the default ports<br>
  tree. (cal in r113649)<br>
<br>
You can avoid this by manually reverting the change and touching a file<br>
named &quot;.nohide&quot; in the directory. See<br>
  <a href="http://trac.macports.org/changeset/113649" target="_blank">http://trac.macports.org/<u></u>changeset/113649</a><br>
</div></blockquote>
<br>
Thanks.  I noticed that in the change log but didn&#39;t see how it was implemented.<br>
<br>
Based on some searching (ie no hands-on experience!), it seems that it might be simpler to create a &quot;.metadata_never_index&quot; file [1] inside that folder to encourage Spotlight to leave it alone.  Alternatively, we could add &quot;.noindex&quot; to the folder name to achieve the same effect.<br>


<br>
Wouldn&#39;t one of these be a better solution?<br>
<br>
Craig<br>
<br>
[1] <a href="http://apple.stackexchange.com/questions/92784/preventing-spotlight-from-indexing-files-folders" target="_blank">http://apple.stackexchange.<u></u>com/questions/92784/<u></u>preventing-spotlight-from-<u></u>indexing-files-folders</a><div class="HOEnZb">

<div class="h5"><br>
______________________________<u></u>_________________<br>
macports-dev mailing list<br>
<a href="mailto:macports-dev@lists.macosforge.org" target="_blank">macports-dev@lists.macosforge.<u></u>org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-dev" target="_blank">https://lists.macosforge.org/<u></u>mailman/listinfo/macports-dev</a><br>
</div></div></blockquote></div><br></div>