Location of example files
Ryan Schmidt
ryandesign at macports.org
Mon Oct 7 08:25:20 PDT 2013
On Oct 7, 2013, at 07:02, Blair Zajac wrote:
> On 10/07/2013 03:24 AM, Davide Liessi wrote:
>> Dear MacPorts developers,
>> I'm writing a Portfile for a Python module.
>> The distribution includes an example Python script that shows how to
>> use the module.
>> Where should I install it?
>> Is it OK to install it among the documentation files in the step
>> described in https://trac.macports.org/wiki/PortfileRecipes#doc?
>
> Yes, $prefix/share/doc/$portname is the perfect place for it.
Documentation goes in ${prefix}/share/doc/${subport}
Examples go in ${prefix}/share/examples/${subport}
See porthier(7)
More information about the macports-dev
mailing list