aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-09-07 15:12:28 +0800
committervanilla <vanilla@FreeBSD.org>2015-09-07 15:12:28 +0800
commit9fd66a8305b84c733d3f5e860806fdfea04b9c75 (patch)
treeb8b1dcec552ff957a3ef80a81498ccfde49bf0d9
parenta7e4b85b6a9b1739c0bb1336525322ce1f98dff5 (diff)
downloadfreebsd-ports-gnome-9fd66a8305b84c733d3f5e860806fdfea04b9c75.tar.gz
freebsd-ports-gnome-9fd66a8305b84c733d3f5e860806fdfea04b9c75.tar.zst
freebsd-ports-gnome-9fd66a8305b84c733d3f5e860806fdfea04b9c75.zip
Add pecl-hrtime 0.5.1, high resolution timing for PHP.
PR: 202889 Submitted by: Gasol Wu <gasol.wu@gmail.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pecl-hrtime/Makefile20
-rw-r--r--devel/pecl-hrtime/distinfo2
-rw-r--r--devel/pecl-hrtime/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8a48b7c7bd36..3bceb3718bc7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3637,6 +3637,7 @@
SUBDIR += pecl-expect
SUBDIR += pecl-gearman
SUBDIR += pecl-hidef
+ SUBDIR += pecl-hrtime
SUBDIR += pecl-htscanner
SUBDIR += pecl-inclued
SUBDIR += pecl-inotify
diff --git a/devel/pecl-hrtime/Makefile b/devel/pecl-hrtime/Makefile
new file mode 100644
index 000000000000..fe7f913ea685
--- /dev/null
+++ b/devel/pecl-hrtime/Makefile
@@ -0,0 +1,20 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= hrtime
+PORTVERSION= 0.5.1
+CATEGORIES= devel
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= gasol.wu@gmail.com
+COMMENT= High resolution timing for PHP
+
+LICENSE= BSD2CLAUSE
+
+USES= tar:tgz
+USE_PHP= yes
+USE_PHPEXT= yes
+
+.include <bsd.port.mk>
diff --git a/devel/pecl-hrtime/distinfo b/devel/pecl-hrtime/distinfo
new file mode 100644
index 000000000000..6aae639e3429
--- /dev/null
+++ b/devel/pecl-hrtime/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PECL/hrtime-0.5.1.tgz) = 6d9bc2f2753f69d08ae26c84f9a0a9dcf18ef8979c910ec1be187c957ccfaa03
+SIZE (PECL/hrtime-0.5.1.tgz) = 8944
diff --git a/devel/pecl-hrtime/pkg-descr b/devel/pecl-hrtime/pkg-descr
new file mode 100644
index 000000000000..a00b3e0cbd32
--- /dev/null
+++ b/devel/pecl-hrtime/pkg-descr
@@ -0,0 +1,5 @@
+The extension implements a high resolution StopWatch class. It uses the the best
+possible APIs on different platforms. It also makes possible to implement a
+custom stopwatch using low level ticks delivered by the underlaying APIs.
+
+WWW: https://pecl.php.net/package/hrtime