mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
41 lines
1.5 KiB
Tcl
41 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 github 1.0
|
|
PortGroup makefile 1.0
|
|
PortGroup muniversal 1.1
|
|
|
|
github.setup JuliaMath openlibm 0.8.4 v
|
|
revision 0
|
|
categories math devel
|
|
license MIT ISCL BSD LGPL-2.1+
|
|
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
|
|
description high quality system independent, portable, open source libm implementation
|
|
long_description OpenLibm is an effort to have a high quality, portable, standalone C mathematical library (libm).
|
|
|
|
homepage https://openlibm.org
|
|
|
|
checksums rmd160 e3a6784e87e2346e82f847fdb517ec2dcc860d0d \
|
|
sha256 c0bac12a6596f2315341790a7f386f9162a5b1f98db9ec40d883fce64e231942 \
|
|
size 373409
|
|
|
|
github.tarball_from archive
|
|
|
|
foreach phase {build destroot test} {
|
|
${phase}.args-append prefix=${prefix}
|
|
}
|
|
|
|
foreach phase {build destroot test} {
|
|
foreach arch ${muniversal.architectures} {
|
|
${phase}.args.${arch}-append ARCH=${arch}
|
|
}
|
|
}
|
|
|
|
if {[string match *clang* ${configure.compiler}]} {
|
|
build.args-append USECLANG=1
|
|
build.args-append USEGCC=0
|
|
} else {
|
|
build.args-append USECLANG=0
|
|
build.args-append USEGCC=1
|
|
}
|