diff --git a/sysutils/ansible/Portfile b/sysutils/ansible/Portfile
index b6491ee680..4c495c3220 100644
a
|
b
|
post-fetch { |
49 | 49 | |
50 | 50 | patch { |
51 | 51 | fs-traverse f ${worksrcpath} { |
52 | | if {[file isfile ${f}] && ![regexp {\.(ico|png|eot|ttf|woff|reg|gz)$} ${f} match] && ![regexp {\.git} ${f} match] && ![regexp {v2/test/test.yml} ${f} match]} { |
53 | | reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f} |
54 | | reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f} |
| 52 | if {[file isfile ${f}] && ![regexp {\.(bin|ico|png|eot|ttf|woff|reg|gz|zip)$} ${f} match] && ![regexp {\.git} ${f} match] && ![regexp {v2/test/test.yml} ${f} match]} { |
| 53 | reinplace -q "s#/etc/ansible#${prefix}/etc/ansible#g" ${f} |
| 54 | reinplace -q "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f} |
55 | 55 | } |
56 | 56 | } |
57 | 57 | } |