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

PORTNAME=   memcache
PORTVERSION=    2.0.1
PORTREVISION=   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
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>