# $Id: Portfile 130838 2015-01-02 22:24:24Z larryv@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-tlslite version 0.3.0 revision 1 categories-append crypto security license public-domain maintainers nomaintainer description Python library for TLSv1 and SSLv3 operations long_description \ TLS Lite is a free python library that implements SSL v3 and TLS v1. \ It supports non-traditional authentication methods such as SRP, shared \ keys, and cryptoIDs, in addition to X.509 certificates. TLS Lite is \ pure python, however it can access OpenSSL or cryptlib for faster \ crypto operations. platforms darwin supported_archs noarch homepage http://trevp.net/tlslite/ #master_sites ${homepage} master_sites http://distfiles.macports.org/python/ distname tlslite-${version} checksums md5 2d5f7efafa5d04598b21f1889e981207 python.versions 27 if {${name} ne ${subport}} { post-destroot { file mkdir ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 ${worksrcpath}/readme.txt \ ${destroot}${prefix}/share/doc/${subport} foreach f {tls.py tlsdb.py} { reinplace "s|#! python|#!${python.bin}|g" ${destroot}${prefix}/bin/${f} } } }