# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem		1.0
PortGroup		python 1.0

name			py-supervisor
version			3.0a3
license			BSD ZPL-2.1
maintainers		gmail.com:roger.hoover
description		Process manager for UNIX-like OSs
long_description	The supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems

platforms		darwin
supported_archs	noarch

homepage		http://www.plope.com/software/supervisor2/
master_sites		${homepage}
distname		supervisor-${version}
checksums		md5 e6533646e83aede64d2855c0f11f964c

python.versions	24

if {$subport != $name} {
    depends_lib-append	port:py${python.version}-setuptools \
                port:py${python.version}-elementtree \
                port:py${python.version}-meld3 \
                port:py${python.version}-medusa

    post-destroot   {
            file delete -force ${destroot}${prefix}/doc
            xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt COPYRIGHT.txt LICENSES.txt TODO.txt UPGRADING.txt sample.conf ${destroot}${prefix}/share/doc/${subport}
    }
}
