# -*- 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           boost  1.0
PortGroup           cmake  1.1
PortGroup           github 1.0

github.setup        Shark-ML Shark 4.0.1 v
set name            shark
revision            1
categories          math
license             LGPL-3
maintainers         nomaintainer

description         Fast, modular, feature-rich open-source C++ machine learning library

long_description    Shark is a fast, modular, feature-rich open-source C++ \
                    machine learning library. It provides methods for linear \
                    and nonlinear optimization, kernel-based learning algorithms, \
                    neural networks and various other machine learning techniques. \
                    It serves as a powerful toolbox for real world applications \
                    as well as research.

homepage            http://image.diku.dk/shark/

github.tarball_from archive

boost.version       1.71
cmake.build_type    Release

checksums           rmd160  1038148cd5da0628c65194b3d76630824561d732 \
                    sha256  1caf9c73c5ebf54f9543a090e2b05ac646f95559aa1de483cd7662c378c1ec21 \
                    size    13235905

depends_lib-append  port:hdf5

configure.args-append \
                    -DBUILD_SHARED_LIBS=ON \
                    -DBoost_LIBRARY_DIR=[boost::lib_dir]
