Files
2022-06-12 09:08:08 -04:00

56 lines
2.0 KiB
Tcl

# -*- 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
PortSystem 1.0
compiler.cxx_standard 2011
# NOTE: As of cppunit 1.14.0 dated April 13, 2017, the configure
# script now checks internally to make sure the requested compiler is
# C++11 compliant, and will error out if not. So, all we need to do
# here is to use the cxx11 PG to make sure the compiler is compliant.
# NOTE: CppUnit's public API also required C++11 for compiling, hence
# any project using CppUnit must be compiled with C++11 support,
# regardless of whether the project itself requires C++11.
name cppunit
version 1.15.1
revision 0
checksums rmd160 1ce2dd2717699bd88b2e9b6315528fea31c60fef \
sha256 89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7 \
size 814363
categories devel
platforms darwin
maintainers {michaelld @michaelld} openmaintainer
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 https://dev-www.libreoffice.org/src/
configure.args --disable-dot \
--disable-doxygen \
--disable-silent-rules \
--disable-static
use_autoreconf yes
autoreconf.args -fvi
test.run yes
test.target check
variant docs description {Build and install documentation in HTML format} {
depends_build-append \
path:bin/doxygen:doxygen
configure.args-delete \
--disable-doxygen
}
livecheck.type regex
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}