svn commit: r395218 - in head/devel: googlemock googletest

Jan Beich jbeich at FreeBSD.org
Tue Aug 25 07:10:20 UTC 2015


Author: jbeich
Date: Tue Aug 25 07:10:17 2015
New Revision: 395218
URL: https://svnweb.freebsd.org/changeset/ports/395218

Log:
  devel/google{test,mock}: chase new home
  
  https://code.google.com/p/support/wiki/ReadOnlyTransition

Modified:
  head/devel/googlemock/Makefile   (contents, props changed)
  head/devel/googlemock/distinfo   (contents, props changed)
  head/devel/googlemock/pkg-descr   (contents, props changed)
  head/devel/googletest/Makefile   (contents, props changed)
  head/devel/googletest/distinfo   (contents, props changed)
  head/devel/googletest/pkg-descr   (contents, props changed)

Modified: head/devel/googlemock/Makefile
==============================================================================
--- head/devel/googlemock/Makefile	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googlemock/Makefile	Tue Aug 25 07:10:17 2015	(r395218)
@@ -3,22 +3,22 @@
 
 PORTNAME=	googlemock
 PORTVERSION=	1.7.0
+DISTVERSIONPREFIX=	release-
 CATEGORIES=	devel
-MASTER_SITES=	GOOGLE_CODE \
-		https://googlemock.googlecode.com/svn-history/r407/trunk/scripts/:svn
-DISTNAME=	gmock-${PORTVERSION}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} gmock_doctor.py:svn
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	jbeich at FreeBSD.org
 COMMENT=	Library for writing and using C++ mock classes
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	googletest>=1.7.0:${PORTSDIR}/devel/googletest
+BUILD_DEPENDS=	${LOCALBASE}/share/aclocal/ax_pthread.m4:${PORTSDIR}/devel/autoconf-archive \
+		googletest>=1.7.0:${PORTSDIR}/devel/googletest
 LIB_DEPENDS=	libgtest.so:${PORTSDIR}/devel/googletest
 
-USES=		libtool shebangfix zip
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+
+USES=		autoreconf libtool shebangfix
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -33,14 +33,11 @@ OPTIONS_DEFINE=	TEST
 TEST_USES=	python:2,build
 TEST_ALL_TARGET=check
 
-post-extract:
-# XXX gmock_doctor.py is missing from distfile before r455 or 1.8.0
-	${CP} ${DISTDIR}/gmock_doctor.py ${WRKSRC}/scripts
-
 post-patch:
-# enable vendor make install again (revert r562)
-	${REINPLACE_CMD} -E 's/ install-(exec|data)-local//' \
-		${WRKSRC}/Makefile.in
+	${REINPLACE_CMD} '/acx_pthread.m4/d' ${WRKSRC}/configure.ac
+# enable vendor make install again (revert 52277c9)
+	${REINPLACE_CMD} -E 's/install-(exec|data)-local/&-dummy/' \
+		${WRKSRC}/Makefile.am
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/gmock-config ${STAGEDIR}${PREFIX}/bin

Modified: head/devel/googlemock/distinfo
==============================================================================
--- head/devel/googlemock/distinfo	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googlemock/distinfo	Tue Aug 25 07:10:17 2015	(r395218)
@@ -1,4 +1,2 @@
-SHA256 (gmock-1.7.0.zip) = 26fcbb5925b74ad5fc8c26b0495dfc96353f4d553492eb97e85a8a6d2f43095b
-SIZE (gmock-1.7.0.zip) = 2167746
-SHA256 (gmock_doctor.py) = 92a8eaf7f4c0716ecd9622b97d907e68d5eb63d6c89acbc1fc72d573d00fc47d
-SIZE (gmock_doctor.py) = 23590
+SHA256 (google-googlemock-release-1.7.0_GH0.tar.gz) = 3f20b6acb37e5a98e8c4518165711e3e35d47deb6cdb5a4dd4566563b5efd232
+SIZE (google-googlemock-release-1.7.0_GH0.tar.gz) = 296168

Modified: head/devel/googlemock/pkg-descr
==============================================================================
--- head/devel/googlemock/pkg-descr	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googlemock/pkg-descr	Tue Aug 25 07:10:17 2015	(r395218)
@@ -8,4 +8,4 @@ for writing and using C++ mock classes. 
     * is extensible by users, and
     * works on Linux, Windows, and Mac OS X. 
 
-WWW: http://code.google.com/p/googlemock/
+WWW: https://github.com/google/googlemock

Modified: head/devel/googletest/Makefile
==============================================================================
--- head/devel/googletest/Makefile	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googletest/Makefile	Tue Aug 25 07:10:17 2015	(r395218)
@@ -3,16 +3,18 @@
 
 PORTNAME=	googletest
 PORTVERSION=	1.7.0
+DISTVERSIONPREFIX=	release-
 CATEGORIES=	devel
-MASTER_SITES=	GOOGLE_CODE
-DISTNAME=	gtest-${PORTVERSION}
 
 MAINTAINER=	jbeich at FreeBSD.org
 COMMENT=	Framework for writing C++ tests on a variety of platforms
 
 LICENSE=	BSD3CLAUSE
 
-USES=		libtool shebangfix zip
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+
+USES=		autoreconf libtool shebangfix
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -29,9 +31,9 @@ TEST_USES=	python:2,build
 TEST_ALL_TARGET=check
 
 post-patch:
-# enable vendor make install again (revert r562)
-	${REINPLACE_CMD} -E 's/ install-(exec|data)-local//' \
-		${WRKSRC}/Makefile.in
+# 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

Modified: head/devel/googletest/distinfo
==============================================================================
--- head/devel/googletest/distinfo	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googletest/distinfo	Tue Aug 25 07:10:17 2015	(r395218)
@@ -1,2 +1,2 @@
-SHA256 (gtest-1.7.0.zip) = 247ca18dd83f53deb1328be17e4b1be31514cedfc1e3424f672bf11fd7e0d60d
-SIZE (gtest-1.7.0.zip) = 1164254
+SHA256 (google-googletest-release-1.7.0_GH0.tar.gz) = f73a6546fdf9fce9ff93a5015e0333a8af3062a152a9ad6bcb772c96687016cc
+SIZE (google-googletest-release-1.7.0_GH0.tar.gz) = 468653

Modified: head/devel/googletest/pkg-descr
==============================================================================
--- head/devel/googletest/pkg-descr	Tue Aug 25 07:09:12 2015	(r395217)
+++ head/devel/googletest/pkg-descr	Tue Aug 25 07:10:17 2015	(r395218)
@@ -6,4 +6,4 @@ a rich set of assertions, user-defined a
 fatal and non-fatal failures, type-parameterized tests, various
 options for running the tests, and XML test report generation.
 
-WWW: http://code.google.com/p/googletest/
+WWW: https://github.com/google/googletest


More information about the svn-ports-head mailing list