# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem      1.0
PortGroup       python24 1.0

name            py-optik
version         1.5.3
categories      python
maintainers     nomaintainer
platforms       darwin freebsd
description     flexible, easy-to-use command-line parsing library for python

long_description \
    Optik is a powerful, flexible, extensible, easy-to-use command-line parsing \
    library for Python. Using Optik, you can add intelligent, sophisticated handling \
    of command-line options to your scripts with very little overhead.

homepage        http://optik.sourceforge.net/
master_sites    sourceforge:optik
distname        optik-${version}

checksums       sha1 e4718ed19bf15cf7d882b369e9e5de7c352d7fb5

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

