diff options
Diffstat (limited to 'archivers/php-zstd')
| -rw-r--r-- | archivers/php-zstd/Makefile | 18 | ||||
| -rw-r--r-- | archivers/php-zstd/distinfo | 6 | ||||
| -rw-r--r-- | archivers/php-zstd/pkg-descr | 8 |
3 files changed, 18 insertions, 14 deletions
diff --git a/archivers/php-zstd/Makefile b/archivers/php-zstd/Makefile index 1e12b8a19503..9349a9bfb39d 100644 --- a/archivers/php-zstd/Makefile +++ b/archivers/php-zstd/Makefile @@ -1,9 +1,10 @@ PORTNAME= zstd -DISTVERSION= 0.14.0 +DISTVERSION= 0.15.2 +PORTREVISION= 1 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} -MAINTAINER= pave@FreeBSD.org +MAINTAINER= pkaipila@gmail.com COMMENT= Zstandard extension for PHP WWW= https://github.com/kjdev/php-ext-zstd @@ -20,12 +21,11 @@ GH_PROJECT= php-ext-zstd CONFIGURE_ARGS= --with-libzstd -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= APCU +OPTIONS_DEFAULT= APCU -post-patch: -.if ${PHP_VER} >= 85 - @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \ - ${WRKSRC}/zstd.c -.endif +APCU_DESC= APCu cache compression support for objects -.include <bsd.port.post.mk> +APCU_BUILD_DEPENDS= ${LOCALBASE}/include/php/ext/apcu/apc_serializer.h:devel/pecl-APCu@${PHP_FLAVOR} + +.include <bsd.port.mk> diff --git a/archivers/php-zstd/distinfo b/archivers/php-zstd/distinfo index 19ecb365d3b1..4ebb72534a6f 100644 --- a/archivers/php-zstd/distinfo +++ b/archivers/php-zstd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754010154 -SHA256 (kjdev-php-ext-zstd-0.14.0_GH0.tar.gz) = eb957ecbfa012610ef68bfe7de381e79055f78d73ec209ebc1997348b1731538 -SIZE (kjdev-php-ext-zstd-0.14.0_GH0.tar.gz) = 27210 +TIMESTAMP = 1756840253 +SHA256 (kjdev-php-ext-zstd-0.15.2_GH0.tar.gz) = 3543a86b0e2ddffd7da2e94aaf97e03701e0efbf0a94d6904e084b823d8a9412 +SIZE (kjdev-php-ext-zstd-0.15.2_GH0.tar.gz) = 37930 diff --git a/archivers/php-zstd/pkg-descr b/archivers/php-zstd/pkg-descr index 0e9a065b0d55..a11bd28736bd 100644 --- a/archivers/php-zstd/pkg-descr +++ b/archivers/php-zstd/pkg-descr @@ -1,2 +1,6 @@ -This is the PHP extension for zstandard, -or zstd a fast lossless compression algorithm. +This is the PHP extension for zstandard or zstd, a fast lossless +compression algorithm with competitive compression ratios and +multi-core scalability. + +This extension can also transparently compress objects stored in +APCu cache. Just set apc.serializer=zstd in your php.ini. |
