aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-12-31 17:22:19 +0800
committerjoneum <joneum@FreeBSD.org>2017-12-31 17:22:19 +0800
commitb881f0c079e56fea5d6de2be380ff4e65a097cef (patch)
tree90b81937c5c426392868066decea426a1130b131
parente560e419def29b9a6932a3f59adcda4610d177ce (diff)
downloadfreebsd-ports-gnome-b881f0c079e56fea5d6de2be380ff4e65a097cef.tar.gz
freebsd-ports-gnome-b881f0c079e56fea5d6de2be380ff4e65a097cef.tar.zst
freebsd-ports-gnome-b881f0c079e56fea5d6de2be380ff4e65a097cef.zip
devel/pear-SebastianBergmann_PHPLOC: Update to 4.0.1
Unbreak this port Switch to GitHub Add LICENSE_FILE Update *_DEPENDS Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13687
-rw-r--r--devel/pear-SebastianBergmann_PHPLOC/Makefile35
-rw-r--r--devel/pear-SebastianBergmann_PHPLOC/distinfo5
2 files changed, 23 insertions, 17 deletions
diff --git a/devel/pear-SebastianBergmann_PHPLOC/Makefile b/devel/pear-SebastianBergmann_PHPLOC/Makefile
index 3e42e42de533..eca15974ca58 100644
--- a/devel/pear-SebastianBergmann_PHPLOC/Makefile
+++ b/devel/pear-SebastianBergmann_PHPLOC/Makefile
@@ -2,30 +2,35 @@
# $FreeBSD$
PORTNAME= PHPLOC
-PORTVERSION= 2.0.3
+DISTVERSION= 4.0.1
CATEGORIES= devel pear
-MASTER_SITES= http://pear.phpunit.de/get/
PKGNAMEPREFIX= pear-SebastianBergmann_
-DISTNAME= phploc-${PORTVERSION}
MAINTAINER= joneum@FreeBSD.org
COMMENT= Tool for quickly measuring the size of a PHP project
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= pear-Symfony_Component_Console>=1.1.0:devel/pear-Symfony_Component_Console \
- pear-SebastianBergmann_FinderFacade>=1.1.0:devel/pear-SebastianBergmann_FinderFacade \
- pear-SebastianBergmann_Git>=1.0.0:devel/pear-SebastianBergmann_Git \
- pear-SebastianBergmann_Version>=1.0.0:devel/pear-SebastianBergmann_Version \
- ${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= pear-Symfony_Component_Console>=2.4.4:devel/pear-Symfony_Component_Console \
+ pear-SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade \
+ pear-SebastianBergmann_Git>=1.2.0:devel/pear-SebastianBergmann_Git \
+ pear-SebastianBergmann_Version>=2.0.1:devel/pear-SebastianBergmann_Version \
+ pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
-BROKEN= unfetchable, redirects to https://phpunit.de/
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2018-01-27
+USES= php
+USE_GITHUB= yes
+GH_ACCOUNT= sebastianbergmann
+GH_PROJECT= ${PORTNAME:tl}
-USE_PHP= tokenizer
-PEAR_CHANNEL= phpunit
-USES= pear
+NO_ARCH= yes
+
+NO_BUILD= yes
+
+PLIST_FILES= ${DATADIR}/Publisher.php
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/Publisher.php ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/devel/pear-SebastianBergmann_PHPLOC/distinfo b/devel/pear-SebastianBergmann_PHPLOC/distinfo
index e7045952949e..97060ee6c8b0 100644
--- a/devel/pear-SebastianBergmann_PHPLOC/distinfo
+++ b/devel/pear-SebastianBergmann_PHPLOC/distinfo
@@ -1,2 +1,3 @@
-SHA256 (PEAR/phploc-2.0.3.tgz) = 2d90c9023160b75199b647cfd874cf1e07025d5823be34ed27838528072b7af7
-SIZE (PEAR/phploc-2.0.3.tgz) = 12588
+TIMESTAMP = 1514590935
+SHA256 (sebastianbergmann-phploc-4.0.1_GH0.tar.gz) = 2ec4ae45fa0c703537a97e2ccfb6822552b6ef4658588d1e4a289803dba1da3a
+SIZE (sebastianbergmann-phploc-4.0.1_GH0.tar.gz) = 18798