# -*- 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
PortGroup compiler_blacklist_versions 1.0
github.setup g-truc glm 0.9.9.5
maintainers openmaintainer {mmoll @mamoll}
description OpenGL Mathematics (GLM) C++ library
long_description OpenGL Mathematics (GLM) is a header only C++ \
mathematics library for graphics software based \
on the OpenGL Shading Language (GLSL) specification.
homepage http://glm.g-truc.net/
checksums rmd160 a034d47d3cc8a29cb7337473bc6076cd97b60b39 \
sha256 ba3999caa78b7fdc8e340c8ec9a67457db79cc55ce5d436688cf5930c635726e \
# see https://trac.macports.org/ticket/57085 as to why the c++11 PG can't be used just now
compiler.blacklist-append \
{macports-clang-3.[3-4]} \
# note -- NOT macports-clang-7.0 as it defaults to c++17 and we aren't
# covering that eventuality at present
compiler.fallback-append macports-clang-5.0 macports-clang-6.0
platform darwin powerpc {
compiler.fallback-append macports-gcc-6 macports-gcc-7
delete ${destroot}${prefix}/include/${name}/CMakeLists.txt
xinstall -d ${destroot}${prefix}/share/doc
copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}