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-auth-postgresql | |
parent | e2f0cf964aa5e9bc915b03a1c6df6d29e763f0ee (diff) | |
download | pkgsrc-f44a82ffc69adc19dd585fb18edcb8be0bcf7aef.tar.gz |
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-auth-postgresql')
-rw-r--r-- | www/ap-auth-postgresql/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/www/ap-auth-postgresql/Makefile b/www/ap-auth-postgresql/Makefile index 270ef3f2500..f93f03518d9 100644 --- a/www/ap-auth-postgresql/Makefile +++ b/www/ap-auth-postgresql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2010/02/10 19:34:07 joerg Exp $ +# $NetBSD: Makefile,v 1.34 2010/02/20 14:58:44 joerg Exp $ DISTNAME= AuthPG-1.4 PKGNAME= ap13-auth-postgresql-1.4 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://authpg.sourceforge.net/ COMMENT= Module to allow apache authentication against a Postgresql database +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= ap-auth-postgresql-[0-9]* CONFLICTS+= ap-auth-pgsql-[0-9]* CONFLICTS+= ap13-auth-pgsql-[0-9]* @@ -22,15 +24,15 @@ LDFLAGS+= -lpq -lcrypt DOCDIR= ${PREFIX}/share/doc/mod_auth_pg EGDIR= ${PREFIX}/share/examples/mod_auth_pg +INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.html ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.ko.html ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.ko ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/sample.htaccess ${EGDIR}/mod_auth_pg.htaccess - ${INSTALL_DATA} ${WRKSRC}/sample.sql ${EGDIR}/mod_auth_pg.sql + ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.html ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/mod_auth_pg.ko.html ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.ko ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/sample.htaccess ${DESTDIR}${EGDIR}/mod_auth_pg.htaccess + ${INSTALL_DATA} ${WRKSRC}/sample.sql ${DESTDIR}${EGDIR}/mod_auth_pg.sql .include "../../www/apache/module.mk" |