# $Id: Portfile 130505 2014-12-31 03:22:48Z larryv@macports.org $

PortSystem			1.0
PortGroup			python 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			http://www.effbot.org/zone/sgmlop-index.htm
master_sites		http://www.effbot.org/downloads/
distname			sgmlop-${version}
use_zip				yes

checksums			md5 be45f08ea057727d92b708dd72126e47

python.versions		27

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