diff options
author | lx <lx@FreeBSD.org> | 2009-01-08 08:05:16 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2009-01-08 08:05:16 +0800 |
commit | 16060d30120860847d2e32761615b6b063e0f480 (patch) | |
tree | 914d71f3fd45fc600b2f650a2ac0fd38058346bd | |
parent | 42c6e82af4c7f6890b2692f4fb65feba31f0087b (diff) | |
download | freebsd-ports-gnome-16060d30120860847d2e32761615b6b063e0f480.tar.gz freebsd-ports-gnome-16060d30120860847d2e32761615b6b063e0f480.tar.zst freebsd-ports-gnome-16060d30120860847d2e32761615b6b063e0f480.zip |
Fix to use pre-su-install instead of pre-install. Appease portlint
by using dirrmtry while I'm here.
Approved by: glarkin@ (maintainer)
-rw-r--r-- | mail/ssmtp/Makefile | 2 | ||||
-rw-r--r-- | mail/ssmtp/pkg-plist | 2 |
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 |