# -*- 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 79955 2011-06-30 15:28:00Z rmstonecipher@macports.org $

PortSystem 1.0

name             nettle
version          2.1
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     gnu
checksums           md5     2bfaf16234a5d8deb96cd23f53a682bb \
                    sha1    15f660ef6cfd62c1c3302f68055f194913de0dfb \
                    rmd160  56bd66654e8320abb12812d0fa1b79733bc62094

depends_lib		 port:gmp

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