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
This commit is contained in:
Jochen Neumeister 2017-12-05 19:53:55 +00:00
parent e68206ff0e
commit 11a5110d9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455614
2 changed files with 28 additions and 16 deletions

View File

@ -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>

View File

@ -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