diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-12 20:56:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-12 20:56:54 +0000 |
commit | dc3ec3f1eff86611dddff492f432ff59dfc274a8 (patch) | |
tree | e89fe7c7e6202542c077983d4cfb2a5b2884ffa1 /www/ap-access-referer | |
parent | f9c45f77c3d6e4cea3ed975306917bf15ff50419 (diff) | |
download | pkgsrc-dc3ec3f1eff86611dddff492f432ff59dfc274a8.tar.gz |
DESTDIR support
Diffstat (limited to 'www/ap-access-referer')
-rw-r--r-- | www/ap-access-referer/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/www/ap-access-referer/Makefile b/www/ap-access-referer/Makefile index 8a01db56318..26b439b6bcf 100644 --- a/www/ap-access-referer/Makefile +++ b/www/ap-access-referer/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/06/02 18:27:58 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2010/02/12 20:56:54 joerg Exp $ # DISTNAME= mod_access_referer-1.0.2 @@ -10,16 +10,21 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://accessreferer.sourceforge.net/ COMMENT= Apache module for referer-based access control +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-access-referer-[0-9]* APACHE_MODULE_NAME= mod_access_referer.so DOCDIR= ${PREFIX}/share/doc -post-install: - ${INSTALL_DATA_DIR} ${DOCDIR}/html/mod_access_referer +INSTALLATION_DIRS+= lib/httpd ${DOCDIR}/html/mod_access_referer + +do-install: + ${INSTALL_LIB} ${WRKSRC}/mod_access_referer.so \ + ${DESTDIR}${PREFIX}/lib/httpd ${INSTALL_DATA} ${WRKSRC}/mod_access_referer.html \ - ${DOCDIR}/html/mod_access_referer + ${DESTDIR}${DOCDIR}/html/mod_access_referer .include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |