pkgsrc/devel/gmock/Makefile
ryoon 6f11ad73fc Import gmock-1.6.0 (googlemock) as devel/gmock from wip/gmock
Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
specifics in mind, Google C++ Mocking Framework (or Google Mock for
short) is a library for writing and using C++ mock classes. Google Mock:

* lets you create mock classes trivially using simple macros,
* supports a rich set of matchers and actions,
* handles unordered, partially ordered, or completely ordered expectations,
* is extensible by users, and
* works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and Symbian.
2011-07-29 15:18:29 +00:00

37 lines
944 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/07/29 15:18:29 ryoon Exp $
#
DISTNAME= gmock-1.6.0
CATEGORIES= devel
MASTER_SITES= http://googlemock.googlecode.com/files/
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://code.google.com/p/googlemock/
COMMENT= C++ Mocking Framework
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
SUBST_CLASSES+= fix-python
SUBST_STAGE.fix-python= pre-configure
SUBST_MESSAGE.fix-python= Fixing dynamic python
SUBST_FILES.fix-python+= gtest/scripts/*py
SUBST_SED.fix-python+= -e 's,/usr/bin/env python,${PYTHONBIN},'
CONFIGURE_ARGS+= --enable-external-gtest
pre-configure:
${RM} -r ${WRKSRC}/gtest
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock-config ${DESTDIR}${PREFIX}/bin
.include "../../devel/googletest/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"