Commits
Marcus Calhoun-Lopez authored 2568d4ecbb8
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup cmake 1.1 |
5 5 | PortGroup github 1.0 |
6 6 | PortGroup compiler_blacklist_versions 1.0 |
7 7 | |
8 - | compiler.blacklist-append {clang < 500} *gcc-3.* *gcc-4.* |
9 - | |
10 8 | github.setup google googletest 1.10.0 release- |
11 9 | revision 0 |
12 10 | checksums rmd160 7f9723cb844465bc9df1c9c1a380c458c5503cde \ |
13 11 | sha256 e4a7cd97c903818abe7ddb129db9c41cc9fd9e2ded654be57ced26d45c72e4c9 \ |
14 12 | size 904340 |
15 13 | |
16 14 | name gtest |
17 15 | categories devel |
18 16 | maintainers nomaintainer |
19 17 | license BSD |
23 21 | Google's framework for writing C++ tests on a variety \ |
24 22 | of platforms (Linux, Mac OS X, Windows, Windows CE, \ |
25 23 | Symbian, etc). Based on the xUnit architecture. \ |
26 24 | Supports automatic test discovery, a rich set of \ |
27 25 | assertions, user-defined assertions, death tests, \ |
28 26 | fatal and non-fatal failures, various options for \ |
29 27 | running the tests, and XML test report generation. |
30 28 | |
31 29 | platforms darwin |
32 30 | |
31 + | compiler.cxx_standard 2011 |
32 + | |
33 33 | configure.optflags -g |
34 34 | configure.args-append -Dgtest_build_tests=ON |
35 35 | |
36 36 | # Prevent MacPorts headers from being used. They're not needed since |
37 37 | # googletest has no dependencies, and if a different version of googletest |
38 38 | # was already installed, its headers could cause the build to fail. |
39 39 | configure.cppflags-delete -I${prefix}/include |
40 40 | compiler.cpath |
41 41 | |
42 42 | post-destroot { |