Ignore:
Timestamp:
Jun 2, 2015, 8:58:32 AM (4 years ago)
Author:
ryandesign@…
Message:

cppcheck: update to 1.69 (#47627; maintainer)

File:
1 edited

Legend:

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

    r130891 r137000  
    66
    77name                        cppcheck
    8 version                     1.68
     8version                     1.69
    99categories                  devel
    1010license                     GPL-3
     
    2323master_sites                sourceforge:project/cppcheck/cppcheck/${version}
    2424
    25 checksums                   rmd160  ecd6abba8c5f0f7b23087074f0556bfbba120ae7 \
    26                             sha256  ef9252f72e7b1fc204345d5318e5609d3770e6196473c145a84f5862f7a5237a
     25checksums                   rmd160  0141924e7cceb65526af9ef70df2b603ee3d7c42 \
     26                            sha256  fe61c9df64eb5ff170b866237045aae6427d47edcff9b684abac2d11fb4d7826
    2727
    2828depends_build               port:libxslt \
     
    5555    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
    5656    xinstall -d ${destroot}${prefix}/share/cppcheck
     57    copy ${worksrcpath}/cfg/avr.cfg ${destroot}${prefix}/share/cppcheck/avr.cfg.dist
     58    copy ${worksrcpath}/cfg/gnu.cfg ${destroot}${prefix}/share/cppcheck/gnu.cfg.dist
    5759    copy ${worksrcpath}/cfg/gtk.cfg ${destroot}${prefix}/share/cppcheck/gtk.cfg.dist
     60    copy ${worksrcpath}/cfg/microsoft_sal.cfg ${destroot}${prefix}/share/cppcheck/microsoft_sal.cfg.dist
    5861    copy ${worksrcpath}/cfg/posix.cfg ${destroot}${prefix}/share/cppcheck/posix.cfg.dist
    5962    copy ${worksrcpath}/cfg/qt.cfg ${destroot}${prefix}/share/cppcheck/qt.cfg.dist
     63    copy ${worksrcpath}/cfg/sdl.cfg ${destroot}${prefix}/share/cppcheck/sdl.cfg.dist
    6064    copy ${worksrcpath}/cfg/std.cfg ${destroot}${prefix}/share/cppcheck/std.cfg.dist
    6165    copy ${worksrcpath}/cfg/windows.cfg ${destroot}${prefix}/share/cppcheck/windows.cfg.dist
     
    6367
    6468post-activate {
     69    if {![file exists ${prefix}/share/cppcheck/avr.cfg]} {
     70        copy ${prefix}/share/cppcheck/avr.cfg.dist ${prefix}/share/cppcheck/avr.cfg
     71    }
     72
     73    if {![file exists ${prefix}/share/cppcheck/gnu.cfg]} {
     74        copy ${prefix}/share/cppcheck/gnu.cfg.dist ${prefix}/share/cppcheck/gnu.cfg
     75    }
     76
    6577    if {![file exists ${prefix}/share/cppcheck/gtk.cfg]} {
    6678        copy ${prefix}/share/cppcheck/gtk.cfg.dist ${prefix}/share/cppcheck/gtk.cfg
     79    }
     80
     81    if {![file exists ${prefix}/share/cppcheck/microsoft_sal.cfg]} {
     82        copy ${prefix}/share/cppcheck/microsoft_sal.cfg.dist ${prefix}/share/cppcheck/microsoft_sal.cfg
    6783    }
    6884
     
    7591    }
    7692
     93    if {![file exists ${prefix}/share/cppcheck/sdl.cfg]} {
     94        copy ${prefix}/share/cppcheck/sdl.cfg.dist ${prefix}/share/cppcheck/sdl.cfg
     95    }
     96
    7797    if {![file exists ${prefix}/share/cppcheck/std.cfg]} {
    7898        copy ${prefix}/share/cppcheck/std.cfg.dist ${prefix}/share/cppcheck/std.cfg
Note: See TracChangeset for help on using the changeset viewer.