diff options
author | joerg <joerg> | 2010-02-20 14:58:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-20 14:58:44 +0000 |
commit | 840e4827fabcbe53ad236ea66870bb0a1f623235 (patch) | |
tree | 6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-gzip | |
parent | f3475c3668daed3074e983fb8baa3352f34f4d94 (diff) | |
download | pkgsrc-840e4827fabcbe53ad236ea66870bb0a1f623235.tar.gz |
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-gzip')
-rw-r--r-- | www/ap-gzip/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/ap-gzip/Makefile b/www/ap-gzip/Makefile index 02271947d3e..8e7153d2506 100644 --- a/www/ap-gzip/Makefile +++ b/www/ap-gzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/10/28 21:29:47 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2010/02/20 14:58:45 joerg Exp $ # DISTNAME= mod_gzip-1.3.26.1a @@ -11,21 +11,22 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/mod-gzip/ COMMENT= On-the-fly GZIP compression for Apache 1.3.x +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-gzip-[0-9]* APACHE_MODULE_NAME= mod_gzip.so +INSTALLATION_DIRS+= share/doc/mod_gzip/de share/doc/mod_gzip/en \ + share/examples/mod_gzip + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip/de - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip/en - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_gzip ${INSTALL_DATA} ${WRKSRC}/docs/manual/deutsch/* \ - ${PREFIX}/share/doc/mod_gzip/de + ${DESTDIR}${PREFIX}/share/doc/mod_gzip/de ${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* \ - ${PREFIX}/share/doc/mod_gzip/en + ${DESTDIR}${PREFIX}/share/doc/mod_gzip/en ${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample \ - ${PREFIX}/share/examples/mod_gzip/httpd.conf + ${DESTDIR}${PREFIX}/share/examples/mod_gzip/httpd.conf .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |