summaryrefslogtreecommitdiff
path: root/mail/courier-authpgsql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-11 16:45:26 +0000
committerjlam <jlam@pkgsrc.org>2004-03-11 16:45:26 +0000
commit7e1a9dfcfa7ab66a5a2fe0db69ca14f0a43924c2 (patch)
tree01ff546bd7ff4089e94f67c950d342cc810d76c6 /mail/courier-authpgsql
parent27f85d7e15d731407b4e840abfb77baeef620953 (diff)
downloadpkgsrc-7e1a9dfcfa7ab66a5a2fe0db69ca14f0a43924c2.tar.gz
Force the creation of directories before installing files in them, and
update the PLISTs to try removing these directories on deinstallation. Also use ${HTMLDIR} to refer to the common location for courier HTML documentation.
Diffstat (limited to 'mail/courier-authpgsql')
-rw-r--r--mail/courier-authpgsql/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/courier-authpgsql/Makefile b/mail/courier-authpgsql/Makefile
index b158b296f76..b7ac7beabcd 100644
--- a/mail/courier-authpgsql/Makefile
+++ b/mail/courier-authpgsql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/02/21 14:43:16 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/11 16:45:26 jlam Exp $
PKGNAME= courier-authpgsql-${BASE_VERS}
COMMENT= Courier PostgreSQL authentication module
@@ -33,10 +33,11 @@ post-build:
README.authmysql.html > README.authpgsql.html
do-install:
+ ${INSTALL_PROGRAM_DIR} ${AUTHLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.pgsql ${AUTHLIBDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authpgsqlrc ${EGDIR}/authpgsqlrc.dist
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/courier
- ${INSTALL_DATA} ${WRKSRC}/authlib/README.authpgsql.html \
- ${PREFIX}/share/doc/html/courier
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/authlib/README.authpgsql.html ${HTMLDIR}
.include "../../mk/bsd.pkg.mk"