pkgsrc/www/php4-apc/Makefile

26 lines
589 B
Makefile

# $NetBSD: Makefile,v 1.22 2006/02/05 23:11:28 joerg Exp $
MODNAME= apc
PECL_VERSION= 2.0.4
PKGREVISION= 2
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:Q}
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"