summaryrefslogtreecommitdiff
path: root/databases/pecl-memcache/Makefile
blob: 4e9a9a40171c4601e909962f5e9ac7d100680891 (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
PORTNAME=	memcache
PORTVERSION=	8.2
CATEGORIES=	databases

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Memcached extension
WWW=		https://pecl.php.net/package/memcache \
		https://github.com/websupport-sk/pecl-memcache

LICENSE=	PHP30
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		dos2unix php:pecl
USE_PHP=	session:build zlib:build

CONFIGURE_ARGS=	--with-zlib-dir=/usr
USE_CSTD=	gnu89

OPTIONS_DEFINE=	EXAMPLES

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
	${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/

.include <bsd.port.mk>