# -*- 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 pure 1.0 pure.setup pure-stllib 0.6 categories-append devel platforms darwin maintainers {ryandesign @ryandesign} {gmail.com:aggraef @agraef} license BSD description a Pure interface to some C++ container types long_description ${name} provides ${description}. checksums rmd160 55d6c5920923472570185324feea6fa6d71c7ce7 \ sha256 1d550764fc2f8ba6ddbd1fbd3da2d6965b69e2c992747265d9ebe4f16aa5e455 depends_build-append port:pkgconfig patchfiles-append patch-Makefiles.diff patchfiles-append patch-tr1-support.diff compiler.cxx_standard 2011 # 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