# $Id: Portfile 76090 2011-02-18 07:18:20Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-urwid
version			0.9.9.1
categories		python
platforms		darwin
maintainers		nomaintainer
description		curses-based UI/widget library for Python
long_description	Urwid is a curses-based UI/widget library for Python. It \
				features fluid interface resizing, multiple text layout \
				options, simple markup for attributes, powerful scrolling list \
				boxes and flexible edit boxes. 

homepage		http://excess.org/urwid/
master_sites	${homepage}
distname		urwid-${version}

checksums       sha1    7430e84a43d603717944d4f0d4489d90c0d59c1c \
                rmd160  30943471f6d6ed8ec3ff777394da2eb74cd94ea0

post-destroot {
	xinstall -m 644 ${worksrcpath}/reference.html \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} browse.py calc.py edit.py fib.py tour.py \
		${destroot}${prefix}/share/doc/${name}/examples
}

livecheck.type  regex
livecheck.regex {urwid-([0-9.]+)\.tar}
