Source
if {[variant_isset elwms] && !(([variant_isset python26] || [variant_isset python27]) && [variant_isset octave] && [variant_isset r])} {
# -*- 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 compilers 1.0
name shogun
version 2.1.0
revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
revision 18
categories math science
platforms darwin
license GPL-3
conflicts shogun-devel
maintainers nomaintainer
description The machine-learning toolbox's focus is on large-scale \
kernel methods
long_description ${description} and especially on Support Vector Machines \
(SVM). It provides a generic SVM object interfacing to \
several different SVM implementations, among them the \
state of the art OCAS, LibSVM, SVMLight, SVMLin and GPDT.
homepage http://shogun-toolbox.org
master_sites ${homepage}/archives/shogun/releases/${branch}/sources/
use_bzip2 yes
checksums rmd160 5fece569be7d95bbe9ad406f1b5e10f06f4ac20e \
sha256 6c47941a98d506d7b1e21d5bfd511f8684a2e1f371accd4756cdc8821916a63b
worksrcdir ${name}-${version}/src
patchfiles patch-src_configure.diff
post-patch {
reinplace "s|@@MAKEDEPEND@@|${configure.cc} -MM|g" ${worksrcpath}/configure
}
depends_build-append port:pkgconfig
# FIXME: enable use of OpenBLAS(-devel) and Accelerate/vecLibFort?
depends_lib-append port:hdf5 \
port:json-c \
port:libxml2 \
port:readline \
port:atlas \
port:arpack \
port:eigen3 \
port:lp_solve \
port:glpk \
port:lzo2 \
port:snappy \
port:gzip \
port:bzip2 \
port:xz
universal_variant no
pre-fetch {