summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2004-06-23 11:02:02 +0000
committercjep <cjep@pkgsrc.org>2004-06-23 11:02:02 +0000
commit51747549c7b5f5bbee93285f0b6a5b120f5aa811 (patch)
tree52ba9dbc9990662e89d33715d391206d55f6218f /mail
parent2ff8061ae406588010f9a43cfa44463622c2562b (diff)
downloadpkgsrc-51747549c7b5f5bbee93285f0b6a5b120f5aa811.tar.gz
Handle installation of PREFIX/share/sendmail better. Fixes PR#23735
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile5
-rw-r--r--mail/sendmail/PLIST4
2 files changed, 5 insertions, 4 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 2d6cc1d5acf..614a85905cf 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2004/05/09 21:14:43 snj Exp $
+# $NetBSD: Makefile,v 1.71 2004/06/23 11:02:02 cjep Exp $
.include "../../mail/sendmail/Makefile.common"
@@ -90,8 +90,9 @@ pre-install:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/sendmail
${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/share/examples/sendmail/mailer.conf
- ${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
+ cd ${WRKSRC}/cf && ${PAX} -rw -pp -pm . ${PREFIX}/share/sendmail
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
.if ${USE_DB2} == YES
${MV} -f /usr/sbin/makemap /usr/sbin/makemap.8.8 || ${TRUE}
diff --git a/mail/sendmail/PLIST b/mail/sendmail/PLIST
index 0e344f838df..7f1d82046b3 100644
--- a/mail/sendmail/PLIST
+++ b/mail/sendmail/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2003/09/15 11:59:12 markd Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/06/23 11:02:02 cjep Exp $
bin/hoststat
bin/mailq
bin/newaliases
@@ -210,6 +210,6 @@ share/sendmail/siteconfig/uucp.ucbvax.m4
@dirrm share/sendmail/hack
@dirrm share/sendmail/feature
@dirrm share/sendmail/domain
-@unexec ${RM} -rf %D/share/sendmail/cf
+@dirrm share/sendmail/cf
@dirrm share/sendmail
@dirrm share/examples/sendmail