Ticket #53990: ansible.diff

File ansible.diff, 910 bytes (added by ryandesign (Ryan Carsten Schmidt), 8 years ago)
  • sysutils/ansible/Portfile

    diff --git a/sysutils/ansible/Portfile b/sysutils/ansible/Portfile
    index b6491ee680..4c495c3220 100644
    a b post-fetch { 
    4949
    5050patch {
    5151    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}
    5555        }
    5656    }
    5757}