summaryrefslogtreecommitdiff
path: root/www/php4-apc/Makefile
blob: cfcd8ff7ca05eec75f2286a0931e4c116e2edfbc (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
# $NetBSD: Makefile,v 1.25 2006/06/04 16:26:56 joerg Exp $

MODNAME=	apc
PECL_VERSION=	2.0.4
CATEGORIES+=	sysutils
COMMENT=	Alternative PHP Cache for PHP4

MAINTAINER=	pkgsrc-users@NetBSD.org

CONFLICTS=	php-apc-[0-9]*

CONFIGURE_ARGS+=	--enable-${MODNAME}
WRKSRC=		${WRKDIR}/APC-${PECL_VERSION}

PLIST_SRC+=		${.CURDIR}/PLIST.extras
PLIST_SUBST+=		PKGBASE=${PKGBASE:Q}
DOCDIR=			${PREFIX}/share/doc/${PKGBASE}

post-install:
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}

PHP_VERSIONS_ACCEPTED=	4

.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"