# $Id: Portfile,v 1.11 2005/06/14 06:28:50 jkh Exp $

PortSystem 1.0

name		xsnow
version		1.41
revision	1
description	Create a snowy and Santa-y desktop

long_description Xsnow displays lovely moving snowflakes on your desktop, with Santa Claus running all over the screen.

maintainers	darwinports@opendarwin.org
categories	x11
platforms	darwin
master_sites	http://www.euronet.nl/~rja/Xsnow/
checksums	md5 11be70ab18bb4f0f7fc4e9cf5d16b077
prefix		${x11prefix}
use_xmkmf	yes
destroot.target	install install.man

post-configure {
	cd ${worksrcpath}
	system "mv Makefile Makefile~"
	system "sed -e 's: BINDIR .*:BINDIR=${prefix}/bin:' -e 's: MANDIR .*:MANDIR=${prefix}/share/man/man6:' -e 's: MANSUFFIX .*:MANSUFFIX=6:' <Makefile~ >Makefile"
}
