# $Id: Portfile 28206 2007-08-24 17:24:55Z sfiera@macports.org $ PortSystem 1.0 PortGroup python24 1.0 name py-libxslt version 2.6.21 categories python textproc platforms darwin maintainers sfiera openmaintainer description Python bindings for libxslt long_description ${description} homepage http://xmlsoft.org/ master_sites ftp://xmlsoft.org/libxml2/python/ distname libxml2-python-${version} checksums md5 229dd2b3d110a77defeeaa73af83f7f3 patchfiles patch-setup.py.diff depends_lib-append port:libxslt \ port:py-libxml2 \ port:zlib build.env LDFLAGS=-L${prefix}/lib post-patch { reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py } post-destroot { # strip out anything not related to libxslt, so py-libxml2 doesn't conflict # with py-libxml2 cd ${destroot} fs-traverse file . { if {[file isfile ${file}]} { if {![string match "*xslt*" ${file}]} { file delete ${file} } } } } livecheck.check md5 livecheck.url ftp://xmlsoft.org/libxml2/python/ livecheck.md5 a2cc31311f1b3fb52a08cf1056efda11