# $Id: Portfile 49849 2009-04-19 07:09:02Z blb@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name			py25-htmltemplate
version			1.5.0
categories		python textproc
platforms		darwin
maintainers		nomaintainer
description		HTML template engine for python
long_description	HTMLTemplate converts HTML/XHTML templates into simple \
				Python object models that can be manipulated through \
				callback functions in your scripts.

homepage		http://freespace.virgin.net/hamish.sanderson/htmltemplate.html
master_sites		http://cheeseshop.python.org/packages/source/H/HTMLTemplate/
distname		HTMLTemplate-${version}
checksums		md5     c6f3f9d00373319df1ddb4b94327d0a7 \
				sha1    e538e19074df19a171ff873e115e01d69ed32464 \
				rmd160  27647bdf7e2d3511169d83afc3ee31d950536ccb

post-destroot {
	eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
	eval xinstall -m 644 [glob ${worksrcpath}/sample/*] \
		${destroot}${prefix}/share/examples/${name}
}

