Ticket #27884: Portfile

File Portfile, 1.6 KB (added by outis, 14 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python27 1.0
6
7name                py27-mcrypt
8version             1.1
9categories          python
10platforms           darwin
11maintainers         openmaintainer
12
13description         A comprehensive Python interface to the mcrypt library.
14
15long_description    A comprehensive Python interface to the crypt library, \
16                    which a library providing a uniform interface to several \
17                    symmetric encryption algorithms. It is intended to have \
18                    a simple interface to access encryption algorithms in \
19                    ofb, cbc, cfb, ecb and stream modes. The algorithms it \
20                    supports are DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, \
21                    CAST-256, ARCFOUR, SERPENT, SAFER+, and more.
22
23homepage            http://niemeyer.net/python-mcrypt
24master_sites        http://niemeyer.net/download/python-mcrypt/
25distname            python-mcrypt-${version}
26
27checksums           md5     0e9f7cc17545af6b51188b38984fe034 \
28                    sha1    a6bed6ef183ed042a1261e8da1edb462deadc891 \
29                    rmd160  eb02c61e4ea11836716c442c24078da56cf4d1c1 \
30
31depends_lib         port:mcrypt
32
33patchfiles          patch-setup.py.diff
34
35post-patch {
36    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
37}
38
39livecheck.type      regex
40livecheck.url       ${homepage}
41livecheck.regex     "python-mcrypt-(\\d+(?:\\.\\d+)*)"