Added: trunk/dports/devel/gtest/Portfile (0 => 139641)
--- trunk/dports/devel/gtest/Portfile (rev 0)
+++ trunk/dports/devel/gtest/Portfile 2015-08-22 18:48:20 UTC (rev 139641)
@@ -0,0 +1,42 @@
+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
Property changes on: trunk/dports/devel/gtest/Portfile
___________________________________________________________________