summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed>2009-12-21 19:18:25 +0000
committerreed <reed>2009-12-21 19:18:25 +0000
commit4d0f6582db916afb2ce92da932920d9927030a0e (patch)
tree61e34a874215a1758b0c36f562617f9c866944d8
parent70493d728b971f5a353105afb6bc01625d28cd07 (diff)
downloadpkgsrc-4d0f6582db916afb2ce92da932920d9927030a0e.tar.gz
Add new package: googletest.
The googletest package provides Google's C++ test writing framework. It is based on the xUnit architecture and works for a variety of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian). It provides various options for running the tests, a rich set of assertions, automatic test discovery, and XML test report generation. It supports type- and value-parameterized tests, death tests, fatal and non-fatal failures, and user-defined assertions.
-rw-r--r--devel/googletest/DESCR8
-rw-r--r--devel/googletest/Makefile20
-rw-r--r--devel/googletest/PLIST24
-rw-r--r--devel/googletest/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/googletest/DESCR b/devel/googletest/DESCR
new file mode 100644
index 00000000000..4600f181dd5
--- /dev/null
+++ b/devel/googletest/DESCR
@@ -0,0 +1,8 @@
+The googletest package provides Google's C++ test writing framework.
+It is based on the xUnit architecture and works for a variety of
+platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and
+Symbian). It provides various options for running the tests, a
+rich set of assertions, automatic test discovery, and XML test
+report generation. It supports type- and value-parameterized tests,
+death tests, fatal and non-fatal failures, and user-defined
+assertions.
diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile
new file mode 100644
index 00000000000..440d878301f
--- /dev/null
+++ b/devel/googletest/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/21 19:18:25 reed Exp $
+#
+
+DISTNAME= gtest-1.4.0
+PKGNAME= ${DISTNAME:S/gtest/googletest/}
+CATEGORIES= devel
+MASTER_SITES= http://googletest.googlecode.com/files/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://code.google.com/p/googletest/
+COMMENT= Google's C++ testing framework
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c++ c
+USE_LIBTOOL= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/googletest/PLIST b/devel/googletest/PLIST
new file mode 100644
index 00000000000..6899cb30127
--- /dev/null
+++ b/devel/googletest/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/21 19:18:25 reed Exp $
+bin/gtest-config
+include/gtest/gtest-death-test.h
+include/gtest/gtest-message.h
+include/gtest/gtest-param-test.h
+include/gtest/gtest-spi.h
+include/gtest/gtest-test-part.h
+include/gtest/gtest-typed-test.h
+include/gtest/gtest.h
+include/gtest/gtest_pred_impl.h
+include/gtest/gtest_prod.h
+include/gtest/internal/gtest-death-test-internal.h
+include/gtest/internal/gtest-filepath.h
+include/gtest/internal/gtest-internal.h
+include/gtest/internal/gtest-linked_ptr.h
+include/gtest/internal/gtest-param-util-generated.h
+include/gtest/internal/gtest-param-util.h
+include/gtest/internal/gtest-port.h
+include/gtest/internal/gtest-string.h
+include/gtest/internal/gtest-tuple.h
+include/gtest/internal/gtest-type-util.h
+lib/libgtest.la
+lib/libgtest_main.la
+share/aclocal/gtest.m4
diff --git a/devel/googletest/distinfo b/devel/googletest/distinfo
new file mode 100644
index 00000000000..6139dd6305d
--- /dev/null
+++ b/devel/googletest/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/21 19:18:25 reed Exp $
+
+SHA1 (gtest-1.4.0.tar.bz2) = d26e1a67ec08a9d6167ecf77c61961c469f448b2
+RMD160 (gtest-1.4.0.tar.bz2) = 2688f9e4c68af10a5974af91c0fe2dd551cf72c7
+Size (gtest-1.4.0.tar.bz2) = 525425 bytes