summaryrefslogtreecommitdiff
path: root/archivers/pecl-lzf/Makefile
blob: 1d3fd78fbdc08620b2a2361e710cefc69ee12f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

PORTNAME=	lzf
PORTVERSION=	1.6.2
CATEGORIES=	archivers pear
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	Handles LZF de/compression

NO_STAGE=	yes
USE_PHP=	yes
USE_PHPEXT=	yes

CONFIGURE_ARGS=	--enable-lzf
WRKSRC=		${WRKDIR}/${DISTNAME:U}

OPTIONS_DEFINE=		BETTER_COMPRESSION
BETTER_COMPRESSION_DESC=	Better compression ratio

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MBETTER_COMPRESSION}
CONFIGURE_ARGS+=	--enable-lzf-better-compression
.endif

.include <bsd.port.mk>