aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pecl-lzf/Makefile
blob: 7f16ad967dc0231cdd3e0bf6e4b0f53bf54ac455 (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.5.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

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>