# $Id: Portfile 54717 2009-07-31 23:27:26Z ryandesign@macports.org $

PortSystem 1.0

name		gpsd
version		2.38
categories	net
maintainers	nomaintainer
description	gps multiplexor daemon
long_description	\
	gpsd is a small daemon multiplexes output or information from a GPS \
        receiver.
homepage	http://gpsd.berlios.de/
platforms	darwin
master_sites	http://download.berlios.de/gpsd/
checksums	md5     725c320ca6fa35bcdaa1de2d8908f392 \
		sha1    310cad336e06faed34a7bd3503b169b502520925 \
		rmd160  e5c8a05170286fd7aac87c9d182cfdf5a8f6c6b0

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

configure.args	--mandir=${prefix}/share/man

variant no_x11 {
    depends_lib-delete \
	port:xorg-libXaw \
	port:Xft2 \
	port:xorg-libXp \
	lib:libXm:openmotif

    configure.args-append --without-x
}
