Add two new ports archivers/php-zstd and archivers/php-lz4
php-zstd is a PHP extension for zstd compresssion algorithm https://github.com/kjdev/php-ext-zstd php-lz4 is a PHP extension for the lz4 compression algorithm https://github.com/kjdev/php-ext-lz4 PR: 236742 Submitted by: Paavo-Einari Kaipila <pkaipila@gmail.com>
This commit is contained in:
parent
838e9836b9
commit
3f92e6c3f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497595
7 changed files with 67 additions and 0 deletions
|
@ -149,7 +149,9 @@
|
|||
SUBDIR += pecl-rar
|
||||
SUBDIR += php-brotli
|
||||
SUBDIR += php-horde_lz4
|
||||
SUBDIR += php-lz4
|
||||
SUBDIR += php-snappy
|
||||
SUBDIR += php-zstd
|
||||
SUBDIR += php71-bz2
|
||||
SUBDIR += php71-phar
|
||||
SUBDIR += php71-zip
|
||||
|
|
25
archivers/php-lz4/Makefile
Normal file
25
archivers/php-lz4/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lz4
|
||||
DISTVERSION= 0.3.5
|
||||
CATEGORIES= archivers
|
||||
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= pkaipila@gmail.com
|
||||
COMMENT= This is the lz4 extension for PHP
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
LIB_DEPENDS= liblz4.so:archivers/liblz4
|
||||
|
||||
USES= php:ext
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= kjdev
|
||||
GH_PROJECT= php-ext-lz4
|
||||
|
||||
CONFIGURE_ARGS= --with-lz4-includedir=${LOCALBASE}
|
||||
|
||||
PHP_MODNAME= lz4
|
||||
|
||||
.include <bsd.port.mk>
|
3
archivers/php-lz4/distinfo
Normal file
3
archivers/php-lz4/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1553368576
|
||||
SHA256 (kjdev-php-ext-lz4-0.3.5_GH0.tar.gz) = fcea0792f22e337950682129e72ba07c1fd0b3f72ceae2f5691059def3663b55
|
||||
SIZE (kjdev-php-ext-lz4-0.3.5_GH0.tar.gz) = 65065
|
5
archivers/php-lz4/pkg-descr
Normal file
5
archivers/php-lz4/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
This is the extension PHP extension for lz4
|
||||
a lossless compression algorithm, providing
|
||||
hi compression speed and multi-core scalability.
|
||||
|
||||
WWW: https://github.com/kjdev/php-ext-lz4
|
25
archivers/php-zstd/Makefile
Normal file
25
archivers/php-zstd/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= zstd
|
||||
DISTVERSION= 0.5.0
|
||||
CATEGORIES= archivers
|
||||
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= pkaipila@gmail.com
|
||||
COMMENT= This is the zstd extension for PHP
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
LIB_DEPENDS= libzstd.so:archivers/zstd
|
||||
|
||||
USES= php:ext pkgconfig
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= kjdev
|
||||
GH_PROJECT= php-ext-zstd
|
||||
|
||||
CONFIGURE_ARGS= --with-libzstd
|
||||
|
||||
PHP_MODNAME= zstd
|
||||
|
||||
.include <bsd.port.mk>
|
3
archivers/php-zstd/distinfo
Normal file
3
archivers/php-zstd/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1553375218
|
||||
SHA256 (kjdev-php-ext-zstd-0.5.0_GH0.tar.gz) = 30776d59030e02aea8456b6467c14acad7abd0896b61386877325a175299388c
|
||||
SIZE (kjdev-php-ext-zstd-0.5.0_GH0.tar.gz) = 11191
|
4
archivers/php-zstd/pkg-descr
Normal file
4
archivers/php-zstd/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
This is the PHP extension for zstandard,
|
||||
or zstd a fast lossless compression algorithm.
|
||||
|
||||
WWW: https://github.com/kjdev/php-ext-zstd
|
Loading…
Reference in a new issue