diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | 7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /www/apc-gui | |
parent | 534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff) | |
download | pkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/apc-gui')
-rw-r--r-- | www/apc-gui/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/www/apc-gui/Makefile b/www/apc-gui/Makefile index 24fdc0ef24f..14ca7b0c2ee 100644 --- a/www/apc-gui/Makefile +++ b/www/apc-gui/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/06/02 18:28:00 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:40 joerg Exp $ DISTNAME= apc_gui-1.0.3 PKGNAME= ${DISTNAME:S/_/-/} @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://apc.neuropeans.com/ COMMENT= Web interface for managing APC (php-apc) +PKG_DESTDIR_SUPPORT= user-destdir + PHP_VERSIONS_ACCEPTED= 4 .include "../../lang/php/phpversion.mk" @@ -34,14 +36,14 @@ SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_SED.paths+= -e 's,@APC_GUI_DIR@,${APC_GUI_DIR},g' SUBST_STAGE.paths= post-patch +INSTALLATION_DIRS= ${APC_GUI_DIR} ${EGDIR} + post-extract: ${CP} ${FILESDIR}/apc_gui.conf.dist ${WRKDIR} do-install: - ${INSTALL_DATA_DIR} ${APC_GUI_DIR} - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKDIR}/apc_gui.conf.dist ${EGDIR}/apc_gui.conf - ${CP} -R ${WRKSRC}/* ${APC_GUI_DIR} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${APC_GUI_DIR} + ${INSTALL_DATA} ${WRKDIR}/apc_gui.conf.dist ${DESTDIR}${EGDIR}/apc_gui.conf + ${CP} -R ${WRKSRC}/* ${DESTDIR}${APC_GUI_DIR} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${APC_GUI_DIR} .include "../../mk/bsd.pkg.mk" |