# $Id: Portfile 87251 2011-11-15 01:24:35Z dports@macports.org $ PortSystem 1.0 PortGroup python26 1.0 name py26-xml version 0.8.4 categories-append devel textproc maintainers nomaintainer description XML Tools for Python long_description \ A package of all the tools required for writing basic \ XML applications in Python. platforms darwin license MIT BeOpen CNRI ZPL-1.0 BSD homepage http://pyxml.sourceforge.net/ master_sites sourceforge:pyxml distname PyXML-${version} checksums md5 1f7655050cebbb664db976405fdba209 depends_lib-append port:expat # Work with python 2.6 patchfiles patch-xml_xpath_ParsedAbbreviatedAbsoluteLocationPath.py.diff \ patch-xml_xpath_ParsedAbbreviatedRelativeLocationPath.py.diff build.args --with-libexpat=${prefix} post-destroot { file mkdir ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} }