# Created by: Cheng-Lung Sung # $FreeBSD: head/devel/googletest/Makefile 520417 2019-12-19 03:41:38Z jbeich $ PORTNAME= googletest DISTVERSIONPREFIX= release- DISTVERSION= 1.10.0 PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org COMMENT= Framework for writing C++ tests on a variety of platforms LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= google USES= cmake compiler:c++11-lib USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= TEST TEST_USES= python:build TEST_CMAKE_BOOL= gtest_build_tests gmock_build_tests TEST_TEST_TARGET= test post-install: # Drop unused not preprocessed headers ${FIND} ${STAGEDIR}${PREFIX} -name '*.pump' -delete pre-install-TEST-on: do-test .include