source: trunk/dports/python/py-openssl/Portfile @ 5164

Last change on this file since 5164 was 5164, checked in by mww, 14 years ago

favor xinstall over file copy & co

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.5 2004/02/02 23:51:45 mww Exp $
2
3PortSystem 1.0
4
5name            py-openssl
6version         0.5.1
7categories      python devel security
8maintainers     mww@opendarwin.org
9platforms       darwin freebsd
10description     python wrapper around the OpenSSL library
11long_description        This python module is a rather thin wrapper around (a \
12                subset of) the OpenSSL library. With thin wrapper a lot of the \
13                object methods do nothing more than calling a corresponding \
14                function in the OpenSSL library.
15
16homepage        http://pyopenssl.sourceforge.net/
17master_sites    sourceforge:pyopenssl
18distname        pyOpenSSL-${version}
19checksums       md5 4b27570a24eb21664e8c033394496a0e
20
21depends_lib     bin:python:python \
22                lib:openssl:openssl
23
24configure       {
25        reinplace "s|/sw/|${prefix}/|g" ${worksrcpath}/setup.py
26}
27
28build.cmd       python setup.py
29build.target    build
30
31destroot.cmd    python setup.py
32destroot.destdir        --prefix=${destroot}${prefix}
33
34post-destroot   {
35        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog INSTALL README \
37                TODO ${destroot}${prefix}/share/doc/${name}
38}
Note: See TracBrowser for help on using the repository browser.