# -*- 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 # $Id: Portfile 125905 2014-09-29 05:59:05Z ryandesign@macports.org $ PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup pure 1.0 pure.setup stldict 0.8 categories-append devel platforms darwin maintainers ryandesign gmail.com:aggraef license LGPL-3+ description a Pure interface to the C++ dictionary containers long_description ${name} provides ${description}. checksums rmd160 edd27eea378ae97f444909e271307b5c30e313ad \ sha256 5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28 depends_build-append port:pkgconfig patchfiles patch-Makefile.diff patchfiles-append patch-tr1-support.diff # Requires C++11. compiler.blacklist-append {clang < 137} gcc-* *llvm-gcc* # These are set in the Makefile but the pure portgroup overrides them. configure.cxxflags-append -g -std=c++0x -Wall # No auto-detection of TR1 support yet. # https://bitbucket.org/purelang/pure-lang/issue/29/pure-stldict-08-fails-to-build-on-os-x-108 if {${configure.cxx_stdlib} eq "libstdc++"} { configure.cxxflags-append -DHAVE_TR1 } test.run yes test.target check