aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-12-06 03:53:55 +0800
committerjoneum <joneum@FreeBSD.org>2017-12-06 03:53:55 +0800
commitdf990eab5770130ae6639e0912db8cd8ad1c6caf (patch)
treeb6b12d701c9a0dded632d06280ddc18bfaac3111
parent453958254e2a92de10ee65452978972df197f400 (diff)
downloadfreebsd-ports-gnome-df990eab5770130ae6639e0912db8cd8ad1c6caf.tar.gz
freebsd-ports-gnome-df990eab5770130ae6639e0912db8cd8ad1c6caf.tar.zst
freebsd-ports-gnome-df990eab5770130ae6639e0912db8cd8ad1c6caf.zip
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
-rw-r--r--devel/pear-SebastianBergmann_PHPCPD/Makefile39
-rw-r--r--devel/pear-SebastianBergmann_PHPCPD/distinfo5
2 files changed, 28 insertions, 16 deletions
diff --git a/devel/pear-SebastianBergmann_PHPCPD/Makefile b/devel/pear-SebastianBergmann_PHPCPD/Makefile
index d2ffaaa6be14..2dd7c2f2af50 100644
--- a/devel/pear-SebastianBergmann_PHPCPD/Makefile
+++ b/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}/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>
diff --git a/devel/pear-SebastianBergmann_PHPCPD/distinfo b/devel/pear-SebastianBergmann_PHPCPD/distinfo
index 147760960e53..517878f5437c 100644
--- a/devel/pear-SebastianBergmann_PHPCPD/distinfo
+++ b/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 = 1512468963
+SHA256 (sebastianbergmann-PHPCPD-2.0.0_GH0.tar.gz) = 102f309ee517e1c021504d3f5823482a1869eee6b5d8b770e904bf4b179d2646
+SIZE (sebastianbergmann-PHPCPD-2.0.0_GH0.tar.gz) = 14885