Skip to content
Permalink
Browse files

gtest: Update to 1.8.1

  • Loading branch information
ryandesign authored and blair committed Apr 28, 2019
1 parent c46fa44 commit 78407919b77f3cd725cf35e4e67adbb7d8840bec
Showing with 13 additions and 7 deletions.
  1. +13 −7 devel/gtest/Portfile
@@ -1,11 +1,15 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup cmake 1.0
PortGroup cmake 1.1
PortGroup github 1.0

github.setup google googletest 1.8.0 release-
revision 1
github.setup google googletest 1.8.1 release-
revision 0
checksums rmd160 9ed5294c99d0eb2c962f9ae87d8ffc53d8c9d2d0 \
sha256 8e40a005e098b1ba917d64104549e3da274e31261dedc57d6250fe91391b2e84 \
size 992337

name gtest
categories devel
maintainers {blair @blair}
@@ -23,13 +27,15 @@ long_description \

platforms darwin

checksums rmd160 fd6ff05f0b287e23dae59d30e6b7f1a27377c049 \
sha256 d8c33605d23d303b08a912eaee7f84c4e091d6e3d90e9a8ec8aaf7450dfe2568

cmake.out_of_source yes
configure.optflags -g
configure.args-append -Dgtest_build_tests=ON

# Prevent MacPorts headers from being used. They're not needed since
# googletest has no dependencies, and if a different version of googletest
# was already installed, its headers could cause the build to fail.
configure.cppflags-delete -I${prefix}/include
compiler.cpath

post-destroot {
xinstall -d ${destroot}${prefix}/src/
file copy ${worksrcpath}/googlemock ${destroot}${prefix}/src/

0 comments on commit 7840791

Please sign in to comment.
You can’t perform that action at this time.