# $Id: Portfile 88814 2012-01-12 20:01:52Z phw@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-url
version			0.15.1
revision		1
categories		python
license			MIT
platforms		darwin freebsd
maintainers		phw openmaintainer
description		RFC2396 compliant Python implementation of URLs
long_description	This Python module contains an RFC2396 compliant \
				implementation of URLs (see the class URL) and file \
				like classes for reading data from URLs and writing \
				data to URLs

homepage		http://www.livinglogic.de/Python/url/
master_sites	http://ftp.livinglogic.de/url/
distname		ll-url-${version}
checksums       md5     ffa18a0ba9512b0d32c3331241c9e751
use_bzip2		yes

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} HOWTO INSTALL NEWS README \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex {"ll-url-([0-9\.]+).tar.gz"}
