# $NetBSD: Makefile,v 1.15 2019/11/02 12:54:38 rillig Exp $ MODNAME= apcu PECL_VERSION= 5.1.17 CATEGORIES+= sysutils MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= APCu - APC User Cache LICENSE= php PHP_VERSIONS_ACCEPTED= 71 72 73 GNU_CONFIGURE_STRICT= no # --with-pcre-dir is added for all PHP extensions CONFIGURE_ARGS+= --enable-${MODNAME} PLIST_SRC+= ${.CURDIR}/PLIST.extras PLIST_SUBST+= PKGBASE=${PKGBASE} DOCDIR= ${PREFIX}/share/doc/${PKGBASE} INSTALLATION_DIRS= ${DOCDIR} post-install: ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR} cd ${WRKSRC} && ${MAKE} INSTALL_ROOT="${DESTDIR}" install-headers .include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk"