diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-20 14:58:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-20 14:58:44 +0000 |
commit | f44a82ffc69adc19dd585fb18edcb8be0bcf7aef (patch) | |
tree | 6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-fastcgi | |
parent | e2f0cf964aa5e9bc915b03a1c6df6d29e763f0ee (diff) | |
download | pkgsrc-f44a82ffc69adc19dd585fb18edcb8be0bcf7aef.tar.gz |
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-fastcgi')
-rw-r--r-- | www/ap-fastcgi/Makefile | 4 | ||||
-rw-r--r-- | www/ap-fastcgi/Makefile.common | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/www/ap-fastcgi/Makefile b/www/ap-fastcgi/Makefile index 55fbbdd28ae..0c9bbf7b123 100644 --- a/www/ap-fastcgi/Makefile +++ b/www/ap-fastcgi/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.30 2006/06/02 18:27:59 joerg Exp $ +# $NetBSD: Makefile,v 1.31 2010/02/20 14:58:45 joerg Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir + .include "Makefile.common" PKGNAME= ${DISTNAME:S/mod_/ap13-/} diff --git a/www/ap-fastcgi/Makefile.common b/www/ap-fastcgi/Makefile.common index 553c5a231fd..0b02d0c796b 100644 --- a/www/ap-fastcgi/Makefile.common +++ b/www/ap-fastcgi/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2008/10/01 10:03:11 taca Exp $ +# $NetBSD: Makefile.common,v 1.7 2010/02/20 14:58:45 joerg Exp $ # # used by www/ap-fastcgi/Makefile # used by www/ap2-fastcgi/Makefile @@ -19,6 +19,8 @@ MESSAGE_SRC= ${.CURDIR}/../../www/ap-fastcgi/MESSAGE PLIST_SUBST+= APACHE_MANUAL=${APACHE_MANUAL:Q} MESSAGE_SUBST+= APACHE_MANUAL=${APACHE_MANUAL:Q} +INSTALLATION_DIRS+= share/httpd/${APACHE_MANUAL}/mod + post-install: ${INSTALL_DATA} ${WRKSRC}/docs/mod_fastcgi.html \ - ${PREFIX}/share/httpd/${APACHE_MANUAL}/mod/ + ${DESTDIR}${PREFIX}/share/httpd/${APACHE_MANUAL}/mod/ |