# -*- 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           github 1.0

# Upstream added some fixes since the last release.
github.setup        auriocus VecTcl 8cce67a4f4d54bcb67b601af6569d13407943d4d
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             0.3
revision            0
categories          math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Numeric array and linear algebra extension for Tcl
long_description    This package provides a numerical array extension for Tcl \
                    with support for vectors, matrices and higher-rank tensors \
                    of integers, floating point and complex numbers. It has built-in support \
                    for basic array shaping, slicing and linear algebra subroutines \
                    and is designed to integrate seamlessly with Tcl.
homepage            https://auriocus.github.io/VecTcl
checksums           rmd160  22b4cdd80903c6a4173542e7a2112f2761f7361d \
                    sha256  35ce689f3f9daf45c56a56d97204cb71a94171c0e3b29881915e1a70d2605e36 \
                    size    1469569

depends_lib-append  port:tcl

patchfiles          0001-Makefile.in-fix-include-dir.patch \
                    0002-Use-unversioned-PKGDIR.patch

# This is needed for a correct installation:
configure.args-append \
                    --libdir=${prefix}/lib
