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

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

MAINTAINER= gerrit.beine@gmx.de
COMMENT=    Memcached extension

USE_PHP=    zlib session
USE_PHP_BUILD=  yes
USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME=    memcache

USE_DOS2UNIX=   yes

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

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

.include <bsd.port.mk>