# $Id: Portfile 67153 2010-04-30 08:51:21Z ryandesign@macports.org $

PortSystem              1.0

name                    gpsd
version                 2.94
categories              net
maintainers             nomaintainer
platforms               darwin

description             gps multiplexor daemon

long_description        gpsd is a small daemon multiplexes output or \
                        information from a GPS receiver.

homepage                http://gpsd.berlios.de/
master_sites            http://download.berlios.de/gpsd/

checksums               md5     ce70bcd707ac1df861d4c72f503c09d1 \
                        sha1    d1c0661ebd6b41d019249b6588b7478927b7eba6 \
                        rmd160  7c3a2d36eefb1ee533c138d6b77da8e1ece8fd2f

depends_lib             port:xorg-libXaw \
                        port:Xft2 \
                        port:xorg-libXp \
                        port:libpng \
                        lib:libXm:openmotif

variant no_x11 {
    depends_lib-delete  port:xorg-libXaw \
                        port:Xft2 \
                        port:xorg-libXp \
                        lib:libXm:openmotif
    
    configure.args-append \
                        --without-x
}

livecheck.type          regex
livecheck.url           [lindex ${master_sites} 0]
livecheck.regex         ${name}-(\[0-9.\]+)${extract.suffix}
