PORTNAME=	lzf
PORTVERSION=	1.7.0
CATEGORIES=	archivers pear
DISTNAME=	${PORTNAME:tu}-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Handles LZF de/compression
WWW=		https://pecl.php.net/package/lzf \
		https://github.com/php/pecl-file_formats-lzf

LICENSE=	PHP301
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		php:pecl
IGNORE_WITH_PHP=	86

CONFIGURE_ARGS=	--enable-lzf

OPTIONS_DEFINE=	BETTER_COMPRESSION
BETTER_COMPRESSION_DESC=Better compression ratio

BETTER_COMPRESSION_CONFIGURE_ENABLE=	lzf-better-compression

.include <bsd.port.mk>
