# $Id: Portfile 113161 2013-11-11 06:40:09Z jeremyhu@macports.org $

PortSystem 1.0

name                cppunit
version             1.12.1
categories          devel
platforms           darwin
maintainers         mww
license             LGPL-2.1
description         unit testing framework for C++
long_description    CppUnit is the C++ port of the famous JUnit framework for \
                    unit testing. Test output is in XML or text format for \
                    automatic testing and GUI based for supervised tests.

homepage            http://cppunit.sourceforge.net/
master_sites        sourceforge
checksums           sha1 f1ab8986af7a1ffa6760f4bacf5622924639bf4a \
                    rmd160  c5f38b1d201afcba7913f2b53fb7558add3d21f5 \
                    sha256  ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a

post-extract {
    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}

configure.args      --mandir=${prefix}/share/man \
                    --disable-doxygen \
                    --disable-dot

patchfiles          automake.patch

use_autoreconf      yes
autoreconf.args     -fvi

test.run            yes
test.target         check
