Ticket #27785: Portfile

File Portfile, 1.4 KB (added by paj-macports@…, 14 years ago)

Portfile for v1.46.1

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$
3
4PortSystem          1.0
5
6name                cppcheck
7version             1.46.1
8categories          devel
9license             GPLv3
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
23checksums           md5     8073eb5dd9db61104ac0782d2eace332 \
24                    sha1    77bfc94dbcad27458cbb674471e4b8cf0aea978f \
25                    rmd160  caacb8f3d5aa17c26c26fef4621ff23e1142c9f4
26
27depends_build       port:libxslt \
28                    port:docbook-xsl
29
30use_configure       no
31
32build.args          CXX=${configure.cxx} \
33                    DB2MAN=${prefix}/share/xsl/docbook-xsl/manpages/docbook.xsl
34build.target        all man
35
36test.run                yes
37test.target             test
38
39destroot.args       PREFIX=${prefix}
40
41post-destroot {
42    xinstall -m 444 ${worksrcpath}/cppcheck.1 ${destroot}${prefix}/share/man/man1
43}