5265c36a98
APC is the Alternative PHP Cache, which provides a way of boosting the performance of PHP on heavily-loaded sites by allowing scripts to be cached in a compiled state, so that the overhead of parsing and compiling can be almost completely eliminated. This is an open source product that does the same job as the commercial product Zend Cache.
33 lines
925 B
Makefile
33 lines
925 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2001/10/29 16:50:16 jlam Exp $
|
|
|
|
.include "../../www/php4/Makefile.module"
|
|
|
|
DISTNAME= apc-1.1.0pl1
|
|
PKGNAME= php-apc-1.1.0.1
|
|
MODNAME= ${DISTNAME:C/-[^-]*$//}
|
|
CATEGORIES+= www
|
|
MASTER_SITES= http://apc.communityconnect.com/sources/
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://apc.communityconnect.com/
|
|
COMMENT= Alternative PHP Cache for PHP4
|
|
|
|
EXTRACT_ELEMENTS= # empty
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.extras
|
|
PLIST_SUBST+= PKGBASE="${PKGBASE}"
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} \
|
|
GORY_DETAILS INSTALL LICENSE README.compiler ${DOCDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} extras/apcinfo.php ${EGDIR}
|
|
|
|
.include "../../www/php4/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|