# $Id: Portfile 85283 2011-10-12 08:26:25Z mww@macports.org $

PortSystem 1.0

name                cccc
version             3.1.4
categories          lang
platforms           darwin
maintainers         mww
license             GPL-2
description         tool for measurement of source code related metrics
long_description    ${description}

homepage            http://cccc.sourceforge.net/
master_sites        sourceforge
checksums           md5 7bd3ad868913a0beab2fde931737f928 \
                    rmd160  1135f86c3e60010dda8f420492cfe5bcbfc98cd2 \
                    sha256  27b3eca9a83a66799332363a80cc4bcd6db9869eddbda1a59a25cdace3ff4dbf
patchfiles          patch-posixgcc.mak.diff

use_configure       no

use_parallel_build  no
build.target        pccts cccc

test.run            yes
test.target         test

destroot {
    xinstall -m 755 -s ${worksrcpath}/cccc/cccc ${destroot}${prefix}/bin
}
