# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-htmloo
version			0.7
revision		1
categories-append	www
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		python module allowing usage of html code like python objects
long_description	pyhtmloo is a library that allows python developers to \
				use HTML code like any other python objects. The final \
				goal of this is to have a library of HTML 'widgets'. \
				This will allow to no re-invent the wheel when \
				building HTML pages.

homepage		http://pyhtmloo.sourceforge.net/
master_sites	sourceforge:pyhtmloo
distname		pyhtmloo-${version}
extract.suffix	.tgz
extract.mkdir	yes
checksums		md5 2e5b236f2a2e0680a5bf198078bcffc6

python.versions	24

if {$subport != $name} {
    post-destroot	{
        file delete -force ${destroot}${prefix}/share/doc/${subport}/examples
        file copy ${worksrcpath}/widgets \
            ${destroot}${prefix}/share/doc/${subport}/examples
    }
}
