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

PortSystem          1.0

name                nettle
version             2.4
revision            1
categories          devel crypto
platforms           darwin
maintainers         gmx.de:exodusd uni-paderborn.de:nicke openmaintainer
license             LGPL-2.1+

description         low-level cryptographic library

long_description    Nettle is a cryptographic library that is designed to fit \
                    easily in more or less any context: In crypto toolkits \
                    for object-oriented languages (C++, Python, Pike, ...), \
                    in applications like LSH or GNUPG, or even in kernel \
                    space. It tries to solve a problem of providing a common \
                    set of cryptographic algorithms for higher-level \
                    applications by implementing a context-independent set of \
                    cryptographic algorithms. In that light, Nettle doesn't \
                    do any memory allocation or I/O, it simply provides the \
                    cryptographic algorithms for the application to use in \
                    any environment and in any way it needs.

homepage            http://www.lysator.liu.se/~nisse/nettle/
master_sites        gnu

checksums           rmd160  8480e10ce718db1a280d57a808a78a4cfa940d1c \
                    sha256  a6009208df6881f75aa1a87081ccfb2ccac1884da10670c53d7b76596f649c3f

depends_lib         port:gmp

patchfiles          patch-configure.diff

configure.args      --enable-shared

if {"x86_64" == ${configure.build_arch}} {
    configure.args-append --disable-assembler
}