svn commit: r438609 - head/devel/pear-PHP_Timer

Wen Heping wen at FreeBSD.org
Sun Apr 16 01:26:34 UTC 2017


Author: wen
Date: Sun Apr 16 01:26:32 2017
New Revision: 438609
URL: https://svnweb.freebsd.org/changeset/ports/438609

Log:
  - Update to 1.0.9
  
  PR:		218609
  Submitted by:	joneum at bsdproject.de(maintainer)

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

Modified: head/devel/pear-PHP_Timer/Makefile
==============================================================================
--- head/devel/pear-PHP_Timer/Makefile	Sun Apr 16 01:07:46 2017	(r438608)
+++ head/devel/pear-PHP_Timer/Makefile	Sun Apr 16 01:26:32 2017	(r438609)
@@ -2,18 +2,29 @@
 # $FreeBSD$
 
 PORTNAME=	PHP_Timer
-PORTVERSION=	1.0.4
+PORTVERSION=	1.0.9
 CATEGORIES=	devel pear
-MASTER_SITES=	http://pear.phpunit.de/get/
 PKGNAMEPREFIX=	pear-
 
 MAINTAINER=	joneum at bsdproject.de
 COMMENT=	Utility class for timing
 
-BUILD_DEPENDS=	${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS=	${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	pear
-PEAR_CHANNEL=	phpunit
+USE_GITHUB=	yes
+GH_ACCOUNT= sebastianbergmann
+GH_PROJECT=	php-timer
+
+NO_BUILD=	yes
+
+PHP_DIR=	share/PHP
+
+PLIST_FILES=	${PHP_DIR}/${PORTNAME}/Timer.php
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/src/Timer.php \
+		${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/devel/pear-PHP_Timer/distinfo
==============================================================================
--- head/devel/pear-PHP_Timer/distinfo	Sun Apr 16 01:07:46 2017	(r438608)
+++ head/devel/pear-PHP_Timer/distinfo	Sun Apr 16 01:26:32 2017	(r438609)
@@ -1,2 +1,3 @@
-SHA256 (PEAR/PHP_Timer-1.0.4.tgz) = f51965eea8ec722843f0a10cd4b9c35aaecf0a816ac80929dbab87c8a6d8692b
-SIZE (PEAR/PHP_Timer-1.0.4.tgz) = 3694
+TIMESTAMP = 1492020404
+SHA256 (sebastianbergmann-php-timer-1.0.9_GH0.tar.gz) = db90226fe9c5e3d72f49780d6df430b4f305b55639544fdfb9b22927d581670c
+SIZE (sebastianbergmann-php-timer-1.0.9_GH0.tar.gz) = 3740


More information about the svn-ports-head mailing list