# $Id: Portfile 58701 2009-10-03 03:41:35Z jeremyhu@macports.org $

PortSystem 1.0

name            xorg-libAppleWM
version         1.4.0
categories      x11 devel
maintainers     jeremyhu openmaintainer
description     X.org libAppleWM
homepage        http://www.x.org
platforms       darwin macosx
long_description ${description}
master_sites     http://xorg.freedesktop.org/archive/individual/lib/

distname    libAppleWM-${version}
checksums           md5     75e27245bc15aed845fe0505f4f21ca6 \
                    sha1    370e9f59e73cf22c3533eb833a4e8493713c18e9 \
                    rmd160  07f67a7d651d6a1fd76c39e59c0de89985a08940

use_bzip2   yes
use_parallel_build      yes

depends_build   port:pkgconfig \
		port:xorg-util-macros \
                port:xorg-applewmproto \
                port:xorg-xextproto \
                port:xorg-xproto

depends_lib     port:xorg-libXext
 
use_autoreconf yes
autoreconf.args -fvi

patchfiles no-AM_CFLAGS.patch

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