From f44a82ffc69adc19dd585fb18edcb8be0bcf7aef Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 20 Feb 2010 14:58:44 +0000 Subject: DESTDIR support for various Apache modules. --- www/ap-layout/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'www/ap-layout') diff --git a/www/ap-layout/Makefile b/www/ap-layout/Makefile index 2b59564763c..57e7c45ac63 100644 --- a/www/ap-layout/Makefile +++ b/www/ap-layout/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2009/06/06 22:37:22 zafer Exp $ +# $NetBSD: Makefile,v 1.19 2010/02/20 14:58:45 joerg Exp $ # DISTNAME= mod_layout-3.2 @@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://tangent.org/ COMMENT= Apache module to wrap static or dynamic content +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pax CONFLICTS= ap-layout-[0-9]* @@ -18,11 +20,11 @@ APACHE_MODULE_NAME= mod_layout.so LAYOUT_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_layout +INSTALLATION_DIRS+= ${LAYOUT_DIR}/directives + post-install: - ${INSTALL_DATA_DIR} ${LAYOUT_DIR} - ${INSTALL_DATA} ${WRKSRC}/faq.html ${LAYOUT_DIR} - ${INSTALL_DATA_DIR} ${LAYOUT_DIR}/directives - cd ${WRKSRC}/directives && pax -rw . ${LAYOUT_DIR}/directives + ${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${LAYOUT_DIR} + cd ${WRKSRC}/directives && pax -rw . ${DESTDIR}${LAYOUT_DIR}/directives .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3