diff --git a/devel/Makefile b/devel/Makefile index e548521402e4..2bdccbbb54d6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3428,6 +3428,7 @@ SUBDIR += pecl-spl_types SUBDIR += pecl-spread SUBDIR += pecl-statgrab + SUBDIR += pecl-strict SUBDIR += pecl-svn SUBDIR += pecl-swoole SUBDIR += pecl-sync diff --git a/devel/pecl-strict/Makefile b/devel/pecl-strict/Makefile new file mode 100644 index 000000000000..2b9b0226e18a --- /dev/null +++ b/devel/pecl-strict/Makefile @@ -0,0 +1,20 @@ +# Created by: Gasol Wu +# $FreeBSD$ + +PORTNAME= strict +PORTVERSION= 0.4.0 +CATEGORIES= devel +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +DIST_SUBDIR= PECL + +MAINTAINER= gasol.wu@gmail.com +COMMENT= Strict scalar parameter type hint support for 5.4+ + +LICENSE= PHP301 + +USES= tar:tgz +USE_PHP= yes +USE_PHPEXT= yes + +.include diff --git a/devel/pecl-strict/distinfo b/devel/pecl-strict/distinfo new file mode 100644 index 000000000000..c8f37ba3dcba --- /dev/null +++ b/devel/pecl-strict/distinfo @@ -0,0 +1,2 @@ +SHA256 (PECL/strict-0.4.0.tgz) = 20898660c8f9220dcc9e0b0793966743b1f28440b0cc79c269001a10b8d5a0fa +SIZE (PECL/strict-0.4.0.tgz) = 10157 diff --git a/devel/pecl-strict/pkg-descr b/devel/pecl-strict/pkg-descr new file mode 100644 index 000000000000..60815d306516 --- /dev/null +++ b/devel/pecl-strict/pkg-descr @@ -0,0 +1,12 @@ +The strict extension introduces support for strict scalar parameter type hints +without changing Zend. Support for the following types is introduced: + + * string + * integer, int + * float, double + * boolean, bool + * resource + +Variadic support for all of the above types is also included. + +WWW: http://pecl.php.net/package/strict