source: trunk/dports/devel/cppcheck/Portfile @ 102103

Last change on this file since 102103 was 102103, checked in by ryandesign@…, 6 years ago

cppcheck: update to 1.58 (#37791)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[72324]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 102103 2013-01-28 05:54:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cppcheck
[102103]7version             1.58
[72324]8categories          devel
[83385]9license             GPL-3
[72324]10platforms           darwin
11maintainers         johnsy.com:paj-macports
12
13description         Static analysis of C and C++ code.
14
15long_description    Cppcheck is an analysis tool for C and C++ code. Unlike \
16                    compilers and many other analysis tools, we don't detect \
17                    syntax errors. Cppcheck only detects the types of bugs that \
18                    the compilers normally fail to detect. The goal is no false \
19                    positives.
20
21homepage            http://cppcheck.sourceforge.net/
[98922]22master_sites        sourceforge:project/cppcheck/cppcheck/${version}
[72324]23
[102103]24checksums           rmd160  a624e933ef2a03d83f85e86e01404e2bdee44aa3 \
25                    sha256  10130266be2913ba215ac24cf83cbe9e150cfb2b0c319717014c3676721f434f
[74658]26
[72324]27depends_build       port:libxslt \
28                    port:docbook-xsl
29
[75978]30depends_lib         port:pcre
31
[72324]32use_configure       no
33
[98922]34variant universal {}
35
36build.args          CXX="${configure.cxx} [get_canonical_archflags cxx]" \
37                    HAVE_RULES=yes \
[72324]38                    DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl
39build.target        all man
40
[78896]41test.run            yes
42test.target         test
[72324]43
44destroot.args       PREFIX=${prefix}
45
46post-destroot {
47    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
48}
Note: See TracBrowser for help on using the repository browser.