[137000] trunk/dports/devel/cppcheck/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jun 2 01:58:32 PDT 2015
Revision: 137000
https://trac.macports.org/changeset/137000
Author: ryandesign at macports.org
Date: 2015-06-02 01:58:32 -0700 (Tue, 02 Jun 2015)
Log Message:
-----------
cppcheck: update to 1.69 (#47627; maintainer)
Modified Paths:
--------------
trunk/dports/devel/cppcheck/Portfile
Modified: trunk/dports/devel/cppcheck/Portfile
===================================================================
--- trunk/dports/devel/cppcheck/Portfile 2015-06-02 08:45:46 UTC (rev 136999)
+++ trunk/dports/devel/cppcheck/Portfile 2015-06-02 08:58:32 UTC (rev 137000)
@@ -5,7 +5,7 @@
PortGroup compiler_blacklist_versions 1.0
name cppcheck
-version 1.68
+version 1.69
categories devel
license GPL-3
platforms darwin
@@ -22,8 +22,8 @@
homepage http://cppcheck.sourceforge.net/
master_sites sourceforge:project/cppcheck/cppcheck/${version}
-checksums rmd160 ecd6abba8c5f0f7b23087074f0556bfbba120ae7 \
- sha256 ef9252f72e7b1fc204345d5318e5609d3770e6196473c145a84f5862f7a5237a
+checksums rmd160 0141924e7cceb65526af9ef70df2b603ee3d7c42 \
+ sha256 fe61c9df64eb5ff170b866237045aae6427d47edcff9b684abac2d11fb4d7826
depends_build port:libxslt \
port:docbook-xsl
@@ -54,18 +54,34 @@
post-destroot {
xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
xinstall -d ${destroot}${prefix}/share/cppcheck
+ copy ${worksrcpath}/cfg/avr.cfg ${destroot}${prefix}/share/cppcheck/avr.cfg.dist
+ copy ${worksrcpath}/cfg/gnu.cfg ${destroot}${prefix}/share/cppcheck/gnu.cfg.dist
copy ${worksrcpath}/cfg/gtk.cfg ${destroot}${prefix}/share/cppcheck/gtk.cfg.dist
+ copy ${worksrcpath}/cfg/microsoft_sal.cfg ${destroot}${prefix}/share/cppcheck/microsoft_sal.cfg.dist
copy ${worksrcpath}/cfg/posix.cfg ${destroot}${prefix}/share/cppcheck/posix.cfg.dist
copy ${worksrcpath}/cfg/qt.cfg ${destroot}${prefix}/share/cppcheck/qt.cfg.dist
+ copy ${worksrcpath}/cfg/sdl.cfg ${destroot}${prefix}/share/cppcheck/sdl.cfg.dist
copy ${worksrcpath}/cfg/std.cfg ${destroot}${prefix}/share/cppcheck/std.cfg.dist
copy ${worksrcpath}/cfg/windows.cfg ${destroot}${prefix}/share/cppcheck/windows.cfg.dist
}
post-activate {
+ if {![file exists ${prefix}/share/cppcheck/avr.cfg]} {
+ copy ${prefix}/share/cppcheck/avr.cfg.dist ${prefix}/share/cppcheck/avr.cfg
+ }
+
+ if {![file exists ${prefix}/share/cppcheck/gnu.cfg]} {
+ copy ${prefix}/share/cppcheck/gnu.cfg.dist ${prefix}/share/cppcheck/gnu.cfg
+ }
+
if {![file exists ${prefix}/share/cppcheck/gtk.cfg]} {
copy ${prefix}/share/cppcheck/gtk.cfg.dist ${prefix}/share/cppcheck/gtk.cfg
}
+ if {![file exists ${prefix}/share/cppcheck/microsoft_sal.cfg]} {
+ copy ${prefix}/share/cppcheck/microsoft_sal.cfg.dist ${prefix}/share/cppcheck/microsoft_sal.cfg
+ }
+
if {![file exists ${prefix}/share/cppcheck/posix.cfg]} {
copy ${prefix}/share/cppcheck/posix.cfg.dist ${prefix}/share/cppcheck/posix.cfg
}
@@ -74,6 +90,10 @@
copy ${prefix}/share/cppcheck/qt.cfg.dist ${prefix}/share/cppcheck/qt.cfg
}
+ if {![file exists ${prefix}/share/cppcheck/sdl.cfg]} {
+ copy ${prefix}/share/cppcheck/sdl.cfg.dist ${prefix}/share/cppcheck/sdl.cfg
+ }
+
if {![file exists ${prefix}/share/cppcheck/std.cfg]} {
copy ${prefix}/share/cppcheck/std.cfg.dist ${prefix}/share/cppcheck/std.cfg
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150602/f52b60c0/attachment.html>
More information about the macports-changes
mailing list