# -*- 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 54541 2009-07-29 11:56:19Z snc@macports.org $

PortSystem          1.0

name                pyobfuscate
version             0.3
revision            1
categories          lang python
platforms           darwin
maintainers         nomaintainer
description         python source code obfuscator
long_description    pyobfuscate is a source code obfuscator: It makes Python \
                    source code hard to read for humans, while still being \
                    executable for the Python interpreter.

homepage            http://www.lysator.liu.se/~astrand/projects/pyobfuscate/
master_sites        ${homepage}
distname            pyobfuscate-${version}
checksums           md5 cd2884c9efc917c273f768283ead8a70

use_configure       no

depends_run         bin:python:python25

build {}

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 755 ${worksrcpath}/pyobfuscate ${destroot}${prefix}/bin/
    xinstall -m 644 -W ${worksrcpath} LICENSE PKG-INFO README TODO \
        ${destroot}${prefix}/share/doc/${name}
}
