# -*- 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
# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem          1.0

name                mcrypt
version             2.6.8
categories          sysutils security
maintainers         snc openmaintainer
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 \
                    md5 97639f8821b10f80943fa17da302607e \
                    sha1 8ae0e866714fbbb96a0a6fa9f099089dc93f1d86

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     ">mcrypt-(\\d+\\.\\d+(\\.\\d+)?)"
