# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@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 {${name} ne ${subport}} {
    patchfiles		patch-setup.py

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