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

PortSystem              1.0
PortGroup               cmake 1.1
PortGroup               github 1.0

github.setup            google double-conversion 3.4.0 v
github.tarball_from     archive
revision                0

categories              devel
license                 BSD
maintainers             {sethm.id.au:dev @McDaMastR} \
                        openmaintainer

description             Efficient binary-decimal and decimal-binary conversion \
                        routines for IEEE doubles
long_description        {*}${description}.

checksums               rmd160  d66a2d16d822044242077dc843cec48d24058aaf \
                        sha256  42fd4d980ea86426e457b24bdfa835a6f5ad9517ddb01cdb42b99ab9c8dd5dc9 \
                        size    7035722

configure.args-append   -DBUILD_SHARED_LIBS=ON \
                        -DBUILD_TESTING=ON \
                        -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF

test.run                yes
test.cmd                ctest
test.target
