[154196] trunk/dports/python/py-pycparser/Portfile
stromnov at macports.org
stromnov at macports.org
Mon Oct 24 07:55:24 CEST 2016
Revision: 154196
https://trac.macports.org/changeset/154196
Author: stromnov at macports.org
Date: 2016-10-24 07:55:24 +0200 (Mon, 24 Oct 2016)
Log Message:
-----------
py-pycparser: fix file permissions (#52687)
Modified Paths:
--------------
trunk/dports/python/py-pycparser/Portfile
Modified: trunk/dports/python/py-pycparser/Portfile
===================================================================
--- trunk/dports/python/py-pycparser/Portfile 2016-10-24 02:46:03 UTC (rev 154195)
+++ trunk/dports/python/py-pycparser/Portfile 2016-10-24 05:55:24 UTC (rev 154196)
@@ -6,7 +6,7 @@
name py-pycparser
version 2.16
-revision 0
+revision 1
categories-append devel
platforms darwin
license BSD
@@ -32,6 +32,17 @@
sha256 108f9ff23869ae2f8b38e481e7b4b4d4de1e32be968f29bbe303d629c34a6260
if {${name} ne ${subport}} {
+ # Fix permissions (#52687)
+ post-extract {
+ fs-traverse item ${worksrcpath} {
+ if {[file isdirectory ${item}]} {
+ file attributes ${item} -permissions a+rx
+ } elseif {[file isfile ${item}]} {
+ file attributes ${item} -permissions a+r
+ }
+ }
+ }
+
livecheck.type none
} else {
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161024/37198f62/attachment-0002.html>
More information about the macports-changes
mailing list