# $Id: Portfile,v 1.6 2006/01/08 22:36:31 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-htmltemplate
version			1.4.1
categories		python textproc
platforms		darwin
maintainers		mww@opendarwin.org
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://freespace.virgin.net/hamish.sanderson/
distname		HTMLTemplate-${version}
checksums		md5 74bbaee9b851b17b5c5cd1658ea42897

post-destroot {
	xinstall -m 644 -W ${worksrcpath}/Documentation FAQ.txt License.txt \
		Manual.txt Tutorial_1.txt Tutorial_2.txt ../README.txt \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/Examples Demo1_Quote.py \
		Demo2_Table.py Demo3_Links.py Demo4_SimpleCalendar.py \
		Demo5_AlternatingRowColors.py Demo6_UserList.py Tutorial_1.py \
		Tutorial_2.py ${destroot}${prefix}/share/doc/${name}/examples
}

