# $Id: Portfile 67776 2010-05-18 03:52:37Z jeremyhu@macports.org $

PortSystem          1.0

name                xscope
version             1.2
revision            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           md5     1a9df0ac0dd5a2c2a7948dcf48d126c3 \
                    sha1    3952f381c3f8ee81cd602e6f025304c2322a06a0 \
                    rmd160  040f3f6f38aed7f41380cd3e80756fd2360f7cad

use_bzip2	    yes
use_parallel_build  yes

depends_build \
	port:pkgconfig \
	port:xorg-xtrans \
	port:xorg-util-macros

use_autoreconf yes
autoreconf.args -fvi

patchfiles 0001-Allow-a-configure-option-to-build-without-xtrans-dis.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+)*)
