Location of example files

Blair Zajac blair at orcaware.com
Mon Oct 7 05:25:20 PDT 2013


On 10/7/13 5:14 AM, Davide Liessi wrote:
> Dear Blair,
>
> 2013/10/7 Blair Zajac<blair at orcaware.com>:
>> Yes, $prefix/share/doc/$portname is the perfect place for it.
>
> thanks for the answer.
>
> Should I install the script with executable permission (755)?

Yes, that's fine.  Make sure you patch the script to start with

#!$prefix/bin/....

if it needs something from there, don't hard code /opt/local anywhere.

Blair


More information about the macports-dev mailing list