# $Id: Portfile 62797 2010-01-17 22:13:16Z landonf@macports.org $
PortSystem			1.0

name				check
version				0.9.8
categories			devel
maintainers			landonf openmaintainer
homepage			http://check.sf.net/
description			C unit testing framework
long_description		Check is a unit test framework for C. It \
				features a simple interface for defining unit \
				tests, putting little in the way of the \
				developer. Tests are run in a separate address \
				space, so Check can catch both assertion \
				failures and code errors that cause \
				segmentation faults or other signals. The \
				output from unit tests can be used within \
				source code editors and IDEs.
platforms			darwin

master_sites			sourceforge:check

checksums                       md5     5d75e9a6027cde79d2c339ef261e7470 \
                                sha1    a75cc89411e24b5d39b7869f8233e19f210de555 \
                                rmd160  75e0d1981109086ac597e57655ba9561f1b79211

configure.args			--infodir=${prefix}/share/info \
				--mandir=${prefix}/share/info

test.run			yes
test.target			check

livecheck.type                  regex
livecheck.url                   https://sourceforge.net/projects/check/files/
livecheck.regex                 {check-(\d+(\.\d+?)+)}
