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

name                pthsem
version             2.0.8
categories          devel
platforms           darwin

maintainers         nomaintainer

description         pthsem is an extend version of GNU pth, with support for semaphores
long_description    GNU pth is a user mode multi threading library. \
                    pthsem is an extend version, with support for semaphores \
                    added. It can be installed parallel to a normal pth. The \
                    header file is called pthsem.h, the configuration program \
                    pthsem-config and the autoconf macro AC_CHECK_PTHSEM. If \
                    references to one of these names are changed, pthsem can \
                    be used as an replacement of GNU pth.

homepage            https://www.auto.tuwien.ac.at/~mkoegler/index.php/pth

depends_build       port:pkgconfig \
                    port:libtool

master_sites        http://www.auto.tuwien.ac.at/~mkoegler/pth

distname            ${name}_${version}

checksums           md5     9144b26dcc27e67498d63dd5456f934c \
                    sha1    261d3e3a0b6371c4442397c6667393e6b973e14f \
                    rmd160  84ee773b88d61bcef58690973c4f873fd7ac34f4

worksrcdir          ${name}-${version}

configure.args      --enable-optimize --mandir=${prefix}/share/man

test.run            yes

use_parallel_build  no

livecheck.regex     "${name}_(\\d+(?:\\.\\d+)*)${extract.suffix}"
