2023-02-28 23:42:48 +08:00
|
|
|
# -*- 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 R 1.0
|
|
|
|
|
|
2024-09-09 19:25:44 +08:00
|
|
|
# Revert to GitHub once updated there.
|
|
|
|
|
R.setup cran 2005m kit 0.0.19 v
|
2024-05-06 00:01:48 +08:00
|
|
|
revision 0
|
2026-04-11 19:42:02 +04:00
|
|
|
maintainers nomaintainer
|
2023-02-28 23:42:48 +08:00
|
|
|
license GPL-3
|
|
|
|
|
description Data manipulation functions implemented in C
|
|
|
|
|
long_description {*}${description}
|
2024-09-09 19:25:44 +08:00
|
|
|
checksums rmd160 aac350ff06570281afd261b873235be903130a10 \
|
|
|
|
|
sha256 be551b742fc4fe9adb3c79f21c661450ff075148e1efc144936e1636f0291828 \
|
|
|
|
|
size 93131
|
|
|
|
|
# github.tarball_from archive
|
2023-02-28 23:42:48 +08:00
|
|
|
|
|
|
|
|
compiler.openmp_version 3.0
|
|
|
|
|
|
|
|
|
|
post-patch {
|
2023-08-14 09:45:41 +08:00
|
|
|
# https://github.com/2005m/kit/issues/36
|
2023-10-01 18:17:55 +08:00
|
|
|
if {[string match macports-clang* ${configure.compiler}]} {
|
2023-02-28 23:42:48 +08:00
|
|
|
reinplace "s,-Xpreprocessor -fopenmp,-Xpreprocessor -I${prefix}/include/libomp -fopenmp," ${worksrcpath}/configure
|
|
|
|
|
reinplace "s,-lomp,-L${prefix}/lib/libomp -lomp,g" ${worksrcpath}/configure
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
test.run yes
|