# -*- 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$ PortSystem 1.0 PortGroup cmake 1.0 name gtest set svn_revision 746 version 1.7.0.${svn_revision} categories devel maintainers blair license BSD description Google's framework for writing C++ tests long_description \ Google's framework for writing C++ tests on a variety \ of platforms (Linux, Mac OS X, Windows, Windows CE, \ Symbian, etc). Based on the xUnit architecture. \ Supports automatic test discovery, a rich set of \ assertions, user-defined assertions, death tests, \ fatal and non-fatal failures, various options for \ running the tests, and XML test report generation. homepage https://code.google.com/p/googletest/ platforms darwin fetch.type svn svn.url http://googletest.googlecode.com/svn/trunk svn.revision ${svn_revision} worksrcdir trunk cmake.out_of_source yes configure.optflags -g configure.args-append -Dgtest_build_tests=ON destroot { file copy ${cmake.build_dir}/libgtest.a ${destroot}${prefix}/lib file copy ${cmake.build_dir}/libgtest_main.a ${destroot}${prefix}/lib file copy ${worksrcpath}/include/gtest ${destroot}${prefix}/include } test.run yes test.cmd "ulimit -c 0; make" test.target test