# -*- 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 compiler_blacklist_versions 1.0 PortGroup github 1.0 github.setup g-truc glm 1.0.0 github.tarball_from archive revision 0 checksums rmd160 aff5c53bae27393bff40ce74c78f12e692efed04 \ sha256 e51f6c89ff33b7cfb19daafb215f293d106cd900f8d681b9b1295312ccadbd23 \ size 4523789 categories devel license MIT maintainers nomaintainer description OpenGL Mathematics (GLM) C++ library long_description OpenGL Mathematics (GLM) is a C++ \ mathematics library for graphics software based \ on the OpenGL Shading Language (GLSL) specification. homepage https://glm.g-truc.net patchfiles patch-remove-werror.diff post-extract { # The directories in the archive are restricted so that only the extracting # user can look inside them. fs-traverse d ${worksrcpath} { if {[file isdirectory ${d}]} { file attributes ${d} -permissions a+rx } } } compiler.cxx_standard 1998 # error: "GLM requires Clang 3.4 / Apple Clang 6.0 or higher" # error: "GLM requires GCC 4.6 or higher" compiler.blacklist macports-clang-3.3 {clang < 600} gcc-3.* {*gcc-4.[0-5]} configure.args -DBUILD_SHARED_LIBS=ON post-destroot { # install documentation copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} }