mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
2.0 KiB
Tcl
47 lines
2.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 cmake 1.1
|
|
PortGroup github 1.0
|
|
PortGroup legacysupport 1.1
|
|
|
|
github.setup AcademySoftwareFoundation Imath 3.2.2 v
|
|
name imath
|
|
github.tarball_from releases
|
|
revision 0
|
|
|
|
checksums rmd160 fcee7626db78df0372496349608e614cb5f6e742 \
|
|
sha256 0f5a783b424f374e6f27ec8b0c73130e89b08814ac8fa2e84fd7fe0b05862c53 \
|
|
size 680358
|
|
|
|
categories graphics
|
|
license BSD
|
|
maintainers {mcalhoun @MarcusCalhoun-Lopez} {mascguy @mascguy} openmaintainer
|
|
|
|
description OpenEXR Math Library
|
|
long_description Imath is a basic, light-weight, and efficient C++ representation of \
|
|
2D and 3D vectors and matrices and other simple but useful \
|
|
mathematical objects, functions, and data types common in computer \
|
|
graphics applications, including the "half" 16-bit floating-point type. \
|
|
Imath also includes optional python bindings for all types and functions, \
|
|
including optimized implementations of vector and matrix arrays.
|
|
|
|
homepage https://imath.readthedocs.io/
|
|
|
|
# NOTE: legacysupport needed for 'CLOCK_MONOTONIC'
|
|
|
|
depends_build-append port:pkgconfig
|
|
|
|
compiler.cxx_standard 2014
|
|
|
|
# see https://trac.macports.org/ticket/67403
|
|
if { ${os.major} < 11 && ${cxx_stdlib} eq "libstdc++" } {
|
|
configure.cxxflags-append -D__STDC_FORMAT_MACROS
|
|
}
|
|
|
|
test.run yes
|
|
test.target test
|
|
|
|
# only allow numbers, to avoid pre-release versions
|
|
github.livecheck.regex {([0-9.]+)}
|