diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /www/php-apc | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/php-apc')
-rw-r--r-- | www/php-apc/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/php-apc/Makefile b/www/php-apc/Makefile index 5c2fd3d9106..d29d8c9a18f 100644 --- a/www/php-apc/Makefile +++ b/www/php-apc/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.6 2008/03/21 00:09:11 jklos Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:56 joerg Exp $ MODNAME= apc PECL_VERSION= 3.0.16 CATEGORIES+= sysutils COMMENT= Alternative PHP Cache +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= php-apc-[0-9]* MAINTAINER= pkgsrc-users@NetBSD.org @@ -14,11 +16,13 @@ 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_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR} .include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" |