# -*- 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
PortGroup           deprecated 1.0

name                py-sgmlop
version             1.1.1-20040207
revision            1
categories-append   textproc
license             MIT
maintainers         nomaintainer
description         Optimized SGML/XML parser
long_description \
    The sgmlop module provides an optimized SGML/XML parser, designed as an \
    add-on to the sgmllib/htmllib and xmllib modules shipped with Python 1.5 \
    and later.

platforms           darwin

homepage            https://www.effbot.org/zone/sgmlop-index.htm
master_sites        https://www.effbot.org/downloads/
distname            sgmlop-${version}
use_zip             yes

checksums           md5 be45f08ea057727d92b708dd72126e47

livecheck.type      none
deprecated.upstream_support no

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} README \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
