# $Id: Portfile 66151 2010-04-06 06:54:50Z jmr@macports.org $

PortSystem 1.0

name		xorg-printproto
version		1.0.4
categories	x11 devel
maintainers	jeremyhu openmaintainer
description	X.org printproto
homepage	http://www.x.org
platforms	darwin
long_description X.org PrintProto protocol headers.
master_sites 	http://xorg.freedesktop.org/archive/individual/proto/

distname	printproto-${version}
use_bzip2	yes

checksums           md5     7321847a60748b4d2f1fa16db4b6ede8 \
                    sha1    8da2d19faca74f894d0e2b3e142283b725c0ef46 \
                    rmd160  ab23d31e5b13fd7260f2a10d789f5d8e89bf775f

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

livecheck.type  regex
livecheck.url   ${master_sites}?C=M&O=D
livecheck.regex printproto-(\\d+(?:\\.\\d+)*)
