aboutsummaryrefslogtreecommitdiff
path: root/archivers/pecl-lzf/Makefile
blob: f98784c2fd25686ab9391e0f6f81a4efb47a336b (plain) (blame)
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
32
# New ports collection makefile for:	pecl-lzf
# Date created:			2006/09/07
# Whom:				chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

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

MAINTAINER=	chinsan.tw@gmail.com
COMMENT=	Handles LZF de/compression

USE_PHP=	yes
USE_PHPEXT=	yes

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

OPTIONS=	BETTER_COMPRESSION	"Better compression ratio"	off

.if defined(WITH_BETTER_COMPRESSION)
CONFIGURE_ARGS+=	--enable-lzf-better-compression
	@${ECHO_MSG} "--enable-lzf-better-compression"
.endif

.include <bsd.port.mk>