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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name cppcheck |
---|
7 | version 1.45 |
---|
8 | categories devel |
---|
9 | license GPLv3 |
---|
10 | platforms darwin |
---|
11 | maintainers johnsy.com:paj-macports |
---|
12 | |
---|
13 | description Static analysis of C and C++ code. |
---|
14 | |
---|
15 | long_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 | |
---|
21 | homepage http://cppcheck.sourceforge.net/ |
---|
22 | master_sites sourceforge |
---|
23 | checksums md5 1d2661fc2570331a7c9c4188a356d6f7 \ |
---|
24 | sha1 3f9dc771f44a01b7d0465d13875fcd5d8b25c7d2 \ |
---|
25 | rmd160 de1a2c525582e9ce354c3b1c4d2577727d93c332 |
---|
26 | |
---|
27 | depends_build port:libxslt \ |
---|
28 | port:docbook-xsl |
---|
29 | |
---|
30 | use_configure no |
---|
31 | |
---|
32 | build.args CXX=${configure.cxx} \ |
---|
33 | DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl |
---|
34 | build.target all man |
---|
35 | |
---|
36 | test.run yes |
---|
37 | test.target test |
---|
38 | |
---|
39 | destroot.args PREFIX=${prefix} |
---|
40 | |
---|
41 | post-destroot { |
---|
42 | xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1 |
---|
43 | } |
---|