blob: 73e8ddb4a8cd1d79eb759572a6946d1b2747191c (
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
|
# $NetBSD: Makefile,v 1.9 2009/07/10 19:48:32 jdolecek Exp $
MODNAME= apc
PECL_VERSION= 3.1.2
CATEGORIES+= sysutils
COMMENT= Alternative PHP Cache
PHP_VERSIONS_ACCEPTED= 5
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= php-apc-[0-9]*
MAINTAINER= pkgsrc-users@NetBSD.org
CONFIGURE_ARGS+= --enable-${MODNAME}
WRKSRC= ${WRKDIR}/APC-${PECL_VERSION}
PLIST_SRC+= ${.CURDIR}/PLIST.extras
PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS= ${DOCDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
|