# -*- 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: Portfile 53816 2009-07-14 19:33:06Z toby@macports.org $

PortSystem          1.0

name                pthsem
version             2.0.7
categories          devel
platforms           darwin

maintainers         uwe-arzt.de:mail

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

fetch.type          git
git.url             http://www.auto.tuwien.ac.at/~mkoegler/git/pthsem.git

depends_build       port:pkgconfig \
                    port:libtool \
                    port:git-core

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

test.run            yes

use_parallel_build  no
