head	1.30;
access;
symbols
	pkgsrc-2026Q1:1.30.0.8
	pkgsrc-2026Q1-base:1.30
	pkgsrc-2025Q4:1.30.0.6
	pkgsrc-2025Q4-base:1.30
	pkgsrc-2025Q3:1.30.0.4
	pkgsrc-2025Q3-base:1.30
	pkgsrc-2025Q2:1.30.0.2
	pkgsrc-2025Q2-base:1.30
	pkgsrc-2025Q1:1.29.0.2
	pkgsrc-2025Q1-base:1.29
	pkgsrc-2024Q4:1.28.0.4
	pkgsrc-2024Q4-base:1.28
	pkgsrc-2024Q3:1.28.0.2
	pkgsrc-2024Q3-base:1.28
	pkgsrc-2024Q2:1.26.0.8
	pkgsrc-2024Q2-base:1.26
	pkgsrc-2024Q1:1.26.0.6
	pkgsrc-2024Q1-base:1.26
	pkgsrc-2023Q4:1.26.0.4
	pkgsrc-2023Q4-base:1.26
	pkgsrc-2023Q3:1.26.0.2
	pkgsrc-2023Q3-base:1.26
	pkgsrc-2023Q2:1.23.0.4
	pkgsrc-2023Q2-base:1.23
	pkgsrc-2023Q1:1.23.0.2
	pkgsrc-2023Q1-base:1.23
	pkgsrc-2022Q4:1.21.0.4
	pkgsrc-2022Q4-base:1.21
	pkgsrc-2022Q3:1.21.0.2
	pkgsrc-2022Q3-base:1.21
	pkgsrc-2022Q2:1.20.0.8
	pkgsrc-2022Q2-base:1.20
	pkgsrc-2022Q1:1.20.0.6
	pkgsrc-2022Q1-base:1.20
	pkgsrc-2021Q4:1.20.0.4
	pkgsrc-2021Q4-base:1.20
	pkgsrc-2021Q3:1.20.0.2
	pkgsrc-2021Q3-base:1.20
	pkgsrc-2021Q2:1.19.0.6
	pkgsrc-2021Q2-base:1.19
	pkgsrc-2021Q1:1.19.0.4
	pkgsrc-2021Q1-base:1.19
	pkgsrc-2020Q4:1.19.0.2
	pkgsrc-2020Q4-base:1.19
	pkgsrc-2020Q3:1.18.0.4
	pkgsrc-2020Q3-base:1.18
	pkgsrc-2020Q2:1.18.0.2
	pkgsrc-2020Q2-base:1.18
	pkgsrc-2020Q1:1.17.0.2
	pkgsrc-2020Q1-base:1.17
	pkgsrc-2019Q4:1.15.0.14
	pkgsrc-2019Q4-base:1.15
	pkgsrc-2019Q3:1.15.0.10
	pkgsrc-2019Q3-base:1.15
	pkgsrc-2019Q2:1.15.0.8
	pkgsrc-2019Q2-base:1.15
	pkgsrc-2019Q1:1.15.0.6
	pkgsrc-2019Q1-base:1.15
	pkgsrc-2018Q4:1.15.0.4
	pkgsrc-2018Q4-base:1.15
	pkgsrc-2018Q3:1.15.0.2
	pkgsrc-2018Q3-base:1.15
	pkgsrc-2018Q2:1.14.0.10
	pkgsrc-2018Q2-base:1.14
	pkgsrc-2018Q1:1.14.0.8
	pkgsrc-2018Q1-base:1.14
	pkgsrc-2017Q4:1.14.0.6
	pkgsrc-2017Q4-base:1.14
	pkgsrc-2017Q3:1.14.0.4
	pkgsrc-2017Q3-base:1.14
	pkgsrc-2017Q2:1.13.0.2
	pkgsrc-2017Q2-base:1.13
	pkgsrc-2017Q1:1.12.0.4
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.12.0.2
	pkgsrc-2016Q4-base:1.12
	pkgsrc-2016Q3:1.11.0.2
	pkgsrc-2016Q3-base:1.11
	pkgsrc-2016Q2:1.10.0.6
	pkgsrc-2016Q2-base:1.10
	pkgsrc-2016Q1:1.10.0.4
	pkgsrc-2016Q1-base:1.10
	pkgsrc-2015Q4:1.10.0.2
	pkgsrc-2015Q4-base:1.10
	pkgsrc-2015Q3:1.9.0.12
	pkgsrc-2015Q3-base:1.9
	pkgsrc-2015Q2:1.9.0.10
	pkgsrc-2015Q2-base:1.9
	pkgsrc-2015Q1:1.9.0.8
	pkgsrc-2015Q1-base:1.9
	pkgsrc-2014Q4:1.9.0.6
	pkgsrc-2014Q4-base:1.9
	pkgsrc-2014Q3:1.9.0.4
	pkgsrc-2014Q3-base:1.9
	pkgsrc-2014Q2:1.9.0.2
	pkgsrc-2014Q2-base:1.9
	pkgsrc-2014Q1:1.8.0.2
	pkgsrc-2014Q1-base:1.8
	pkgsrc-2013Q4:1.7.0.6
	pkgsrc-2013Q4-base:1.7
	pkgsrc-2013Q3:1.7.0.4
	pkgsrc-2013Q3-base:1.7
	pkgsrc-2013Q2:1.7.0.2
	pkgsrc-2013Q2-base:1.7
	pkgsrc-2013Q1:1.6.0.4
	pkgsrc-2013Q1-base:1.6
	pkgsrc-2012Q4:1.6.0.2
	pkgsrc-2012Q4-base:1.6
	pkgsrc-2012Q3:1.5.0.6
	pkgsrc-2012Q3-base:1.5
	pkgsrc-2012Q2:1.5.0.4
	pkgsrc-2012Q2-base:1.5
	pkgsrc-2012Q1:1.5.0.2
	pkgsrc-2012Q1-base:1.5
	pkgsrc-2011Q4:1.4.0.6
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q3:1.4.0.4
	pkgsrc-2011Q3-base:1.4
	pkgsrc-2011Q2:1.4.0.2
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2011Q1:1.3.0.10
	pkgsrc-2011Q1-base:1.3
	pkgsrc-2010Q4:1.3.0.8
	pkgsrc-2010Q4-base:1.3
	pkgsrc-2010Q3:1.3.0.6
	pkgsrc-2010Q3-base:1.3
	pkgsrc-2010Q2:1.3.0.4
	pkgsrc-2010Q2-base:1.3
	pkgsrc-2010Q1:1.3.0.2
	pkgsrc-2010Q1-base:1.3
	pkgsrc-2009Q4:1.2.0.2
	pkgsrc-2009Q4-base:1.2
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.30
date	2025.05.05.14.07.05;	author adam;	state Exp;
branches;
next	1.29;
commitid	UCNwg92IUGJVXITF;

1.29
date	2025.02.09.14.24.26;	author wiz;	state Exp;
branches;
next	1.28;
commitid	4Y4NWhxF7Y1mNNIF;

1.28
date	2024.08.02.07.43.12;	author adam;	state Exp;
branches;
next	1.27;
commitid	9IzMXlnAMjdoIdkF;

1.27
date	2024.07.19.06.51.21;	author adam;	state Exp;
branches;
next	1.26;
commitid	QPuZuGrkRXMvSpiF;

1.26
date	2023.08.05.07.13.17;	author adam;	state Exp;
branches;
next	1.25;
commitid	LMzOnodloxZxdzzE;

1.25
date	2023.07.20.09.46.33;	author nia;	state Exp;
branches;
next	1.24;
commitid	KD0GVUhEoIb3AwxE;

1.24
date	2023.07.18.14.11.15;	author nia;	state Exp;
branches;
next	1.23;
commitid	fR53LOgFr7LO6ixE;

1.23
date	2023.03.03.09.58.34;	author adam;	state Exp;
branches;
next	1.22;
commitid	cRefRrMfhqg87FfE;

1.22
date	2023.01.24.18.36.22;	author wiz;	state Exp;
branches;
next	1.21;
commitid	ve7xOYU4T11xcPaE;

1.21
date	2022.07.03.13.36.45;	author wiz;	state Exp;
branches;
next	1.20;
commitid	gxmHvLidOfdj8sKD;

1.20
date	2021.06.28.09.07.53;	author wiz;	state Exp;
branches;
next	1.19;
commitid	SNnWEX0jGFNsxSYC;

1.19
date	2020.10.25.12.59.26;	author nia;	state Exp;
branches;
next	1.18;
commitid	RstDPWGE5is1JhtC;

1.18
date	2020.04.07.21.36.58;	author adam;	state Exp;
branches;
next	1.17;
commitid	Ux1gSS0nK6nK2v3C;

1.17
date	2020.01.10.09.28.41;	author nros;	state Exp;
branches;
next	1.16;
commitid	2meTanRU6TiBQ7SB;

1.16
date	2020.01.10.06.29.48;	author nros;	state Exp;
branches;
next	1.15;
commitid	lYOxuMLvfGN5R6SB;

1.15
date	2018.09.10.10.23.33;	author adam;	state Exp;
branches;
next	1.14;
commitid	vaT487yhPN43OxRA;

1.14
date	2017.07.04.20.51.07;	author kamil;	state Exp;
branches;
next	1.13;
commitid	AzPNQpFXhe41cXXz;

1.13
date	2017.05.03.08.38.40;	author jperkin;	state Exp;
branches;
next	1.12;
commitid	oXB1pxkPDlAs8VPz;

1.12
date	2016.10.31.16.43.17;	author wiz;	state Exp;
branches;
next	1.11;
commitid	Ais12In2uUmxJjsz;

1.11
date	2016.07.09.13.03.38;	author wiz;	state Exp;
branches;
next	1.10;
commitid	k9A2yv7vTRunbEdz;

1.10
date	2015.12.05.21.25.35;	author adam;	state Exp;
branches;
next	1.9;
commitid	bgA0CynThkP3WNLy;

1.9
date	2014.05.09.07.36.59;	author wiz;	state Exp;
branches;
next	1.8;
commitid	wfzXpL2biguCPPzx;

1.8
date	2014.01.25.10.30.01;	author wiz;	state Exp;
branches;
next	1.7;
commitid	VOWgk3vYhVXj8umx;

1.7
date	2013.05.09.13.49.10;	author joerg;	state Exp;
branches;
next	1.6;

1.6
date	2012.10.31.11.17.03;	author asau;	state Exp;
branches;
next	1.5;

1.5
date	2012.03.10.10.56.17;	author obache;	state Exp;
branches;
next	1.4;

1.4
date	2011.05.13.10.54.39;	author ryoon;	state Exp;
branches;
next	1.3;

1.3
date	2010.01.26.01.20.57;	author reed;	state Exp;
branches;
next	1.2;

1.2
date	2009.12.22.13.59.02;	author reed;	state dead;
branches;
next	1.1;

1.1
date	2009.12.21.19.18.25;	author reed;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2009.12.21.19.18.25;	author reed;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2010.01.26.01.11.53;	author reed;	state Exp;
branches;
next	;


desc
@@


1.30
log
@googletest: updated to 1.17.0

1.17.0

Notable Changes

Added a flag --gtest_fail_if_no_test_linked that will cause the program to fail if no test case is linked in (5450174)
A DistanceFrom() matcher is available for general distance comparison (0bdccf4) and supports a user-defined abs()
@
text
@# $NetBSD: Makefile,v 1.29 2025/02/09 14:24:26 wiz Exp $

DISTNAME=	googletest-1.17.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	reed@@reedmedia.net
HOMEPAGE=	https://github.com/google/googletest
COMMENT=	Google's C++ testing framework
LICENSE=	modified-bsd

USE_CXX_FEATURES=	c++14
USE_LANGUAGES=		c c++

CFLAGS+=	-fPIE
CXXFLAGS+=	-fPIE

PKGCONFIG_OVERRIDE+=	googlemock/cmake/gmock.pc.in
PKGCONFIG_OVERRIDE+=	googlemock/cmake/gmock_main.pc.in
PKGCONFIG_OVERRIDE+=	googletest/cmake/gtest.pc.in
PKGCONFIG_OVERRIDE+=	googletest/cmake/gtest_main.pc.in

.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
@


1.29
log
@googletest: update to 1.16.0.

C++ Language Support

    GoogleTest requires at least C++14 and follows Google's
    Foundational C++ Support Policy. See this table for a list of
    currently supported versions compilers, platforms, and build
    tools.
    The 1.16.x branch will be the last to support C++14. Future
    development will require at least C++17.

Notable Changes

    Bazel BUILD files now reference repositories by their canonical
    names from the Bazel Central Registry (cee1ba1). Users still
    using the old WORKSPACE system may need to use repo_mapping on
    repositories that still use the old names.
    Testsuite properties as are now exported as XML elements, not
    attributes (b4aae50).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2024/08/02 07:43:12 adam Exp $
d3 1
a3 1
DISTNAME=	googletest-1.16.0
@


1.28
log
@googletest: updated to 1.15.2

v1.15.2

Bzlmod is now officially supported (previously it was supported by the community). Note that it may take several days after the release for it to become available in the Bazel Central Registry.
Many bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2024/07/19 06:51:21 adam Exp $
d3 1
a3 1
DISTNAME=	googletest-1.15.2
@


1.27
log
@googletest: updated to 1.15.0

v1.15.0

Notable Changes

Bzlmod is now officially supported (previously it was supported by the community). Note that it may take several days after the release for it to become available in the Bazel Central Registry.
Many bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2023/08/05 07:13:17 adam Exp $
d3 1
a3 1
DISTNAME=	googletest-1.15.0
@


1.26
log
@googletest: updated to 1.14.0

v1.14.0
Many bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2023/07/20 09:46:33 nia Exp $
d3 1
a3 1
DISTNAME=	googletest-1.14.0
d13 2
a14 3
USE_LANGUAGES=	c c++

USE_CXX_FEATURES+=	c++14
@


1.25
log
@*: Convert some remaining usage of GCC_REQD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2023/07/18 14:11:15 nia Exp $
d3 1
a3 1
DISTNAME=	googletest-1.13.0
@


1.24
log
@devel: Adapt packages to use USE_(CC|CXX)_FEATURES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2023/03/03 09:58:34 adam Exp $
d13 1
a13 3
# XXX check this and update it to use USE_CXX_FEATURES
# gcc7 is very high for a c++11 or c++14 baseline
USE_LANGUAGES=	c c++14
d15 1
a15 2
# cc1plus: error: unrecognized command line option "-std=c++11"
GCC_REQD+=	7
@


1.23
log
@googletest: updated to 1.13.0

v1.13.0

C++ Language Support

GoogleTest now requires at least C++14 and follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.

Notable Changes

Floating point prints full precision by default to aid in debugging (9c33214)
GTEST_FAIL_AT now terminates the test (like ASSERT_*), rather than failing and continuing (like EXPECT_*) (6f14952)
Added testing::SrcDir(), which returns the configured directory for test data files (912db74)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2023/01/24 18:36:22 wiz Exp $
d13 2
@


1.22
log
@*: convert to cmake/build.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2022/07/03 13:36:45 wiz Exp $
d3 1
a3 1
DISTNAME=	googletest-1.12.1
d6 1
a6 1
GITHUB_TAG=	release-${PKGVERSION_NOREV}
d13 1
a13 3
INSTALLATION_DIRS=	bin

USE_LANGUAGES=		c c++11
d16 1
a16 1
GCC_REQD+=		4.8
d18 2
a19 2
CFLAGS+=		-fPIE
CXXFLAGS+=		-fPIE
@


1.21
log
@googletest: update to 1.12.1.

1.12.1

C++ Language Support

    This will be the last release to support C++11. Future releases will require at least C++14.

Mocking

    Support for move-only values to Return (5126f71)

Matchers

    New matchers
        WhenBase64Unescaped (652ec31)
    ResultOf() now has a 3-arg overload that takes a description string for better error messages (0e40217)

Build & Test

    CMake minimum increased to 3.5
    Bazel users that build GoogleTest using the Abseil library as a dependency now also require a dependency on RE2 (e33c2b2)
    Bazel users that build GoogleTest using the Abseil library now use the Abseil library to parse all command-line flags (25dcdc7)

Patches

58d77fa - Fixes the version number in CMakeLists.txt (#3911)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2021/06/28 09:07:53 wiz Exp $
a14 1
USE_CMAKE=		yes
d28 1
@


1.20
log
@googletest: update to 1.11.0.

Release Notes

Documentation

    Contents significantly updated
    Files moved into docs (4892835)
    Now using GitHub pages (1a5a78b, d9c309f, c3fc92f)
    Added Bazel quickstart (32ad3c8)
    Added CMake quickstart (d4e3b8c)

Mocking

    MOCK_METHOD now handles noexcept correctly (#2498)
    MOCK_METHOD now supports ref-qualifiers (d89b363)
    MOCK_METHOD now supports returning function pointers (1f9edcd)
    DoAll now accepts move-only arguments (48ec640)
    MockFunction can now be used for mocking std::function (#2350)
    MockFunction is now templated for use with other function classes, besides std::function (662fe38)
    ACTION macros now support more than 10 arguments (63713e1)

Matchers

    New matchers
        IsNan (bbe4b73)
        FieldsAre (a462188)
        Pointer (a02a591)
        Address (e5644f5)
        Throws and ThrowsMessage (#2904)
    New actions
        ReturnRoundRobin (37f3227)
    Added Matcher<std::string_view> specialization that internally stores a string instead of string_view (6f5fd0d)
    String matchers now accept string_view input (13a433a)
    DoubleNearPredFormat matcher now fails on impractically small epsilons (b5687db)
    Truly matcher now explains failures (0c400f6)
    Matchers can now be implemented without extending MatcherInterface (c13c27a)
    Added output messages for skipped tests (#2517, #2767)

Behavior

    New flags
        --gtest_brief shows only test failures in output (#2751)
        --gtest_fail_fast stops test execution on first failure (1ced315)
    Failures in SetUpTestSuite and TearDownTestSuite now cause tests to fail rather than log (9ed99c6)
    Uninstantiated TEST_P and TYPED_TEST_P now fail unless allowlisted using GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST (d442089, a13a062, 0b024bd, 3e79d36, ec94d9f)

Output

    Added specialized printing for std::any, std::optional, and std::variant (#2742)
    Added recursive printing for std::unique_ptr and std::shared_ptr (6b2e749)
    Printing incomplete types is now supported (f8304d7)
    Start timestamps in XML/JSON output now use millisecond precision (af1e75c)
    Added more structured information about test suite to XML/JSON output on environment failures (ac1d60c)

Build & Test

    CMake minimum increased to 2.8.12 (#3094)
    GoogleTest is now using Kokoro CI instead of Travis and AppVeyor

Misc

    Removed support for GTEST_HAS_STD_STRING (#2456)
    Replaced pump code generation with variadic templates (#2388, d8eeb97, 4b9c169, fbf67a7, 41b5f14, 710f9c1, 997c36c, 59dea67)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/10/25 12:59:26 nia Exp $
d3 1
a3 1
DISTNAME=	googletest-1.11.0
d16 1
a16 1
USE_LANGUAGES=		c c++
@


1.19
log
@googletest: Require a c++11 compiler with GCC_REQD.

Do not set USE_LANGUAGES, this passes -std=c++11 by itself.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/04/07 21:36:58 adam Exp $
d3 1
a3 1
DISTNAME=	googletest-1.10.0
d21 3
@


1.18
log
@googletest: updated to 1.10.0

Release 1.10.0
1.10.0 Release reflects a current version of the project.
The 1.10.x will not consider any requests for any new features, The bug fix
requests will only be considered if proven "critical"

High Level Changes:
This release deprecated "....TEST_CASE" API in favor of "....TEST_SUITE". In a
nutshell if you have code that uses something like
"INSTANTIATE_TYPED_TEST_CASE_P " - this and all other "*_TEST_CASE " are now
deprecated in favor of more standard _TEST_SUITE.

There is also new powerful MOCK_METHOD macro.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/01/10 09:28:41 nros Exp $
d16 4
a19 1
USE_LANGUAGES=		c c++11
@


1.17
log
@Revbump due to package change.

Revbump due to package change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/01/10 06:29:48 nros Exp $
d3 1
a3 2
DISTNAME=	googletest-1.8.1
PKGREVISION=	1
@


1.16
log
@Add missing rpaths to pkg-config files (pkg-config overrides)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2018/09/10 10:23:33 adam Exp $
d4 1
@


1.15
log
@googletest: updatee to 1.8.1

v1.8.1:
1.8.1 Release reflects a current version of the project.
The 1.8.x is the last release supporting pre-C++11 compilers.
The 1.8.x will not accept any requests for any new features and any bugfix requests will only be accepted if proven "critical"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2017/07/04 20:51:07 kamil Exp $
d15 7
a21 2
USE_CMAKE=	yes
USE_LANGUAGES=	c c++11
@


1.14
log
@googletest: Add NetBSD support

Backport upstream patch:

"Add NetBSD support"
https://github.com/google/googletest/commit/4bab34d2084259cba67f3bfb51217c10d606e175

Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/05/03 08:38:40 jperkin Exp $
d3 1
a3 2
DISTNAME=	googletest-1.8.0
PKGREVISION=	1
a17 3
post-install:
	${RUN} cd ${DESTDIR} && find . -name '*.orig' -exec rm -f {} \;

@


1.13
log
@Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2016/10/31 16:43:17 wiz Exp $
d4 1
d19 3
@


1.12
log
@Updated googletest to 1.8.0.

Changes not found, but this merges googletest and googlemock/gmock.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/07/09 13:03:38 wiz Exp $
d16 1
a16 2
USE_LANGUAGES=	c++ c
CXXFLAGS+=	-std=c++11
@


1.11
log
@Remove python33: adapt all packages that refer to it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2015/12/05 21:25:35 adam Exp $
d3 1
a3 3
DISTNAME=	gtest-1.6.0
PKGNAME=	${DISTNAME:S/gtest/googletest/}
PKGREVISION=	1
d5 2
a6 2
MASTER_SITES=	http://googletest.googlecode.com/files/
EXTRACT_SUFX=	.zip
d9 1
a9 1
HOMEPAGE=	http://code.google.com/p/googletest/
d15 1
a15 1
GNU_CONFIGURE=	yes
a16 14
USE_LIBTOOL=	yes

SUBST_CLASSES+=		rpathfix
SUBST_FILES.rpathfix=	scripts/gtest-config.in
SUBST_MESSAGE.rpathfix=	Adding rpath to gtest-config
SUBST_SED.rpathfix=	-e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g'
SUBST_STAGE.rpathfix=	pre-configure

REPLACE_PYTHON+=	scripts/*py

PYTHON_VERSIONS_INCOMPATIBLE=	34 35 # not yet ported as of 1.6.0

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
a17 4
.endif

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/gtest-config ${DESTDIR}${PREFIX}/bin
a18 2
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
@


1.10
log
@Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2014/05/09 07:36:59 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 1.6.0
@


1.9
log
@Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2014/01/25 10:30:01 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # not yet ported as of 1.6.0
@


1.8
log
@Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2013/05/09 13:49:10 joerg Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 # not yet ported as of 1.6.0
@


1.7
log
@Fake std::tr1 namespace for tuple and compile with C++11 for clang.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.6 2012/10/31 11:17:03 asau Exp $
#
d27 3
a29 5
SUBST_CLASSES+=			fix-python
SUBST_STAGE.fix-python=		pre-configure
SUBST_MESSAGE.fix-python=	Fixing dynamic python
SUBST_FILES.fix-python+=	scripts/*py
SUBST_SED.fix-python+=		-e 's,/usr/bin/env python,${PYTHONBIN},'
d40 1
@


1.6
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2012/03/10 10:56:17 obache Exp $
d34 5
@


1.5
log
@bump PKGREVISION from python default change to 2.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2011/05/13 10:54:39 ryoon Exp $
a15 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.4
log
@Update to 1.6.0

Changes for 1.6.0:

* New feature: ADD_FAILURE_AT() for reporting a test failure at the
  given source location -- useful for writing testing utilities.
* New feature: the universal value printer is moved from Google Mock
  to Google Test.
* New feature: type parameters and value parameters are reported in
  the XML report now.
* A gtest_disable_pthreads CMake option.
* Colored output works in GNU Screen sessions now.
* Parameters of value-parameterized tests are now printed in the
  textual output.
* Failures from ad hoc test assertions run before RUN_ALL_TESTS() are
  now correctly reported.
* Arguments of ASSERT_XY and EXPECT_XY no longer need to support << to
  ostream.
* More complete handling of exceptions.
* GTEST_ASSERT_XY can be used instead of ASSERT_XY in case the latter
  name is already used by another library.
* --gtest_catch_exceptions is now true by default, allowing a test
  program to continue after an exception is thrown.
* Value-parameterized test fixtures can now derive from Test and
  WithParamInterface<T> separately, easing conversion of legacy tests.
* Death test messages are clearly marked to make them more
  distinguishable from other messages.
* Compatibility fixes for Android, Google Native Client, MinGW, HP UX,
  PowerPC, Lucid autotools, libCStd, Sun C++, Borland C++ Builder (Code Gear),
  IBM XL C++ (Visual Age C++), and C++0x.
* Bug fixes and implementation clean-ups.
* Potentially incompatible changes: disables the harmful 'make install'
  command in autotools.

Changes for 1.5.0:

 * New feature: assertions can be safely called in multiple threads
   where the pthreads library is available.
 * New feature: predicates used inside EXPECT_TRUE() and friends
   can now generate custom failure messages.
 * New feature: Google Test can now be compiled as a DLL.
 * New feature: fused source files are included.
 * New feature: prints help when encountering unrecognized Google Test flags.
 * Experimental feature: CMake build script (requires CMake 2.6.4+).
 * Experimental feature: the Pump script for meta programming.
 * double values streamed to an assertion are printed with enough precision
   to differentiate any two different values.
 * Google Test now works on Solaris and AIX.
 * Build and test script improvements.
 * Bug fixes and implementation clean-ups.

 Potentially breaking changes:

 * Stopped supporting VC++ 7.1 with exceptions disabled.
 * Dropped support for 'make install'.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2010/01/26 01:20:57 reed Exp $
d6 1
@


1.3
log
@Re-add files again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.2 2010/01/26 01:11:53 reed Exp $
d4 1
a4 1
DISTNAME=	gtest-1.4.0
d8 1
a8 1
EXTRACT_SUFX=	.tar.bz2
d13 1
d17 2
d29 10
@


1.2
log
@Remove googletest.

I will import later.

I should not have imported it during a freeze.
(On that note, anyway to improve cvs to notify during freezes?
Like maybe during the CVS log entry template?)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2009/12/21 19:18:25 reed Exp $
d20 6
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
@


1.1.1.1
log
@Add new package: googletest.

The googletest package provides Google's C++ test writing framework.
It is based on the xUnit architecture and works for a variety of
platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and
Symbian). It provides various options for running the tests, a
rich set of assertions, automatic test discovery, and XML test
report generation. It supports type- and value-parameterized tests,
death tests, fatal and non-fatal failures, and user-defined
assertions.
@
text
@@


1.1.1.2
log
@Import again: googletest. (I had removed it because
accidently committed during a freeze.)

The googletest package provides Google's C++ test writing framework.
It is based on the xUnit architecture and works for a variety of
platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and
Symbian). It provides various options for running the tests, a rich
set of assertions, automatic test discovery, and XML test report
generation. It supports type- and value-parameterized tests, death
tests, fatal and non-fatal failures, and user-defined assertions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2009/12/21 19:18:25 reed Exp $
a19 6
SUBST_CLASSES+=		rpathfix
SUBST_FILES.rpathfix=	scripts/gtest-config.in
SUBST_MESSAGE.rpathfix=	Adding rpath to gtest-config
SUBST_SED.rpathfix=	-e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g'
SUBST_STAGE.rpathfix=	pre-configure

@

