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
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
|
||
|
||
PortSystem 1.0
|
||
PortGroup cmake 1.1
|
||
PortGroup github 1.0
|
||
|
||
github.setup marton78 pffft e0bf595c98ded55cc457a371c1b29c8cab552628
|
||
# Change github.tarball_from to 'releases' or 'archive' next update
|
||
github.tarball_from tarball
|
||
version 2022.12.19
|
||
revision 0
|
||
categories math
|
||
license BSD
|
||
maintainers nomaintainer
|
||
description Pretty Fast FFT (PFFFT) library
|
||
long_description A fork of Julien Pommier’s Pretty Fast FFT (PFFFT) library with several additions.
|
||
checksums rmd160 bbfeac4fa8fdd2475c920ecfae8dff7813fbf6f4 \
|
||
sha256 1a50d6b4cf030f9b081b2d91c48a56749c7b0cf381dcf13824a767ffd3017f7e \
|
||
size 158826
|
||
|
||
compiler.cxx_standard 2011
|
||
|
||
platform powerpc {
|
||
# https://github.com/marton78/pffft/issues/55
|
||
configure.args-append \
|
||
-DPFFFT_USE_SIMD:BOOL=OFF
|
||
}
|
||
|
||
platform darwin 10 powerpc {
|
||
# Fix arch detection in Rosetta:
|
||
post-patch {
|
||
reinplace "s|CMAKE_SYSTEM_PROCESSOR|CMAKE_OSX_ARCHITECTURES|g" ${worksrcpath}/CmakeLists.txt
|
||
}
|
||
}
|
||
|
||
test.run yes
|
||
test.cmd ctest
|