pkgsrc/devel/gmock/Makefile
wiz 3faf991a33 Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
2014-05-17 16:10:41 +00:00

42 lines
1,016 B
Makefile

# $NetBSD: Makefile,v 1.4 2014/05/17 16:10:43 wiz Exp $
#
DISTNAME= gmock-1.6.0
PKGREVISION= 1
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
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
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11
.endif
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"