# $Id: Portfile 90429 2012-03-05 07:36:12Z jeremyhu@macports.org $

PortSystem          1.0

name                xscope
version             1.3.1
categories          x11
platforms           darwin
maintainers         jeremyhu openmaintainer
description         X11 protocol debugger
long_description    ${description}

homepage            http://www.x.org
master_sites        http://xorg.freedesktop.org/archive/individual/app/

checksums           sha1    c0bf5bce04a3b46cb53d443ccedc5c6c393784aa \
                    rmd160  34756fe4e2aac5cffe28f96fcd963accb83b1dbe \
                    sha256  25e6db9a2d556c56797f9bb32cac650ac3afd130b49a1cea074694c2754c8582

use_bzip2	    yes
use_parallel_build  yes

depends_build \
	port:pkgconfig \
	port:xorg-xproto \
	port:xorg-xtrans

patchfiles \
	0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch
patch.pre_args -p1

configure.args --disable-xtrans

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