git: 7ed82cb4d6c6 - main - devel/pear-PHP_Timer: Update to 6.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 22:18:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ed82cb4d6c6e4adaa1be90ef7ccfabd39aa9288
commit 7ed82cb4d6c6e4adaa1be90ef7ccfabd39aa9288
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 22:01:19 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:11:38 +0000
devel/pear-PHP_Timer: Update to 6.0.0
Changes: https://github.com/sebastianbergmann/php-timer/blob/main/ChangeLog.md
---
devel/pear-PHP_Timer/Makefile | 14 ++++++--------
devel/pear-PHP_Timer/distinfo | 6 +++---
devel/pear-PHP_Timer/pkg-plist | 6 ++++++
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/devel/pear-PHP_Timer/Makefile b/devel/pear-PHP_Timer/Makefile
index 6595dbc6eb61..1beb9e3ee722 100644
--- a/devel/pear-PHP_Timer/Makefile
+++ b/devel/pear-PHP_Timer/Makefile
@@ -1,5 +1,5 @@
PORTNAME= PHP_Timer
-PORTVERSION= 2.1.2
+PORTVERSION= 6.0.0
CATEGORIES= devel pear
MAINTAINER= sunpoet@FreeBSD.org
@@ -9,19 +9,17 @@ WWW= https://github.com/sebastianbergmann/php-timer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= pear:env
-USE_GITHUB= yes
-GH_ACCOUNT= sebastianbergmann
-GH_PROJECT= php-timer
+USES= pear:env
NO_ARCH= yes
-
NO_BUILD= yes
-PLIST_FILES= ${DATADIR}/Timer.php
+USE_GITHUB= yes
+GH_ACCOUNT= sebastianbergmann
+GH_PROJECT= php-timer
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/src/Timer.php ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
diff --git a/devel/pear-PHP_Timer/distinfo b/devel/pear-PHP_Timer/distinfo
index 265e5a319e81..a41405dba149 100644
--- a/devel/pear-PHP_Timer/distinfo
+++ b/devel/pear-PHP_Timer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1561065973
-SHA256 (sebastianbergmann-php-timer-2.1.2_GH0.tar.gz) = d1336d4904835242b53ec2a636cf8fbd5a81b8482ea68f98299a04dd775f8cad
-SIZE (sebastianbergmann-php-timer-2.1.2_GH0.tar.gz) = 7090
+TIMESTAMP = 1701363674
+SHA256 (sebastianbergmann-php-timer-6.0.0_GH0.tar.gz) = 6abdf144cc2b160c22accc37cb1ce46d5ca408c64773157250f7d8e989d7a11b
+SIZE (sebastianbergmann-php-timer-6.0.0_GH0.tar.gz) = 5416
diff --git a/devel/pear-PHP_Timer/pkg-plist b/devel/pear-PHP_Timer/pkg-plist
new file mode 100644
index 000000000000..6abd57e75d57
--- /dev/null
+++ b/devel/pear-PHP_Timer/pkg-plist
@@ -0,0 +1,6 @@
+%%DATADIR%%/Duration.php
+%%DATADIR%%/ResourceUsageFormatter.php
+%%DATADIR%%/Timer.php
+%%DATADIR%%/exceptions/Exception.php
+%%DATADIR%%/exceptions/NoActiveTimerException.php
+%%DATADIR%%/exceptions/TimeSinceStartOfRequestNotAvailableException.php