Location of example files

2013-10-07 Thread Davide Liessi
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

Re: Location of example files

2013-10-07 Thread Blair Zajac
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

Re: Location of example files

2013-10-07 Thread Davide Liessi
Dear Blair, 2013/10/7 Blair Zajac bl...@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)? Best wishes. Davide ___ macports-dev mailing

xinstall vs file copy/mkdir

2013-10-07 Thread Davide Liessi
Is there a preferred choice between xinstall and file Tcl extensions? Which one should I use? Best wishes. Davide Liessi ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev

Re: Location of example files

2013-10-07 Thread Blair Zajac
On 10/7/13 5:14 AM, Davide Liessi wrote: Dear Blair, 2013/10/7 Blair Zajacbl...@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

Re: Location of example files

2013-10-07 Thread Davide Liessi
Dear Blair, 2013/10/7 Blair Zajac bl...@orcaware.com: 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. Just for information: I looked into the file, and there isn't a #! line at the

Re: Location of example files

2013-10-07 Thread Ryan Schmidt
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

Re: xinstall vs file copy/mkdir

2013-10-07 Thread Ryan Schmidt
On Oct 7, 2013, at 07:16, Davide Liessi davide.lie...@gmail.com wrote: Is there a preferred choice between xinstall and file Tcl extensions? Which one should I use? For creating directories, they're pretty equivalent. If you need to specify ownership (which some ports like servers need) or

Re: [MacPorts] #40508: unicode_path patch not working on subversion 1.8.3 release

2013-10-07 Thread Eric Gallager
You can use the `-d` flag to your port command to make sure. Although since it didn't error out on you, I would assume that it worked... On Mon, Oct 7, 2013 at 12:21 PM, MacPorts nore...@macports.org wrote: #40508: unicode_path patch not working on subversion 1.8.3 release

Re: [111928] trunk/dports/devel/kmm_banking/Portfile

2013-10-07 Thread MK-MacPorts
Thanks, Ryan. I missed that. Greets, Marko ___ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev

Re: Location of example files

2013-10-07 Thread Davide Liessi
2013/10/7 Ryan Schmidt ryandes...@macports.org: Documentation goes in ${prefix}/share/doc/${subport} Examples go in ${prefix}/share/examples/${subport} See porthier(7) OK, I should have RTFM. :) Thanks. Best wishes. Davide ___ macports-dev mailing