source: trunk/dports/python/py-htmlgen/Portfile

Last change on this file was 129212, checked in by larryv@…, 3 years ago

py{24,26}-htmlgen: Replace with py27-htmlgen

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 129212 2014-12-09 03:15:15Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-htmlgen
8version             2.2
9revision            1
10categories-append   textproc
11platforms           darwin
12license             MIT
13maintainers         nomaintainer
14
15description         python class library for the generation of HTML \
16                    documents
17long_description    HTMLgen is a class library for the generation of \
18                    HTML documents with Python scripts. It's used when \
19                    you want to create HTML pages containing \
20                    information which changes from time to time. For \
21                    example, you might want to have a page which \
22                    provides an overall system summary of data \
23                    collected nightly. Or maybe you have a catalog of \
24                    data and images that you would like formed into \
25                    a spiffy set of web pages for the world to browse. \
26                    Python is a great scripting language for these tasks \
27                    and with HTMLgen it is very straightforward to \
28                    construct objects which are rendered out into \
29                    consistently structured web pages. Of course, CGI \
30                    scripts written in Python can take advantage of \
31                    these classes as well.
32homepage            http://starship.python.net/crew/friedrich/
33
34supported_archs     noarch
35
36master_sites        freebsd
37distname            HTMLgen
38checksums           md5 cd20f8b63d3215e57289ddbf56c97f48
39
40python.versions     27
41
42if {${name} ne ${subport}} {
43    post-extract {
44        copy ${filespath}/setup.py ${worksrcpath}
45        delete ${worksrcpath}/installp.py ${worksrcpath}/HTMLtest.py
46        reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
47    }
48
49    post-destroot {
50        delete ${destroot}${prefix}/share/doc/${subport}
51        copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}
52        xinstall -m 644 -W ${worksrcpath} ChangeLog README \
53            ${destroot}${prefix}/share/doc/${subport}
54    }
55}
Note: See TracBrowser for help on using the repository browser.