archivers/php-zstd: Register as APCu serialization wrappers
PR: 290881
This commit is contained in:
committed by
Vladimir Druzenko
parent
c77151c6b2
commit
7aaccc8dcc
@@ -1,5 +1,6 @@
|
||||
PORTNAME= zstd
|
||||
DISTVERSION= 0.15.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
||||
|
||||
@@ -20,4 +21,11 @@ GH_PROJECT= php-ext-zstd
|
||||
|
||||
CONFIGURE_ARGS= --with-libzstd
|
||||
|
||||
OPTIONS_DEFINE= APCU
|
||||
OPTIONS_DEFAULT= APCU
|
||||
|
||||
APCU_DESC= APCu cache compression support for objects
|
||||
|
||||
APCU_BUILD_DEPENDS= ${LOCALBASE}/include/php/ext/apcu/apc_serializer.h:devel/pecl-APCu@${PHP_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user