Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 14:51:35 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452650 - head/devel/pear-PHP_CodeCoverage
Message-ID:  <201710221451.v9MEpZSF003192@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Sun Oct 22 14:51:35 2017
New Revision: 452650
URL: https://svnweb.freebsd.org/changeset/ports/452650

Log:
  devel/pear-PHP_CodeCoverage: Update from 1.2.7 to 5.2.2
  
  Unbreak this port
  
  switch to GitHub
  
  While here switch to DISTVERSION
  
  Changelogs: https://github.com/sebastianbergmann/php-code-coverage
  
  Approved by:	tz (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12742

Modified:
  head/devel/pear-PHP_CodeCoverage/Makefile
  head/devel/pear-PHP_CodeCoverage/distinfo

Modified: head/devel/pear-PHP_CodeCoverage/Makefile
==============================================================================
--- head/devel/pear-PHP_CodeCoverage/Makefile	Sun Oct 22 14:46:20 2017	(r452649)
+++ head/devel/pear-PHP_CodeCoverage/Makefile	Sun Oct 22 14:51:35 2017	(r452650)
@@ -2,29 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	PHP_CodeCoverage
-PORTVERSION=	1.2.7
+DISTVERSION=	5.2.2
 CATEGORIES=	devel pear
-MASTER_SITES=	http://pear.phpunit.de/get/
 PKGNAMEPREFIX=	pear-
 
 MAINTAINER=	joneum@FreeBSD.org
 COMMENT=	Library that provides PHP code coverage information
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	pear-File_Iterator>=1.3.0:devel/pear-File_Iterator \
-		pear-PHP_TokenStream>=1.1.3:devel/pear-PHP_TokenStream \
-		pear-Text_Template>=1.1.1:textproc/pear-Text_Template \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS=	pear-File_Iterator>=1.3.0:devel/pear-File_Iterator \
-		pear-PHP_TokenStream>=1.1.3:devel/pear-PHP_TokenStream \
-		pear-Text_Template>=1.1.1:textproc/pear-Text_Template \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
+BUILD_DEPENDS=	pear-File_Iterator>=1.4.2:devel/pear-File_Iterator \
+		pear-PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream \
+		pear-Text_Template>=1.2.0:textproc/pear-Text_Template \
+		pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
+RUN_DEPENDS=	pear-File_Iterator>=1.4.2:devel/pear-File_Iterator \
+		pear-PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream \
+		pear-Text_Template>=1.2.0:textproc/pear-Text_Template \
+		pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
 
-BROKEN=		unfetchable, redirects to https://phpunit.de/
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	php-code-coverage
 
-USES=	pear
-PEAR_CHANNEL=	phpunit
+NO_BUILD=	yes
 
 OPTIONS_DEFINE=	DOM XDEBUG
 DOM_DESC=	Enable DOM support
@@ -32,5 +33,14 @@ XDEBUG_DESC=	Enable Xdebug support
 
 DOM_USE=	PHP=dom
 XDEBUG_RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdebug.so:devel/php-xdebug
+
+PHP_DIR=	share/PHP
+
+PLIST_FILES=	${PHP_DIR}/${PORTNAME}/CodeCoverage.php
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/src/CodeCoverage.php \
+		${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/devel/pear-PHP_CodeCoverage/distinfo
==============================================================================
--- head/devel/pear-PHP_CodeCoverage/distinfo	Sun Oct 22 14:46:20 2017	(r452649)
+++ head/devel/pear-PHP_CodeCoverage/distinfo	Sun Oct 22 14:51:35 2017	(r452650)
@@ -1,2 +1,3 @@
-SHA256 (PEAR/PHP_CodeCoverage-1.2.7.tgz) = 361dfde902d4fed289327ecc8f7e29178f9a96dfb4a0f84a0c139a7a6d672d32
-SIZE (PEAR/PHP_CodeCoverage-1.2.7.tgz) = 157806
+TIMESTAMP = 1508502796
+SHA256 (sebastianbergmann-php-code-coverage-5.2.2_GH0.tar.gz) = bb72a49fcf59d40ad77a6c91ccd23472e2d7d13149a70a658039876af13347bf
+SIZE (sebastianbergmann-php-code-coverage-5.2.2_GH0.tar.gz) = 353591



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710221451.v9MEpZSF003192>