Files

29 lines
1.0 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 R 1.0
# Revert to GitHub once updated there.
R.setup cran 2005m kit 0.0.19 v
revision 0
maintainers nomaintainer
license GPL-3
description Data manipulation functions implemented in C
long_description {*}${description}
checksums rmd160 aac350ff06570281afd261b873235be903130a10 \
sha256 be551b742fc4fe9adb3c79f21c661450ff075148e1efc144936e1636f0291828 \
size 93131
# github.tarball_from archive
compiler.openmp_version 3.0
post-patch {
# https://github.com/2005m/kit/issues/36
if {[string match macports-clang* ${configure.compiler}]} {
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