source: trunk/dports/python/py-ssh/Portfile @ 5325

Last change on this file since 5325 was 5325, checked in by mww, 16 years ago

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 913 bytes
RevLine 
[5325]1# $Id: Portfile,v 1.3 2004/02/08 13:24:56 mww Exp $
[4734]2
3PortSystem 1.0
4
5name            py-ssh
6version         0.2
[4737]7categories      python net security
[4734]8platforms       darwin
9maintainers     mww@opendarwin.org
10description     python module for programmatically controlling ssh and scp
11long_description        PySSH is a Python library for programmatically \
12                        controlling ssh and scp.
13
14homepage        http://pyssh.sourceforge.net/
15master_sites    sourceforge:pyssh
16distname        pyssh-${version}
17checksums       md5 359a3f40bce6016af02d3f34ebb68e9d
18use_zip         yes
19
20depends_lib     bin:python:python
21
22post-extract    {
23        file copy ${filespath}/setup.py ${worksrcpath}
24}
25
26use_configure   no
27
28build.cmd       python setup.py
29build.target    build
30
31destroot.cmd    python setup.py
32destroot.destdir        --prefix=${destroot}${prefix}
33
34post-destroot   {
[5325]35        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath} README.txt license.txt \
[4734]37                ${destroot}${prefix}/share/doc/${name}
38}
Note: See TracBrowser for help on using the repository browser.