summaryrefslogtreecommitdiff
path: root/databases/pecl-memcached/Makefile
blob: e3b6481380a2755a4a10b69b845bc23a6f8ba437 (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
32
33
# New ports collection makefile for:	pecl-memcached
# Date created:		2009-01-31
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	memcached
PORTVERSION=	0.1.5
CATEGORIES=	databases
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	PECL

MAINTAINER=	gslin@gslin.org
COMMENT=	PHP extension for interfacing with memcached via libmemcached library

BUILD_DEPENDS=	${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear
LIB_DEPENDS=	memcached:${PORTSDIR}/databases/libmemcached
RUN_DEPENDS=	${LOCALBASE}/bin/pear:${PORTSDIR}/devel/pear

PHP_MODNAME=	memcached
USE_PHP=	session
USE_PHPEXT=	yes
USE_PHPIZE=	yes
USE_PHP_BUILD=	yes
CONFIGURE_ARGS+=--with-libmemcached-dir=${LOCALBASE}

post-install:
	@${CAT} ${WRKSRC}/EXPERIMENTAL

.include <bsd.port.mk>