Files
2019-02-10 00:47:19 -08:00

57 lines
2.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-htmlgen
version 2.2
revision 1
categories-append textproc
platforms darwin
license MIT
maintainers nomaintainer
description python class library for the generation of HTML \
documents
long_description HTMLgen is a class library for the generation of \
HTML documents with Python scripts. It's used when \
you want to create HTML pages containing \
information which changes from time to time. For \
example, you might want to have a page which \
provides an overall system summary of data \
collected nightly. Or maybe you have a catalog of \
data and images that you would like formed into \
a spiffy set of web pages for the world to browse. \
Python is a great scripting language for these tasks \
and with HTMLgen it is very straightforward to \
construct objects which are rendered out into \
consistently structured web pages. Of course, CGI \
scripts written in Python can take advantage of \
these classes as well.
homepage http://starship.python.net/crew/friedrich/
supported_archs noarch
master_sites freebsd
distname HTMLgen
checksums md5 cd20f8b63d3215e57289ddbf56c97f48
python.versions 27
if {${name} ne ${subport}} {
post-extract {
copy ${filespath}/setup.py ${worksrcpath}
delete ${worksrcpath}/installp.py ${worksrcpath}/HTMLtest.py
reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
}
post-destroot {
delete ${destroot}${prefix}/share/doc/${subport}
copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} ChangeLog README \
${destroot}${prefix}/share/doc/${subport}
}
}
livecheck.type none