summaryrefslogtreecommitdiff
path: root/benchmarks/google-benchmark/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2016-11-21 18:20:30 +0000
committerminskim <minskim>2016-11-21 18:20:30 +0000
commit835260f3de0cbb3269e888a7e263852957c1cb01 (patch)
treee3884c284c246a3a77511a2eea3ebe7766212a91 /benchmarks/google-benchmark/Makefile
parente480dbf316b12594ce54095d321082ecc68924ef (diff)
downloadpkgsrc-835260f3de0cbb3269e888a7e263852957c1cb01.tar.gz
Import google-benchmark-1.1.0
It is a library to support the benchmarking of functions, similar to unit-tests.
Diffstat (limited to 'benchmarks/google-benchmark/Makefile')
-rw-r--r--benchmarks/google-benchmark/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/google-benchmark/Makefile b/benchmarks/google-benchmark/Makefile
new file mode 100644
index 00000000000..02e638cd386
--- /dev/null
+++ b/benchmarks/google-benchmark/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/11/21 18:20:30 minskim Exp $
+
+DISTNAME= benchmark-1.1.0
+PKGNAME= google-${DISTNAME}
+CATEGORIES= benchmarks
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT= benchmark
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= https://github.com/google/benchmark/
+COMMENT= Microbenchmark support library
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"