Index: head/devel/pecl-pthreads2/Makefile =================================================================== --- head/devel/pecl-pthreads2/Makefile (nonexistent) +++ head/devel/pecl-pthreads2/Makefile (revision 445699) @@ -0,0 +1,33 @@ +# Created by: John Chen +# $FreeBSD$ + +PORTNAME= pthreads +PORTVERSION= 2.0.10 +CATEGORIES= devel +PKGNAMESUFFIX= 2 + +MAINTAINER= johnpupu@gmail.com +COMMENT= Compatible Threading API for PHP5.3+ + +LICENSE= PHP301 + +PORTSCOUT= limit:^2\. + +CFLAGS+= -I${LOCALBASE}/include + +USES= php:pecl +IGNORE_WITH_PHP=70 71 + +.include + +.if !defined(PHP_ZTS) && exists(${LOCALBASE}/bin/php) +PHP_ZTS!= ${LOCALBASE}/bin/php -r 'phpinfo();' | ${GREP} 'Thread Safety' | ${AWK} -F '=> ' '{print $$2}' +.else +PHP_ZTS= disabled +.endif + +.if ${PHP_ZTS} == "disabled" +IGNORE= pthreads requires ZTS, please re-compile PHP with ZTS enabled +.endif + +.include Property changes on: head/devel/pecl-pthreads2/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/pecl-pthreads2/distinfo =================================================================== --- head/devel/pecl-pthreads2/distinfo (nonexistent) +++ head/devel/pecl-pthreads2/distinfo (revision 445699) @@ -0,0 +1,3 @@ +TIMESTAMP = 1499964928 +SHA256 (PECL/pthreads-2.0.10.tgz) = 8bdf8d8918680421ca0ced1e62292eeb626f800a808d0a3b6812841756588cf6 +SIZE (PECL/pthreads-2.0.10.tgz) = 85247 Property changes on: head/devel/pecl-pthreads2/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/pecl-pthreads2/pkg-descr =================================================================== --- head/devel/pecl-pthreads2/pkg-descr (nonexistent) +++ head/devel/pecl-pthreads2/pkg-descr (revision 445699) @@ -0,0 +1,3 @@ +A compatible Threading API for PHP5.3+ + +WWW: https://pecl.php.net/package/pthreads Property changes on: head/devel/pecl-pthreads2/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property