Ticket #20918: Portfile.4

File Portfile.4, 1.4 KB (added by raimue (Rainer Müller), 14 years ago)

includes man page

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.45
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     1d2661fc2570331a7c9c4188a356d6f7 \
24                    sha1    3f9dc771f44a01b7d0465d13875fcd5d8b25c7d2 \
25                    rmd160  de1a2c525582e9ce354c3b1c4d2577727d93c332
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}