# $Id: Portfile 130514 2014-12-31 03:36:15Z larryv@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-htmltemplate version 1.5.0 categories-append textproc license MIT platforms darwin supported_archs noarch 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 python.versions 27 if {${name} ne ${subport}} { post-destroot { eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \ ${destroot}${prefix}/share/doc/${subport} xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport} eval xinstall -m 644 [glob ${worksrcpath}/sample/*] \ ${destroot}${prefix}/share/examples/${subport} } }