summaryrefslogtreecommitdiff
path: root/mail/ssmtp
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2009-01-08 00:05:16 +0000
committerDavid Thiel <lx@FreeBSD.org>2009-01-08 00:05:16 +0000
commitbd0017704592fec944eed46f029515f05e5f2992 (patch)
tree47e63c1bb2e771f2021e8f1e6330ca46b074a74f /mail/ssmtp
parent- Update to 2.0.10 (diff)
Fix to use pre-su-install instead of pre-install. Appease portlint
by using dirrmtry while I'm here. Approved by: glarkin@ (maintainer)
Notes
Notes: svn path=/head/; revision=225428
Diffstat (limited to 'mail/ssmtp')
-rw-r--r--mail/ssmtp/Makefile2
-rw-r--r--mail/ssmtp/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index fc65addf072c..3f7f676d9283 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -76,7 +76,7 @@ replace:
@${ECHO_CMD} "hoststat ${TRUE}" >> ${MAILERCONF}
@${ECHO_CMD} "purgestat ${TRUE}" >> ${MAILERCONF}
-pre-install:
+pre-su-install:
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/mail/ssmtp/pkg-plist b/mail/ssmtp/pkg-plist
index 320ad3bbbed4..820255aa0a54 100644
--- a/mail/ssmtp/pkg-plist
+++ b/mail/ssmtp/pkg-plist
@@ -1,4 +1,4 @@
sbin/ssmtp
etc/ssmtp/revaliases.sample
etc/ssmtp/ssmtp.conf.sample
-@unexec rmdir %D/etc/ssmtp 2> /dev/null || echo "If you don't plan to reinstall ssmtp, you can safely remove %D/etc/ssmtp" | fmt
+@dirrmtry %D/etc/ssmtp 2> /dev/null || echo "If you don't plan to reinstall ssmtp, you can safely remove %D/etc/ssmtp" | fmt