aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-01 22:01:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-01 22:11:38 +0000
commit7ed82cb4d6c6e4adaa1be90ef7ccfabd39aa9288 (patch)
tree2a37c79e20e3db1845dd2b3618a3ade90a3cb93a
parent6182b2e04cbeacfc9b44c97660279b7ec934d5f2 (diff)
downloadports-7ed82cb4d6c6e4adaa1be90ef7ccfabd39aa9288.tar.gz
ports-7ed82cb4d6c6e4adaa1be90ef7ccfabd39aa9288.zip
devel/pear-PHP_Timer: Update to 6.0.0
-rw-r--r--devel/pear-PHP_Timer/Makefile14
-rw-r--r--devel/pear-PHP_Timer/distinfo6
-rw-r--r--devel/pear-PHP_Timer/pkg-plist6
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