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

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

standardize some license formatting issues:

  • use - to indicate version, not v, e.g. GPL-2 not GPLv2
  • use lists for multiple options, e.g. {Artistic GPL}
  • perl license is {Artistic GPL}
  • Python license is PSF
  • call the NCSA/UIUC license NCSA
  • libpng/zlib have the same license; call it zlib
  • 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 83385 2011-08-31 01:52:26Z dports@macports.org $
3
4PortSystem          1.0
5
6name                cppcheck
7version             1.48
8categories          devel
9license             GPL-3
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/
22master_sites        sourceforge
23
24checksums           sha1    605f7b0cbd5f8d3759db147891098b716f7dab12 \
25                    rmd160  68d00843540732a4de4ee623abdb38798ea7d2ef
26
27depends_build       port:libxslt \
28                    port:docbook-xsl
29
30depends_lib         port:pcre
31
32use_configure       no
33
34build.args          CXX=${configure.cxx} \
35                    DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl
36build.target        all man
37
38test.run            yes
39test.target         test
40
41destroot.args       PREFIX=${prefix}
42
43post-destroot {
44    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
45}
Note: See TracBrowser for help on using the repository browser.