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

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

cppcheck needs pcre; see #28374

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 75978 2011-02-14 21:18:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cppcheck
7version             1.47
8revision            1
9categories          devel
10license             GPLv3
11platforms           darwin
12maintainers         johnsy.com:paj-macports
13
14description         Static analysis of C and C++ code.
15
16long_description    Cppcheck is an analysis tool for C and C++ code. Unlike \
17                    compilers and many other analysis tools, we don't detect \
18                    syntax errors. Cppcheck only detects the types of bugs that \
19                    the compilers normally fail to detect. The goal is no false \
20                    positives.
21
22homepage            http://cppcheck.sourceforge.net/
23master_sites        sourceforge
24
25checksums           sha1    76fc76b7c6e65d63058337f828c592b16c03952a \
26                    rmd160  731739ba817cb169314204fa8fd29f2689de6136
27
28depends_build       port:libxslt \
29                    port:docbook-xsl
30
31depends_lib         port:pcre
32
33use_configure       no
34
35build.args          CXX=${configure.cxx} \
36                    DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl
37build.target        all man
38
39test.run                yes
40test.target             test
41
42destroot.args       PREFIX=${prefix}
43
44post-destroot {
45    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
46}
Note: See TracBrowser for help on using the repository browser.