aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-memcache/Makefile
blob: bff57d3d6c90b7ee562d418e2443cb93e71a46ef (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
33
# New ports collection makefile for:    pecl-memcache
# Date created:         10 August 2004
# Whom:             Gerrit Beine <tux@pinguru.net>
#
# $FreeBSD$
#

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

MAINTAINER= tux@pinguru.net
COMMENT=    Memcached extension

RUN_DEPENDS=    memcached:${PORTSDIR}/databases/memcached

USE_PHP=    zlib
USE_PHPEXT= yes
PHP_MODNAME=    memcache

CONFIGURE_ARGS+=--with-zlib-dir=/usr

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>