# $Id: Portfile 55233 2009-08-07 20:07:42Z raimue@macports.org $

PortSystem      1.0
PortGroup       python25 1.0

name            py25-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}
}

