# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 67083 2010-04-28 20:44:23Z ryandesign@macports.org $

PortSystem 1.0

name             nettle
version          1.15
categories       devel crypto
platforms        darwin
maintainers      gmx.de:exodusd uni-paderborn.de:nicke openmaintainer
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     http://www.lysator.liu.se/~nisse/archive/
checksums        md5 6b0fd004359660b65ff3eca77b3d5fa6 \
                 sha1 0f2d95a859fc64ff3e490f9f2bec0d206ae95a7e \
                 rmd160 8944901d4a856bb25b8e44e420ba4475c0fd0a93

depends_lib		 port:gmp

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