Perl5 portgroup: 'make pure_install'

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Perl5 portgroup: 'make pure_install'

pvr4me
Hi:

Could someone help me understand the “pure_install” target used in the perl5 portgroup?  In my new xmltv port, I noticed that some sample configuration files are excluded from pure_install that would otherwise be installed if the normal “install” target was used.  Upstream has essentially said ‘everybody uses “install”, why aren’t you?’

I can’t seem to find any reference material on the intended difference between pure_install and install.  Links welcome.

Why does the perl5 portgroup default to pure_install over install?

Craig

Reply | Threaded
Open this post in threaded view
|

Re: Perl5 portgroup: 'make pure_install'

ryandesign2
Administrator


On Jun 15, 2020, at 08:36, Craig Treleaven wrote:

> Could someone help me understand the “pure_install” target used in the perl5 portgroup?  In my new xmltv port, I noticed that some sample configuration files are excluded from pure_install that would otherwise be installed if the normal “install” target was used.  Upstream has essentially said ‘everybody uses “install”, why aren’t you?’
>
> I can’t seem to find any reference material on the intended difference between pure_install and install.  Links welcome.
>
> Why does the perl5 portgroup default to pure_install over install?

Looks like it's been that way ever since Toby added the portgroup in 2004.

https://trac.macports.org/browser/trunk/base/src/port1.0/resources/group/perl5-1.0.tcl?rev=6127

Toby, do you remember why it uses pure_install and not install?

Reply | Threaded
Open this post in threaded view
|

Re: Perl5 portgroup: 'make pure_install'

Daniel J. Luke
On Jun 16, 2020, at 4:18 PM, Ryan Schmidt <[hidden email]> wrote:

> On Jun 15, 2020, at 08:36, Craig Treleaven wrote:
>> Could someone help me understand the “pure_install” target used in the perl5 portgroup?  In my new xmltv port, I noticed that some sample configuration files are excluded from pure_install that would otherwise be installed if the normal “install” target was used.  Upstream has essentially said ‘everybody uses “install”, why aren’t you?’
>>
>> I can’t seem to find any reference material on the intended difference between pure_install and install.  Links welcome.
>>
>> Why does the perl5 portgroup default to pure_install over install?
>
> Looks like it's been that way ever since Toby added the portgroup in 2004.
>
> https://trac.macports.org/browser/trunk/base/src/port1.0/resources/group/perl5-1.0.tcl?rev=6127
>
> Toby, do you remember why it uses pure_install and not install?

presumably it was to avoid writing to perllocal.pod and then having to do something (like remove it from the destroot) before installing where they may already be a perllocal.pod file.
--
Daniel J. Luke