aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2015-09-07 07:12:28 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2015-09-07 07:12:28 +0000
commitff23c72c4a58705b84a10ce7fbea2b0f284509e1 (patch)
treeb8b1dcec552ff957a3ef80a81498ccfde49bf0d9 /devel
parent0292dc3f3163beb3bb1c4ece65abbc2a90a0cd72 (diff)
downloadports-ff23c72c4a58705b84a10ce7fbea2b0f284509e1.tar.gz
ports-ff23c72c4a58705b84a10ce7fbea2b0f284509e1.zip
Notes
Diffstat (limited to 'devel')
-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