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

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

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.2 2004/02/08 13:24:54 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        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
38                ${destroot}${prefix}/share/doc/${name}
39}
Note: See TracBrowser for help on using the repository browser.