# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-do
version			2.0
categories-append	databases
license			BSD
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		PyDO is a Object-Relational database access tool.
long_description	${description}

homepage		http://skunkweb.org/pydo2.html
master_sites	http://download.berlios.de/skunkweb/
distname		PyDO-${version}
checksums		sha1 67340af6f46551698fae744712f23098879c3713

python.versions	24

if {$subport != $name} {
    patchfiles		patch-setup.py

    post-destroot	{
        file delete -force ${destroot}${prefix}/share/doc/${subport}
        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
    }
}
