a1993564e0
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. PR: 226242 Submitted by: mat Exp-run by: antoine Approved by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14208
31 lines
670 B
Makefile
31 lines
670 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= horde_lz4
|
|
PORTVERSION= 1.0.10
|
|
CATEGORIES= archivers pear
|
|
MASTER_SITES= http://pear.horde.org/get/
|
|
PKGNAMEPREFIX= ${PECL_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
COMMENT= Horde LZ4 Compression Extension for php
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= php:ext tar:tgz
|
|
|
|
OPTIONS_DEFINE= LZ4
|
|
OPTIONS_DEFAULT=LZ4
|
|
|
|
LZ4_DESC= Use archivers/liblz4 instead of bundled lz4
|
|
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
|
|
LZ4_CONFIGURE_WITH= liblz4
|
|
LZ4_USES= pkgconfig
|
|
|
|
CONFIGURE_ARGS= --enable-horde_lz4
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/horde_lz4.so
|
|
|
|
.include <bsd.port.mk>
|