Files

38 lines
1.3 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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 kalinochkind matrix-calculator 5c5befd313f0522f8b91fa1d6f19a821bc46308e
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 2018.03.13
revision 1
categories math
license MIT
maintainers nomaintainer
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.810.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
}