Ticket #44537: Portfile-cppcheck-update.diff
File Portfile-cppcheck-update.diff, 1.5 KB (added by xythobuz@…, 10 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name cppcheck 7 version 1.6 57 version 1.66 8 8 categories devel 9 9 license GPL-3 10 10 platforms darwin … … 21 21 homepage http://cppcheck.sourceforge.net/ 22 22 master_sites sourceforge:project/cppcheck/cppcheck/${version} 23 23 24 checksums rmd160 17a7d54a61faea7a3783a94b18301bce18b1b7ec\25 sha256 f684ae47c4556eea87d04f54e3eb9782fca2ba9ff43adaa29a9271177ee6d7ea24 checksums rmd160 5a5a8a20c5d49adf185a8bb84f4236c6c86d35a3 \ 25 sha256 9ac0379f3a7ff161d5f8ead579434a11634ca288c6ad706eba04696bb7ce93a0 26 26 27 27 depends_build port:libxslt \ 28 28 port:docbook-xsl … … 43 43 44 44 destroot.args PREFIX=${prefix} 45 45 46 notes "If you've updated cppcheck from a previous version," \ 47 "you may want to replace the included config files:" \ 48 "sudo find /opt/local/share/cppcheck -type f -name \"*.cfg.dist\" -exec bash -c 'f=\"\{\}\"; mv \"\$f\" \"\$\{f%.cfg.dist\}.cfg\"' \\;" 49 46 50 post-destroot { 47 51 xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1 48 52 xinstall -d ${destroot}${prefix}/share/cppcheck