Ignore:
Timestamp:
Aug 15, 2016, 4:02:12 PM (2 years ago)
Author:
raimue@…
Message:

sysutils/collectd:
Remove perllocal.pod from installed files, closes #51928
Remove ${destroot} from paths in .packlist for ReproducibleBuilds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/collectd/Portfile

    r150757 r151411  
    66name                collectd
    77version             5.4.2
     8revision            1
    89categories          sysutils net
    910platforms           darwin
     
    4445configure.args \
    4546    --disable-silent-rules
     47
     48post-destroot {
     49    fs-traverse f ${destroot}${prefix}/lib/perl5 {
     50        if {[file isfile $f] && [file tail $f] eq "perllocal.pod"} {
     51            file delete $f
     52        }
     53        if {[file isfile $f] && [file tail $f] eq ".packlist"} {
     54            reinplace -n "s|${destroot}||p" $f
     55        }
     56    }
     57}
    4658
    4759#######################################################
Note: See TracChangeset for help on using the changeset viewer.