2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/02/05 23:11:28 joerg Exp $
|
2001-10-29 17:50:16 +01:00
|
|
|
|
2004-12-17 16:44:12 +01:00
|
|
|
MODNAME= apc
|
2004-12-18 16:53:29 +01:00
|
|
|
PECL_VERSION= 2.0.4
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2004-11-02 21:08:15 +01:00
|
|
|
CATEGORIES+= sysutils
|
2001-10-29 17:50:16 +01:00
|
|
|
COMMENT= Alternative PHP Cache for PHP4
|
|
|
|
|
2004-12-18 16:53:29 +01:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-10-29 17:50:16 +01:00
|
|
|
|
2002-02-28 07:13:20 +01:00
|
|
|
|
2001-10-29 17:50:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}
|
2004-12-18 16:53:29 +01:00
|
|
|
WRKSRC= ${WRKDIR}/APC-${PECL_VERSION}
|
2001-10-29 17:50:16 +01:00
|
|
|
|
2002-01-01 00:54:49 +01:00
|
|
|
PLIST_SRC+= ${.CURDIR}/PLIST.extras
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
|
2001-10-29 17:50:16 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
post-install:
|
2004-11-02 21:08:15 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
2004-12-18 16:53:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
|
2001-10-29 17:50:16 +01:00
|
|
|
|
2004-11-05 22:44:44 +01:00
|
|
|
PHP_VERSION_REQD= 4 # PHP 4.x only
|
2004-12-04 13:05:15 +01:00
|
|
|
|
2004-11-05 22:44:44 +01:00
|
|
|
.include "../../lang/php/ext.mk"
|
2001-10-29 17:50:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|