mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See https://github.com/macports/macports-ports/pull/26909#issuecomment-3339115770
42 lines
1.5 KiB
Tcl
42 lines
1.5 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
|
|
|
|
R.setup bioconductor grimbough Rhdf5lib 1.26.0
|
|
revision 0
|
|
categories-append bioconductor
|
|
maintainers nomaintainer
|
|
license Artistic-2
|
|
description HDF5 library as an R package
|
|
long_description {*}${description}
|
|
homepage https://github.com/grimbough/Rhdf5lib
|
|
checksums rmd160 d89ddf214378ff453480271086096c95a2fcb128 \
|
|
sha256 4b3147da31b60c1f2b37db770059762862da7d28cab66d2aaf3799fcede89160 \
|
|
size 12061633
|
|
|
|
# FIXME: reason is unknown at the moment, but recent versions may fail to build on Rosetta:
|
|
# See: https://github.com/grimbough/Rhdf5lib/issues/53
|
|
# Switch to build_arch due to: https://trac.macports.org/ticket/69301
|
|
platform darwin 10 {
|
|
if {${configure.build_arch} eq "ppc"} {
|
|
# Build system uses multiple configure scripts, and it gets messy on Rosetta otherwise.
|
|
patchfiles patch-rosetta.diff
|
|
|
|
post-patch {
|
|
reinplace "s,@BUILD@,powerpc-apple-darwin10,g" ${worksrcpath}/src/Makevars.in
|
|
}
|
|
|
|
build.args-append \
|
|
--configure-args="--build=powerpc-apple-darwin10"
|
|
}
|
|
}
|
|
|
|
depends_test-append port:R-BiocStyle \
|
|
port:R-knitr \
|
|
port:R-mockery \
|
|
port:R-rmarkdown \
|
|
port:R-tinytest
|
|
|
|
test.run yes
|