Bug 184289

Summary: Enhance make makeplist
Product: Ports & Packages Reporter: Mathieu Arnold <mat>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
stage_plist_sub.mk none

Description Mathieu Arnold freebsd_committer freebsd_triage 2013-11-25 18:10:00 UTC
make makeplist takes into account DATADIR, EXAMPLESDIR and DOCSDIR, let's add
some other to the lot.

I did not change the way DOCS and EXAMPLES are done because they add other
stuffs.

Also, I wasn't sure where to remove bits from PLIST_SUB, so I put it in
bsd.stage.mk.

How-To-Repeat: Without:

$ make makeplist
lib/perl5/5.16/man/man3/DateTime.3.gz
lib/perl5/5.16/man/man3/DateTime::Duration.3.gz
lib/perl5/5.16/man/man3/DateTime::Infinite.3.gz
lib/perl5/5.16/man/man3/DateTime::LeapSecond.3.gz
lib/perl5/site_perl/5.16/mach/DateTime.pm
lib/perl5/site_perl/5.16/mach/DateTime/Duration.pm
lib/perl5/site_perl/5.16/mach/DateTime/Helpers.pm
...
@dirrmtry lib/perl5/5.16/man/man3
@dirrmtry lib/perl5/5.16/man
...
$ make makeplist
etc/maradns/example_csv2
etc/mararc.sample
...
@dirrmtry etc/maradns
$

With:
$ PORTSDIR=/home/mat/freebsd/ports/ make makeplist
%%PERL5_MAN3%%/DateTime.3.gz
%%PERL5_MAN3%%/DateTime::Duration.3.gz
%%PERL5_MAN3%%/DateTime::Infinite.3.gz
%%PERL5_MAN3%%/DateTime::LeapSecond.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime/Duration.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DateTime/Helpers.pm
...
@dirrmtry %%PERL5_MAN3%%
@dirrmtry lib/perl5/%%PERL_VER%%/man

$ PORTSDIR=/home/mat/work/freebsd/ports-full/ make makeplist
%%ETCDIR%%/example_csv2
etc/mararc.sample
...
@dirrmtry %%ETCDIR%%
$
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2013-11-25 18:19:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

-> portmgr
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2014-05-28 16:44:47 UTC
State Changed
From-To: open->closed

obsolete.