# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $

PortSystem 1.0

name			xteddy
version			2.0.2
revision                1
categories		x11
platforms		darwin
maintainers		nomaintainer
description		A cuddlesome teddy for the X desktop
long_description	This is _the_ toy for the X desktop, a must for all plush \
				lovers: a very, very cuddlesome teddy.

homepage		http://www.itn.liu.se/~stegu/xteddy/
master_sites	http://www.itn.liu.se/~stegu/xteddy/ freebsd
checksums		md5 c197253b5116db5dc4e32b58dd36160e
patchfiles		patch-xtoys

# port:imlib is not universal
universal_variant no

depends_lib \
	port:xorg-libsm \
	port:imlib \
	port:zlib

post-patch {
	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/xtoys
}

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