Changeset 144475


Ignore:
Timestamp:
Jan 9, 2016, 10:14:55 PM (23 months ago)
Author:
khindenburg@…
Message:

cppcheck: update to 1.72 maintainer #50267

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cppcheck/Portfile

    r142688 r144475  
    66
    77name                        cppcheck
    8 version                     1.71
     8version                     1.72
    99categories                  devel
    1010license                     GPL-3
     
    2323master_sites                sourceforge:project/cppcheck/cppcheck/${version}
    2424
    25 checksums                   rmd160  232e5f9e15eb722523abbebb22bcfa3c17a7e7b5 \
    26                             sha256  a8768e1feef5cafa5e2dbce92fbaf95b70b4457ea8e1ed3bad52000d2286d3c8
     25checksums                   rmd160  62444a704fc0f6a7301aad3c763c297a3d727788 \
     26                            sha256  459108c81ea607c8bd3da842d83990d6555e0351d0fe4bb21c2c72110274f393
    2727
    2828depends_build               port:libxslt \
     
    4747notes                       "If you've updated cppcheck from a previous version," \
    4848                            "you may want to replace the included config files:" \
    49                             "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; cp \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;"
     49                            "sudo find ${prefix}/share/cppcheck -type f -name \"*.dist\" -exec bash -c 'f=\"\{\}\"; cp \"\$f\" \"\$\{f%.dist\}\"' \\;"
    5050
    5151post-destroot {
     
    5353    xinstall -d ${destroot}${prefix}/share/cppcheck
    5454    copy ${worksrcpath}/cfg/avr.cfg ${destroot}${prefix}/share/cppcheck/avr.cfg.dist
     55    copy ${worksrcpath}/cfg/cppcheck-cfg.rng ${destroot}${prefix}/share/cppcheck/cppcheck-cfg.rng.dist
    5556    copy ${worksrcpath}/cfg/gnu.cfg ${destroot}${prefix}/share/cppcheck/gnu.cfg.dist
    5657    copy ${worksrcpath}/cfg/gtk.cfg ${destroot}${prefix}/share/cppcheck/gtk.cfg.dist
     
    6667    if {![file exists ${prefix}/share/cppcheck/avr.cfg]} {
    6768        copy ${prefix}/share/cppcheck/avr.cfg.dist ${prefix}/share/cppcheck/avr.cfg
     69    }
     70
     71    if {![file exists ${prefix}/share/cppcheck/cppcheck-cfg.rng]} {
     72        copy ${prefix}/share/cppcheck/cppcheck-cfg.rng.dist ${prefix}/share/cppcheck/cppcheck-cfg.rng
    6873    }
    6974
Note: See TracChangeset for help on using the changeset viewer.