From 769b93c1426676fba438c6f6b329b3b07b1f644d Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 6 Apr 2009 21:59:29 +0300 Subject: [PATCH] ssmtp: extended to install sample ssmtp.conf, generators and the corresponding manpage --- mail/ssmtp/ssmtp.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mail/ssmtp/ssmtp.conf b/mail/ssmtp/ssmtp.conf index d1827c2df..67cad804c 100644 --- a/mail/ssmtp/ssmtp.conf +++ b/mail/ssmtp/ssmtp.conf @@ -19,3 +19,9 @@ var_append makeinstopt ' ' 'GEN_CONFIG=true' var_append extraconfopt ' ' '--enable-ssl' var_append extraconfopt ' ' '--enable-md5auth' + +hook_add postmake 5 'ssmtp_install_conf' +ssmtp_install_conf() { + cp -vf ssmtp.conf.5 "$root$mandir/man5/" + cp -vf ssmtp.conf generate_config* "$root$docdir/" +}