Ticket #25979: Portfile.2

File Portfile.2, 1.2 KB (added by Themanwithoutaplan, 14 years ago)

py27-virtualenv portfile

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python27 1.0
6
7name                py27-virtualenv
8version             1.4.9
9categories-append   devel
10platforms           darwin
11maintainers         akitada openmaintainer
12homepage            http://pypi.python.org/pypi/virtualenv
13description         Virtual Python Environment builder
14long_description    virtualenv is a tool to create isolated Python \
15                    environments.
16
17master_sites        http://pypi.python.org/packages/source/v/virtualenv/
18distname            virtualenv-${version}
19checksums           md5 c49067cab242b5ff8c7b681a5a99533a \
20                    sha1 e1e22f500641b3b9a67804305904ea56ebece0d6 \
21                    rmd160 7435600029211ab786e11590d5ca62ba368ecb6d
22
23post-destroot {
24    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
25    foreach f [glob -directory ${worksrcpath}/docs *] {
26        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
27    }
28}
29
30depends_lib-append  port:py27-distribute
31
32livecheck.type      regex
33livecheck.url       http://pypi.python.org/pypi/virtualenv
34livecheck.regex     virtualenv (1\.\[0-9\]+\.\[0-9\]+)