# $Id: Portfile 79135 2011-06-03 02:16:36Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-distribute
version             0.6.19
categories-append   devel
license             PSF ZPL
maintainers         jmr openmaintainer
description         Replacement for setuptools
long_description \
   Distribute is a fork of the Setuptools project. It is intended to replace \
   Setuptools as the standard method for working with Python module \
   distributions.

platforms           darwin

homepage            http://pypi.python.org/pypi/distribute/
master_sites        http://pypi.python.org/packages/source/d/distribute/
distname            distribute-${version}

checksums           md5     45a17940eefee849d4cb8cc06d28d96f \
                    sha1    4b9569319aa8cc283030b3d996b5d88e022c684f \
                    rmd160  7acad7c1847ed48f286fc66387941276a39fc021

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
      DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name}
   delete "${destroot}${prefix}/bin/easy_install"
}

livecheck.url       ${master_sites}
livecheck.regex     distribute-(\\d+(\\.\\d+)+)
