Location of example files

Blair Zajac blair at orcaware.com
Mon Oct 7 05:02:10 PDT 2013


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.

Blair



More information about the macports-dev mailing list