# -*- 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 106603 2013-05-31 20:56:12Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        jedisct1 libsodium 0.4.1

categories          devel security
platforms           darwin
maintainers         brianandjenny.com:brian.andrew openmaintainer
license             MIT

description         libsodium is a portable, cross-compilable, installable, packageable, API-compatible version of NaCl.

long_description    libsodium is a software library for network communication, encryption,decryption, signatures, etc. \
                    libsodium is a portable, cross-compilable, installable, packageable, API-compatible version of NaCl.

checksums           rmd160  6ee3ebf7d0970690b86609143285b353513dd3b5 \
                    sha256  9921faf45a03eeb64b9500cc5420787f51c993a9e8c4f9206f7c5dab0f3321cd

depends_build       port:autoconf \
                    port:automake \
                    port:libtool

pre-configure {
    system -W ${worksrcpath} "./autogen.sh"
}

test.run            yes
test.target         check
