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/ap-dav | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/ap-dav')
-rw-r--r-- | www/ap-dav/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/ap-dav/Makefile b/www/ap-dav/Makefile index af6d1251a9a..9273814662a 100644 --- a/www/ap-dav/Makefile +++ b/www/ap-dav/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/05/23 12:23:11 ghen Exp $ +# $NetBSD: Makefile,v 1.22 2008/06/12 02:14:54 joerg Exp $ DISTNAME= mod_dav-1.0.3-1.3.6 PKGNAME= ap13-dav-1.0.3 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.webdav.org/mod_dav/ COMMENT= Apache WebDAV module +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-dav-[0-9]* APACHE_MODULE= YES @@ -19,14 +21,13 @@ AP_MODULE_DIR= ${PREFIX}/lib/httpd DOCDIR= ${PREFIX}/share/doc/mod_dav HTMLDIR= ${PREFIX}/share/doc/html/mod_dav +INSTALLATION_DIRS= ${AP_MODULE_DIR} ${DOCDIR} ${HTMLDIR} + do-install: - ${INSTALL_DATA_DIR} ${AP_MODULE_DIR} - ${INSTALL_DATA} ${WRKSRC}/libdav.so ${AP_MODULE_DIR}/mod_dav.so - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR} - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/libdav.so ${DESTDIR}${AP_MODULE_DIR}/mod_dav.so + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE.html ${DESTDIR}${HTMLDIR} .include "../../textproc/expat/buildlink3.mk" .include "../../www/apache/buildlink3.mk" |