Index: devel/pear-SebastianBergmann_PHPCPD/Makefile =================================================================== --- devel/pear-SebastianBergmann_PHPCPD/Makefile +++ devel/pear-SebastianBergmann_PHPCPD/Makefile @@ -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}-${DISTVERSION}/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 +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 -BROKEN= unfetchable, redirects to https://phpunit.de/ +WRKSRC= ${WRKDIR}/phpcpd +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}-${DISTVERSION}/phpcpd.php ${STAGEDIR}${DATADIR} .include Index: devel/pear-SebastianBergmann_PHPCPD/distinfo =================================================================== --- devel/pear-SebastianBergmann_PHPCPD/distinfo +++ devel/pear-SebastianBergmann_PHPCPD/distinfo @@ -1,2 +1,3 @@ -SHA256 (PEAR/phpcpd-1.4.0.tgz) = 3a9b5b388d6ce06cbdba8ee5756a48d5509aef22de5574290405caaa927a6ae6 -SIZE (PEAR/phpcpd-1.4.0.tgz) = 10439 +TIMESTAMP = 1511381007 +SHA256 (sebastianbergmann-phpcpd-2.0.0_GH0.tar.gz) = 102f309ee517e1c021504d3f5823482a1869eee6b5d8b770e904bf4b179d2646 +SIZE (sebastianbergmann-phpcpd-2.0.0_GH0.tar.gz) = 14885