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

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

cppcheck: Fix checksums. Oops.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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 106672 2013-06-04 16:55:04Z larryv@macports.org $
3
4PortSystem          1.0
5
6name                cppcheck
7version             1.60.1
8categories          devel
9license             GPL-3
10platforms           darwin
11maintainers         etrix.com.au:brendan.simon openmaintainer
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/
22master_sites        sourceforge:project/cppcheck/cppcheck/${version}
23
24checksums           rmd160  8e90dd5a7f5c485d709d33bc4cf77d58a0b1ec9b \
25                    sha256  73eb56e5ea268e917c73f64e68744add35409bdc93be99773d814f9cc0a7221e
26
27depends_build       port:libxslt \
28                    port:docbook-xsl
29
30depends_lib         port:pcre
31
32use_configure       no
33
34variant universal {}
35
36build.args          CXX="${configure.cxx} [get_canonical_archflags cxx]" \
37                    HAVE_RULES=yes \
38                    DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl
39build.target        all man
40
41test.run            yes
42test.target         test
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.