Fetching contributors…
Cannot retrieve contributors at this time
39 lines (27 sloc) 1.34 KB
# -*- 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 compiler_blacklist_versions 1.0
PortGroup pure 1.0
pure.setup pure-stllib 0.6
categories-append devel
platforms darwin
maintainers {ryandesign @ryandesign} { @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
# 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.
if {${configure.cxx_stdlib} eq "libstdc++"} {
configure.cxxflags-append -DHAVE_TR1
} yes check