# $NetBSD: Makefile,v 1.19 2005/04/11 21:48:01 tv Exp $ MODNAME= apc PECL_VERSION= 2.0.4 CATEGORIES+= sysutils COMMENT= Alternative PHP Cache for PHP4 MAINTAINER= tech-pkg@NetBSD.org CONFIGURE_ARGS+= --enable-${MODNAME} WRKSRC= ${WRKDIR}/APC-${PECL_VERSION} PLIST_SRC+= ${.CURDIR}/PLIST.extras PLIST_SUBST+= PKGBASE="${PKGBASE}" DOCDIR= ${PREFIX}/share/doc/${PKGBASE} post-install: ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR} PHP_VERSION_REQD= 4 # PHP 4.x only .include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk"