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

Last change on this file since 3956 was 3956, checked in by mww, 17 years ago

new port

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.1 2003/11/16 00:23:42 mww Exp $
2
3PortSystem 1.0
4
5name            py-optik
6version         1.4.1
7categories      python
8maintainers     mww@opendarwin.org
9description     flexible, easy-to-use command-line parsing library for python
10long_description        Optik is a powerful, flexible, extensible, easy-to-use \
11                command-line parsing library for Python. Using Optik, you can \
12                add intelligent, sophisticated handling of command-line \
13                options to your scripts with very little overhead.
14
15homepage        http://optik.sourceforge.net/
16master_sites    sourceforge:optik
17distname        Optik-${version}
18checksums       md5 2696d5d1d8617fba794ee8271974bd61
19
20depends_lib     bin:python:python
21
22use_configure   no
23
24build.cmd       python setup.py
25build.target    build
26
27destroot.cmd    python setup.py
28destroot.destdir        --prefix=${destroot}${prefix}
29
30post-destroot   {
31        file mkdir ${destroot}${prefix}/share/doc/${name}
32        file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/PKG-INFO \
33                ${worksrcpath}/README.txt ${worksrcpath}/advanced.txt \
34                ${worksrcpath}/basic.txt ${worksrcpath}/callbacks.txt \
35                ${worksrcpath}/extending.txt ${worksrcpath}/tao.txt \
36                ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
37}
38
Note: See TracBrowser for help on using the repository browser.