summaryrefslogtreecommitdiff
path: root/mail/courier-authldap
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-11 16:45:26 +0000
committerjlam <jlam>2004-03-11 16:45:26 +0000
commit637da4b307a3033e483d1ed5fcb5a881fc4fc5a3 (patch)
tree01ff546bd7ff4089e94f67c950d342cc810d76c6 /mail/courier-authldap
parentb3399a0bbbf9b423dd05c740dcdc56995c0d5416 (diff)
downloadpkgsrc-637da4b307a3033e483d1ed5fcb5a881fc4fc5a3.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-authldap')
-rw-r--r--mail/courier-authldap/Makefile5
-rw-r--r--mail/courier-authldap/PLIST3
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/courier-authldap/Makefile b/mail/courier-authldap/Makefile
index b33c4147088..6bf5046df45 100644
--- a/mail/courier-authldap/Makefile
+++ b/mail/courier-authldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/02/21 14:43:16 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2004/03/11 16:45:26 jlam Exp $
PKGNAME= courier-authldap-${BASE_VERS}
COMMENT= Courier LDAP authentication module
@@ -26,8 +26,11 @@ CONF_FILES_PERMS+= ${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE} \
.include "../../databases/openldap/buildlink3.mk"
do-install:
+ ${INSTALL_PROGRAM_DIR} ${AUTHLIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.ldap ${AUTHLIBDIR}
+ ${INSTALL_MAN_DIR} ${DOCDIR}
${INSTALL_MAN} ${WRKSRC}/authlib/README.ldap ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authldap.schema ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/authlib/authldaprc ${EGDIR}/authldaprc.dist
diff --git a/mail/courier-authldap/PLIST b/mail/courier-authldap/PLIST
index 4c17d18ad29..2533eccf7dd 100644
--- a/mail/courier-authldap/PLIST
+++ b/mail/courier-authldap/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2004/02/21 14:43:16 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/03/11 16:45:26 jlam Exp $
libexec/courier/authlib/authdaemond.ldap
share/doc/courier/README.ldap
share/examples/courier/authldap.schema
share/examples/courier/authldaprc.dist
+@unexec ${RMDIR} -p %D/share/doc/courier 2>/dev/null || ${TRUE}