# $Id: Portfile,v 1.3 2006/05/25 17:07:27 mww Exp $

PortSystem 1.0

name			xscreensaver
version			5.00
categories		x11
platforms		darwin
maintainers		mww@opendarwin.org
description		X11 screen saver
long_description	The xscreensaver program waits until the keyboard and \
				mouse have been idle for a period, and then runs a graphics \
				demo chosen at random.

homepage		http://www.jwz.org/xscreensaver/
master_sites	${homepage}
checksums		sha1 631eb0414112b2db2e62e2ab5a984726d61696d2

depends_lib		lib:libX11.6:XFree86 \
				port:tiff port:libxml2 port:zlib port:jpeg port:pango \
				port:gtk2 port:atk port:cairo port:xrender port:libiconv \
				port:gettext port:libpng port:fontconfig port:freetype \
				port:glib2 port:libglade2

configure.args	--with-gtk --without-motif
configure.env	CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

destroot.destdir	prefix=${destroot}${prefix}

