mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
34 lines
865 B
Makefile
34 lines
865 B
Makefile
PORTNAME= googletest
|
|
PORTVERSION= 1.15.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://github.com/google/googletest/releases/download/v${PORTVERSION}/
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Framework for writing C++ tests on a variety of platforms
|
|
WWW= https://google.github.io/googletest/ \
|
|
https://github.com/google/googletest
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake:testing compiler:c++17-lang pathfix python:test
|
|
|
|
CMAKE_OFF= GTEST_HAS_ABSL \
|
|
gmock_build_tests \
|
|
gtest_build_samples \
|
|
gtest_build_tests \
|
|
gtest_disable_pthreads \
|
|
gtest_hide_internal_symbols
|
|
CMAKE_ON= BUILD_GMOCK \
|
|
BUILD_SHARED_LIBS \
|
|
INSTALL_GTEST
|
|
CMAKE_TESTING_ON= \
|
|
gmock_build_tests \
|
|
gtest_build_tests
|
|
PATHFIX_CMAKELISTSTXT= internal_utils.cmake
|
|
USE_CXXSTD= c++17
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.mk>
|