# -*- 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 78664 2011-05-16 20:32:22Z saispo@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-virtualenv
version             1.6.1
categories-append   devel
platforms           darwin
maintainers         nomaintainer
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     1a475df2219457b6b4febb9fe595d915 \
                    sha1    f875868d680b83bdfa86a23536d19bb00b28b40d \
                    rmd160  1a5b11bad5c8ec50129724db99632755c637a9d7

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:py27-distribute

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