# -*- 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 compiler_blacklist_versions 1.0 PortGroup github 1.0 github.setup kalinochkind matrix-calculator 5c5befd313f0522f8b91fa1d6f19a821bc46308e version 2018.03.13 revision 1 categories math license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Matrix multiplication and inverses, systems of linear equations etc. long_description {*}${description} checksums rmd160 19e4c4641fe0647ac9ed65fcf123bebc8d94e0ae \ sha256 688cf92d5abdec1caf8b873922e689adb892f90de36e6b9a09c71908993243c2 \ size 19617 depends_lib-append port:readline compiler.c_standard 1999 compiler.cxx_standard 2011 # Build with Xcode clang fails on 10.8–10.9: # https://github.com/kalinochkind/matrix-calculator/issues/1 compiler.blacklist-append \ {clang < 602} post-patch { reinplace "s,/usr/include/readline,${prefix}/include/readline," ${worksrcpath}/CMakeLists.txt } destroot { xinstall ${build.dir}/matrix ${destroot}${prefix}/bin/matrix-calc }