summaryrefslogtreecommitdiff
path: root/archivers/php-horde_lz4/Makefile
blob: 38b21a6ef8d75cea8a11e5d0bcf92cc050c3cd65 (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
PORTNAME=	horde_lz4
PORTVERSION=	1.0.10
PORTREVISION=	1
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=		cpe php:ext tar:tgz

CPE_VENDOR=	horde

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>