# -*- 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

PortSystem          1.0

name                mcrypt
version             2.6.8
revision            1
categories          sysutils security
maintainers         {snc @nerdling} openmaintainer
license             GPL-3+
description         A replacement for the old crypt package and crypt(1) command
long_description    MCrypt is a replacement for the old crypt() \
                    package and crypt(1) command, with extensions. It \
                    allows developers to use a wide range of \
                    encryption functions, without making drastic \
                    changes to their code. It allows users to encrypt \
                    files or data streams without having to be \
                    cryptographers.
homepage            http://mcrypt.sourceforge.net/
platforms           darwin

master_sites        sourceforge:mcrypt \
                    ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/ \
                    freebsd

checksums           rmd160  5115c679ee5d34b9fb9e976c12240c48370df514 \
                    sha256  5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098

depends_lib         port:mhash port:libmcrypt

patchfiles          patch-rfc2440.diff

configure.args      --disable-posix-threads --mandir=${prefix}/share/man

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/mcrypt/files/
livecheck.regex     ${name}-(\\d+(\\.\\d+)+)