29 lines
637 B
Makefile
29 lines
637 B
Makefile
# $NetBSD: Makefile,v 1.26 2008/06/12 02:14:56 joerg Exp $
|
|
|
|
MODNAME= apc
|
|
PECL_VERSION= 2.0.4
|
|
CATEGORIES+= sysutils
|
|
COMMENT= Alternative PHP Cache for PHP4
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= php-apc-[0-9]*
|
|
|
|
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}
|
|
|
|
PHP_VERSIONS_ACCEPTED= 4
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|