# -*- 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 80009 2011-07-01 18:13:20Z eborisch@macports.org $

PortSystem 1.0

name                python27-doc
version             2.7.2
categories          lang
platforms           darwin
maintainers         eborisch \
                    openmaintainer
supported_archs     noarch

description         HTML documentation for Python ${version}
long_description    HTML documentation for Python ${version}. Accessible at \
                    file://${prefix}/share/doc/${name}/index.html

homepage            http://www.python.org/
master_sites        http://www.python.org/ftp/python/doc/${version}/
distname            python-${version}-docs-html

checksums           md5     40f0bd51b221662cae14fb0c6b6f622b \
                    sha1    0886850a5bcf3e14e903cd33d51d1a8b664cfe36 \
                    rmd160  d898264a2f0da8be8722396d25149c987e3614f8
                                        
use_bzip2           yes

use_configure       no

build {}

destroot {
    file mkdir ${destroot}${prefix}/share/doc/
    file copy ${worksrcpath}/ ${destroot}${prefix}/share/doc/${name}
}

livecheck.type    regex
livecheck.url   ${homepage}download/releases/
livecheck.regex {Python (2\.7(?:\.\d+)*)}

