Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 19:53:55 +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: r455614 - head/devel/pear-SebastianBergmann_PHPCPD
Message-ID:  <201712051953.vB5Jrt3R079746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Tue Dec  5 19:53:55 2017
New Revision: 455614
URL: https://svnweb.freebsd.org/changeset/ports/455614

Log:
  devel/pear-SebastianBergmann_PHPCPD: Update to 2.0.0
  
  Unbreak this port
  
  switch to GitHub
  
  Add LICENSE_FILE
  
  Update *_DEPENDS
  
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13235

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

Modified: head/devel/pear-SebastianBergmann_PHPCPD/Makefile
==============================================================================
--- head/devel/pear-SebastianBergmann_PHPCPD/Makefile	Tue Dec  5 19:52:41 2017	(r455613)
+++ head/devel/pear-SebastianBergmann_PHPCPD/Makefile	Tue Dec  5 19:53:55 2017	(r455614)
@@ -2,30 +2,41 @@
 # $FreeBSD$
 
 PORTNAME=	PHPCPD
-PORTVERSION=	1.4.0
+DISTVERSION=	2.0.0
 CATEGORIES=	devel pear
-MASTER_SITES=	http://pear.phpunit.de/get/
 PKGNAMEPREFIX=	pear-SebastianBergmann_
-DISTNAME=	phpcpd-${PORTVERSION}
 
 MAINTAINER=	joneum@FreeBSD.org
 COMMENT=	Copy/Paste Detector (CPD) for PHP code
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	pear-ezc_ConsoleTools>=1.6:devel/pear-ezc_ConsoleTools \
-		pear-SebastianBergmann_FinderFacade>=1.0.4:devel/pear-SebastianBergmann_FinderFacade \
-		pear-PHP_Timer>=1.0.4:devel/pear-PHP_Timer \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS=	pear-ezc_ConsoleTools>=1.6:devel/pear-ezc_ConsoleTools \
-		pear-SebastianBergmann_FinderFacade>=1.0.4:devel/pear-SebastianBergmann_FinderFacade \
-		pear-PHP_Timer>=1.0.4:devel/pear-PHP_Timer \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
+WRKSRC=	${WRKDIR}/${PORTNAME:tl}-${DISTVERSION}
 
-BROKEN=		unfetchable, redirects to https://phpunit.de/
+BUILD_DEPENDS=	pear-ezc_ConsoleTools>=1.6.1:devel/pear-ezc_ConsoleTools \
+		pear-SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade \
+		pear-PHP_Timer>=1.0.9:devel/pear-PHP_Timer \
+		pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
+RUN_DEPENDS=	pear-ezc_ConsoleTools>=1.6.1:devel/pear-ezc_ConsoleTools \
+		pear-SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade \
+		pear-PHP_Timer>=1.0.9:devel/pear-PHP_Timer \
+		pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+
+NO_ARCH=	yes
+
+USES=	php
 USE_PHP=	tokenizer
-PEAR_CHANNEL=	phpunit
-USES=	pear
+
+NO_BUILD=	yes
+
+PLIST_FILES=	${DATADIR}/phpcpd.php
+
+do-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/phpcpd.php ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/devel/pear-SebastianBergmann_PHPCPD/distinfo
==============================================================================
--- head/devel/pear-SebastianBergmann_PHPCPD/distinfo	Tue Dec  5 19:52:41 2017	(r455613)
+++ head/devel/pear-SebastianBergmann_PHPCPD/distinfo	Tue Dec  5 19:53:55 2017	(r455614)
@@ -1,2 +1,3 @@
-SHA256 (PEAR/phpcpd-1.4.0.tgz) = 3a9b5b388d6ce06cbdba8ee5756a48d5509aef22de5574290405caaa927a6ae6
-SIZE (PEAR/phpcpd-1.4.0.tgz) = 10439
+TIMESTAMP = 1512468963
+SHA256 (sebastianbergmann-PHPCPD-2.0.0_GH0.tar.gz) = 102f309ee517e1c021504d3f5823482a1869eee6b5d8b770e904bf4b179d2646
+SIZE (sebastianbergmann-PHPCPD-2.0.0_GH0.tar.gz) = 14885



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