source: trunk/dports/python/py-optik/Portfile

Last change on this file was 130644, checked in by larryv@…, 3 years ago

py{24,25}-optik: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 130644 2015-01-02 05:28:18Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-optik
7version         1.5.3
8license         BSD
9maintainers     nomaintainer
10platforms       darwin freebsd
11supported_archs noarch
12description     flexible, easy-to-use command-line parsing library for python
13
14long_description \
15    Optik is a powerful, flexible, extensible, easy-to-use command-line parsing \
16    library for Python. Using Optik, you can add intelligent, sophisticated handling \
17    of command-line options to your scripts with very little overhead.
18
19homepage        http://optik.sourceforge.net/
20master_sites    sourceforge:optik
21distname        optik-${version}
22
23checksums       sha1 e4718ed19bf15cf7d882b369e9e5de7c352d7fb5
24
25python.versions 27
26
27if {${name} ne ${subport}} {
28    post-destroot {
29        file delete -force ${destroot}${prefix}/share/doc/${subport}
30        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
31        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
32    }
33}
Note: See TracBrowser for help on using the repository browser.