Files

28 lines
1.0 KiB
Tcl

# -*- 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 makefile 1.0
name svmlin
version 1.0
categories math
license GPL-2
maintainers nomaintainer
description Fast linear SVM solvers for supervised and semi-supervised learning
long_description {*}${description}
homepage https://vikas.sindhwani.org
master_sites ${homepage}/
distname ${name}-v${version}
checksums rmd160 730132b7c06e67436222abf88935570d9e425e7f \
sha256 2647a23805dd6e6b35bbad47e08c1202446fbd8c8045256993a41b902a2b37e0 \
size 1068173
post-patch {
reinplace "s|g++|${configure.cxx}|" ${worksrcpath}/Makefile
reinplace "s|-Wall -O3|-Wall -O3 [get_canonical_archflags cxx]|" ${worksrcpath}/Makefile
}
destroot {
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
}