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

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

Increase revision of ports depending on pcre since the libpcre library version has increased from 0 to 1

  • 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 92837 2012-05-09 00:51:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                cppcheck
7version             1.48
8revision            1
9categories          devel
10license             GPL-3
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    605f7b0cbd5f8d3759db147891098b716f7dab12 \
26                    rmd160  68d00843540732a4de4ee623abdb38798ea7d2ef
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.