summaryrefslogtreecommitdiff
path: root/mail/courier-authmysql
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
commitb49fa4afac815f12749d5ada438a02dcbe204fbf (patch)
tree01ff546bd7ff4089e94f67c950d342cc810d76c6 /mail/courier-authmysql
parentc48ed5d0f90725d112fd368607a8b8ec94fa71c6 (diff)
downloadpkgsrc-b49fa4afac815f12749d5ada438a02dcbe204fbf.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-authmysql')
-rw-r--r--mail/courier-authmysql/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/courier-authmysql/Makefile b/mail/courier-authmysql/Makefile
index ffefe89d067..b6e3fa34546 100644
--- a/mail/courier-authmysql/Makefile
+++ b/mail/courier-authmysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/21 14:43:16 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/11 16:45:26 jlam Exp $
PKGNAME= courier-authmysql-${BASE_VERS}
COMMENT= Courier MySQL authentication module
@@ -24,10 +24,11 @@ CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \
.include "../../databases/mysql-client/buildlink3.mk"
do-install:
+ ${INSTALL_PROGRAM_DIR} ${AUTHLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.mysql ${AUTHLIBDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authmysqlrc ${EGDIR}/authmysqlrc.dist
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/courier
- ${INSTALL_DATA} ${WRKSRC}/authlib/README.authmysql.html \
- ${PREFIX}/share/doc/html/courier
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/authlib/README.authmysql.html ${HTMLDIR}
.include "../../mk/bsd.pkg.mk"