freebsd-ports/devel/googletest/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

37 lines
959 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= googletest
DISTVERSIONPREFIX= release-
DISTVERSION= 1.8.1
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= autoreconf compiler:c++11-lang libtool
WRKSRC_SUBDIR= ${PORTNAME}
GNU_CONFIGURE= yes
# fused-src python tests are only useful for bundling. There's no point in
# running them before installing system-wide without source files.
CONFIGURE_ENV= ac_cv_path_PYTHON=":"
TEST_TARGET= check
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
post-patch:
# enable vendor make install again (revert 661758e)
@${REINPLACE_CMD} -E 's/install-(exec|data)-local/&-dummy/' \
${WRKSRC}/Makefile.am
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/gtest-config ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>