# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 73249 2010-11-07 16:02:04Z alakazam@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-south
version             0.7.1
categories-append   www
platforms           darwin
maintainers         nomaintainer
homepage            http://south.aeracode.org/
description         South provides intelligent schema migrations for Django apps
long_description    South provides intelligent, database-independant, \
                    semi-automatic, schema migrations for Django apps.

master_sites        http://www.aeracode.org/releases/south/
distname            south-${version}
worksrcdir          south
checksums           md5     9368b8e7ff73a0a0a267d81092d4a789 \
                    sha1    7b8356bb5aa044a4f581c68746efe8b8a90d102d \
                    rmd160  8792b9033d5cd5569ad7d8ac585650c156b8327f

depends_lib-append  port:py26-distribute

post-destroot   {
    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "/wiki/ReleaseNotes/(0\.\[0-9\]+\.\[0-9\]+)"
