Ticket #47627: cppcheck.diff
File cppcheck.diff, 2.5 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 … … 55 55 xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1 56 56 xinstall -d ${destroot}${prefix}/share/cppcheck 57 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 58 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 59 61 copy ${worksrcpath}/cfg/posix.cfg ${destroot}${prefix}/share/cppcheck/posix.cfg.dist 60 62 copy ${worksrcpath}/cfg/qt.cfg ${destroot}${prefix}/share/cppcheck/qt.cfg.dist 61 63 copy ${worksrcpath}/cfg/sdl.cfg ${destroot}${prefix}/share/cppcheck/sdl.cfg.dist … … 68 70 copy ${prefix}/share/cppcheck/avr.cfg.dist ${prefix}/share/cppcheck/avr.cfg 69 71 } 70 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 71 77 if {![file exists ${prefix}/share/cppcheck/gtk.cfg]} { 72 78 copy ${prefix}/share/cppcheck/gtk.cfg.dist ${prefix}/share/cppcheck/gtk.cfg 73 79 } 74 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 75 85 if {![file exists ${prefix}/share/cppcheck/posix.cfg]} { 76 86 copy ${prefix}/share/cppcheck/posix.cfg.dist ${prefix}/share/cppcheck/posix.cfg 77 87 }