# $Id: Portfile 90547 2012-03-08 19:52:57Z jeremyhu@macports.org $

PortSystem 1.0

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

distname    libXxf86dga-${version}
checksums           sha1    5af5d7d2f239b31035ae5b9d3e3718c833af8b56 \
                    rmd160  7075d6db6fa256e9ee54de5b78a2a9ad685481ac \
                    sha256  551fa374dbef0f977de1f35d005fa9ffe92b7a87e82dbe62d6a4640f5b0b4994

use_bzip2   yes
use_parallel_build      yes

depends_build   port:pkgconfig

depends_lib     port:xorg-libXext \
                port:xorg-xf86dgaproto

patchfiles \
        0001-Build-fix-when-sizeof-off_t-sizeof-void.patch
patch.pre_args  -p1

livecheck.type  regex
livecheck.url   http://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
livecheck.regex libXxf86dga-(\\d+(?:\\.\\d+)*)
