# -*- 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
# $Id$

PortSystem 1.0

name                cppunit
version             1.13.2
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            https://www.freedesktop.org/wiki/Software/cppunit/
master_sites        http://dev-www.libreoffice.org/src/

checksums           rmd160  2a86e06409b53b3477842354b21dd17fc4943b09 \
                    sha256  3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f

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

configure.args      --disable-dot \
                    --disable-doxygen \
                    --disable-silent-rules

use_autoreconf      yes
autoreconf.args     -fvi

test.run            yes
test.target         check

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}