diff options
| -rw-r--r-- | archivers/php-lz4/Makefile | 9 | ||||
| -rw-r--r-- | archivers/php-lz4/pkg-descr | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/archivers/php-lz4/Makefile b/archivers/php-lz4/Makefile index ae6b2c0fd091..cb370abf7ec7 100644 --- a/archivers/php-lz4/Makefile +++ b/archivers/php-lz4/Makefile @@ -1,6 +1,6 @@ PORTNAME= lz4 DISTVERSION= 0.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} @@ -21,4 +21,11 @@ GH_PROJECT= php-ext-lz4 CONFIGURE_ARGS= --with-lz4-includedir=${LOCALBASE} +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> diff --git a/archivers/php-lz4/pkg-descr b/archivers/php-lz4/pkg-descr index b13026050001..2d0b57a6d4f2 100644 --- a/archivers/php-lz4/pkg-descr +++ b/archivers/php-lz4/pkg-descr @@ -1,3 +1,6 @@ -This is the extension PHP extension for lz4 -a lossless compression algorithm, providing -hi compression speed and multi-core scalability. +This is the extension PHP extension for lz4, an extremely fast lossless +compression algorithm providing high compression speed and multi-core +scalability. + +This extension can also transparently compress objects stored in +APCu cache. Just set apc.serializer=lz4 in your php.ini. |
