Files
Joshua Root f6abd23fb6 math/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-25 02:50:03 +11:00

57 lines
1.9 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 github 1.0
PortGroup mpi 1.0
PortGroup muniversal 1.0
github.setup anishida lis 2.0.30
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
master_sites https://www.ssisc.org/lis/dl
use_zip yes
homepage https://www.ssisc.org/lis/index.en.html
categories math science
license BSD
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description a parallel software library for solving linear equations and eigenvalue problems
long_description \
Lis (Library of Iterative Solvers for linear systems, pronounced \[lis\]) is \
a parallel software library for solving linear equations and eigenvalue problems \
that arise in the numerical solution of partial differential equations using iterative methods.
checksums rmd160 63399bc5bbe645b86b6867932baf54dfa0702b74 \
sha256 fefe1ba48aa5867cde3c07ea4009fb333baa863b535a1f29bbdf99de42f49f67 \
size 3999895
mpi.setup require_fortran -g95
compilers.allow_arguments_mismatch \
yes
# respect MacPorts compiler
patchfiles-append patch-compiler.diff \
patch-src-Makefile.in.diff
# configure script sets optimization flag
configure.optflags-delete -Os
configure.args-append \
--enable-shared \
--enable-f90 \
--enable-complex \
--enable-saamg
if {[mpi_variant_isset]} {
configure.args-append \
--enable-mpi
}
post-destroot {
foreach f [glob -directory ${worksrcpath}/test *.{c,F,F90}] {
file copy ${f} ${destroot}${prefix}/share/examples/${name}/
}
}