# $Id: Portfile 53731 2009-07-13 02:32:22Z jeremyhu@macports.org $

PortSystem 1.0

name            xorg-libXt
version         1.0.6
categories      x11 devel
maintainers     jeremyhu openmaintainer
description     X.org libXt
homepage        http://www.x.org
platforms       darwin macosx
long_description X Toolkit Intrinsics, an abstract widget library upon \
    which other toolkits are based. Xt is the basis for many toolkits, \
    including the Athena widgets, Xaw, and LessTif, a Motif \
    implementation.
master_sites    http://xorg.freedesktop.org/archive/individual/lib/

distname    libXt-${version}
checksums           md5     953930ddf9fdaa1405732c7f01e9e599 \
                    sha1    8396f51c413006a14c1d7ecd3270a3c59736654a \
                    rmd160  3ad412ee271513e2ca4d8d8f7945d1d1ec0efeae

use_bzip2   yes
use_parallel_build      yes

depends_build   port:pkgconfig \
		port:libtool \
		port:autoconf \
		port:automake \
		port:xorg-util-macros
depends_lib     port:xorg-libsm \
                port:xorg-libX11

use_autoreconf yes
autoreconf.args -fvi

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