# -*- 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
# $Id: Portfile 65908 2010-04-02 22:28:17Z jmr@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-virtualenv
version             1.4.5
categories-append   devel
platforms           darwin
maintainers         akitada openmaintainer
homepage            http://pypi.python.org/pypi/virtualenv
description         Virtual Python Environment builder
long_description    virtualenv is a tool to create isolated Python \
                    environments.

master_sites        http://pypi.python.org/packages/source/v/virtualenv/
distname            virtualenv-${version}
checksums           md5 d3c621dd9797789fef78442e336df63e \
                    sha1 2c13c814792eee86f46cf5d9d781baed6d269c10 \
                    rmd160 5168b4bb21e5c59121a639ea78857d06aa60b04e

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    foreach f [glob -directory ${worksrcpath}/docs *] {
        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
    }
}

depends_lib-append  port:py26-distribute

livecheck.type      regex
livecheck.url       http://pypi.python.org/pypi/virtualenv
livecheck.regex     virtualenv (1\.\[0-9\]+\.\[0-9\]+)
