Re: install doc with python group

2017-07-11 Thread db
On 11 Jul 2017, at 15:45, Rainer Müller wrote: > Wrap your code in a section that is only executed when installing the subport: > if {${subport} ne ${name}} { >post-destroot { D'oh! Of course that did it. Thanks for point that out.

Re: install doc with python group

2017-07-11 Thread Rainer Müller
On 2017-07-11 15:23, db wrote: > On 11 Jul 2017, at 14:44, Joshua Root wrote: >> Only the subports like py27-setuptools_hg and py35-setuptools_hg are >> supposed to install any files. py-setuptools_hg is a stub port, and as such >> has no distfiles and thus no extracted sources. > > I know why

Re: install doc with python group

2017-07-11 Thread db
On 11 Jul 2017, at 14:44, Joshua Root wrote: > Only the subports like py27-setuptools_hg and py35-setuptools_hg are supposed > to install any files. py-setuptools_hg is a stub port, and as such has no > distfiles and thus no extracted sources. I know why it fails. The stub port does install the

Re: install doc with python group

2017-07-11 Thread Joshua Root
On 2017-7-10 22:45 , db wrote: Which is the proper way to install documentation with python group? This boilerplate works for the subport but not if I install the main port. post-destroot { set docdir ${prefix}/share/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W