Ticket #47627: cppcheck_fixed.diff
File cppcheck_fixed.diff, 3.2 KB (added by xythobuz@…, 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup compiler_blacklist_versions 1.0 6 6 7 7 name cppcheck 8 version 1.6 88 version 1.69 9 9 categories devel 10 10 license GPL-3 11 11 platforms darwin … … 22 22 homepage http://cppcheck.sourceforge.net/ 23 23 master_sites sourceforge:project/cppcheck/cppcheck/${version} 24 24 25 checksums rmd160 ecd6abba8c5f0f7b23087074f0556bfbba120ae7\26 sha256 ef9252f72e7b1fc204345d5318e5609d3770e6196473c145a84f5862f7a5237a25 checksums rmd160 0141924e7cceb65526af9ef70df2b603ee3d7c42 \ 26 sha256 fe61c9df64eb5ff170b866237045aae6427d47edcff9b684abac2d11fb4d7826 27 27 28 28 depends_build port:libxslt \ 29 29 port:docbook-xsl … … 54 54 post-destroot { 55 55 xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1 56 56 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 57 59 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 58 61 copy ${worksrcpath}/cfg/posix.cfg ${destroot}${prefix}/share/cppcheck/posix.cfg.dist 59 62 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 60 64 copy ${worksrcpath}/cfg/std.cfg ${destroot}${prefix}/share/cppcheck/std.cfg.dist 61 65 copy ${worksrcpath}/cfg/windows.cfg ${destroot}${prefix}/share/cppcheck/windows.cfg.dist 62 66 } 63 67 64 68 post-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 65 77 if {![file exists ${prefix}/share/cppcheck/gtk.cfg]} { 66 78 copy ${prefix}/share/cppcheck/gtk.cfg.dist ${prefix}/share/cppcheck/gtk.cfg 67 79 } 68 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 83 } 84 69 85 if {![file exists ${prefix}/share/cppcheck/posix.cfg]} { 70 86 copy ${prefix}/share/cppcheck/posix.cfg.dist ${prefix}/share/cppcheck/posix.cfg 71 87 } … … 74 90 copy ${prefix}/share/cppcheck/qt.cfg.dist ${prefix}/share/cppcheck/qt.cfg 75 91 } 76 92 93 if {![file exists ${prefix}/share/cppcheck/sdl.cfg]} { 94 copy ${prefix}/share/cppcheck/sdl.cfg.dist ${prefix}/share/cppcheck/sdl.cfg 95 } 96 77 97 if {![file exists ${prefix}/share/cppcheck/std.cfg]} { 78 98 copy ${prefix}/share/cppcheck/std.cfg.dist ${prefix}/share/cppcheck/std.cfg 79 99 }