[151411] trunk/dports/sysutils/collectd/Portfile
raimue at macports.org
raimue at macports.org
Mon Aug 15 09:02:12 PDT 2016
Revision: 151411
https://trac.macports.org/changeset/151411
Author: raimue at macports.org
Date: 2016-08-15 09:02:12 -0700 (Mon, 15 Aug 2016)
Log Message:
-----------
sysutils/collectd:
Remove perllocal.pod from installed files, closes #51928
Remove ${destroot} from paths in .packlist for ReproducibleBuilds
Modified Paths:
--------------
trunk/dports/sysutils/collectd/Portfile
Modified: trunk/dports/sysutils/collectd/Portfile
===================================================================
--- trunk/dports/sysutils/collectd/Portfile 2016-08-15 15:40:33 UTC (rev 151410)
+++ trunk/dports/sysutils/collectd/Portfile 2016-08-15 16:02:12 UTC (rev 151411)
@@ -5,6 +5,7 @@
name collectd
version 5.4.2
+revision 1
categories sysutils net
platforms darwin
license GPL-2
@@ -44,6 +45,17 @@
configure.args \
--disable-silent-rules
+post-destroot {
+ fs-traverse f ${destroot}${prefix}/lib/perl5 {
+ if {[file isfile $f] && [file tail $f] eq "perllocal.pod"} {
+ file delete $f
+ }
+ if {[file isfile $f] && [file tail $f] eq ".packlist"} {
+ reinplace -n "s|${destroot}||p" $f
+ }
+ }
+}
+
#######################################################
# WARNING: This list is generated by files/dep-gen.sh #
# Take care when editing manually! #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160815/75cf523c/attachment.html>
More information about the macports-changes
mailing list