# $Id: Portfile 66146 2010-04-06 06:42:55Z jmr@macports.org $

PortSystem 1.0

name		xorg-libpthread-stubs
version		0.3
categories	x11 devel
maintainers	jeremyhu openmaintainer
description	X.org/Xcb libpthread stubs
homepage	http://xcb.freedesktop.org
platforms	darwin macosx
long_description Library that provides pthread stubs that are missing from your platform libc. (used for libxcb)
master_sites	 ${homepage}/dist/

distname	libpthread-stubs-${version}
use_bzip2	yes

checksums   md5     e8fa31b42e13f87e8f5a7a2b731db7ee \
            sha1    7fc486ad0ec54938f8b781cc374218f50eac8b99 \
            rmd160  a3a5f76e103c645749d7b8a8fc00ad472e59987b

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex libpthread-stubs-(\\d+(?:\\.\\d+)*)
