source: trunk/dports/python/py-crypto/Portfile @ 4071

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

new port, python/py-crypto

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.1 2003/11/27 20:25:46 mww Exp $
2
3PortSystem 1.0
4
5name            py-crypto
6version         1.9a6
7categories      python
8platforms       darwin freebsd
9maintainers     mww@opendarwin.org
10description     collection of cryptographic algorithms and protocols for python
11long_description        collection of cryptographic algorithms and protocols, \
12                        implemented for use from python. Among are MD2, MD4, \
13                        RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
14                        IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.
15
16homepage        http://www.amk.ca/python/code/crypto.html
17master_sites    http://www.amk.ca/files/python/crypto/
18distname        pycrypto-${version}
19checksums       md5 cdcebdfd63e74754f57b9e9b0db4ea20
20
21depends_lib     bin:python:python
22
23use_configure   no
24
25build.cmd       python setup.py
26build.target    build
27
28test.run        yes
29test.cmd        python test.py
30test.target
31
32destroot.cmd    python setup.py
33destroot.destdir        --prefix=${destroot}${prefix}
34
35post-destroot   {
36        file mkdir ${destroot}${prefix}/share/doc/
37        file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
38        file copy ${worksrcpath}/ACKS ${worksrcpath}/ChangeLog \
39                ${worksrcpath}/LICENSE ${worksrcpath}/MANIFEST \
40                ${worksrcpath}/PKG-INFO ${worksrcpath}/README \
41                ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
42}
Note: See TracBrowser for help on using the repository browser.