aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2011-12-07 04:40:29 +0800
committerRoman Bogorodskiy <novel@FreeBSD.org>2011-12-07 04:40:29 +0800
commit1e47a4c32b5a9bf6ade8016711c5311618b8a985 (patch)
tree48debd9808d203cdfa7970122652810ada421d60 /mail
parentf88cdd5a7fc11d7ddc4bea21c0557cdf0f6158f7 (diff)
downloadfreebsd-ports-gnome-1e47a4c32b5a9bf6ade8016711c5311618b8a985.tar.gz
freebsd-ports-gnome-1e47a4c32b5a9bf6ade8016711c5311618b8a985.tar.zst
freebsd-ports-gnome-1e47a4c32b5a9bf6ade8016711c5311618b8a985.zip
- Update to 1.4.26
- Add MSMTPQ knob to install offline messaging helper scripts Feature safe: yes
Diffstat (limited to 'mail')
-rw-r--r--mail/msmtp/Makefile21
-rw-r--r--mail/msmtp/distinfo4
-rw-r--r--mail/msmtp/pkg-plist4
3 files changed, 24 insertions, 5 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 2c9b04511460..e2e6c431b631 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msmtp
-PORTVERSION= 1.4.25
+PORTVERSION= 1.4.26
CATEGORIES= mail ipv6
MASTER_SITES= SF
@@ -27,7 +27,8 @@ OPTIONS= GNUTLS "Adds GnuTLS support" off \
GSASL "Adds GSASL support" off \
NLS "Native Language Support via gettext utilities" on \
IDN "Enable Internationalized Domain Names" on \
- GNOME_KEYRING "Build with GNOME Keyring auth support" off
+ GNOME_KEYRING "Build with GNOME Keyring auth support" off \
+ MSMTPQ "Install offline messaging scripts" on
.include <bsd.port.options.mk>
@@ -76,4 +77,18 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MSMTPQ)
+PLIST_SUB+= MSMTPQ=""
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtp-queue ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtpq ${PREFIX}/bin
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/scripts/msmtpq/README.msmtpq ${DOCSDIR}
+.else
+PLIST_SUB= MSMTPQ="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
index 01ce39cb538a..218b27bf3193 100644
--- a/mail/msmtp/distinfo
+++ b/mail/msmtp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (msmtp-1.4.25.tar.bz2) = 65796adf60e1ebb4341f8415bd3cfa6647226bdba5fbaa5af7bc369808ab4e63
-SIZE (msmtp-1.4.25.tar.bz2) = 302039
+SHA256 (msmtp-1.4.26.tar.bz2) = 53a3bbea4fa9dbc2b353deeec6ffa9b681ea228cae67f19d3e1197845c62cde2
+SIZE (msmtp-1.4.26.tar.bz2) = 301686
diff --git a/mail/msmtp/pkg-plist b/mail/msmtp/pkg-plist
index 84828a00644a..df13dbf5210d 100644
--- a/mail/msmtp/pkg-plist
+++ b/mail/msmtp/pkg-plist
@@ -1,2 +1,6 @@
bin/msmtp
+%%MSMTPQ%%bin/msmtp-queue
+%%MSMTPQ%%bin/msmtpq
+%%MSMTPQ%%%%DOCSDIR%%/README.msmtpq
%%NLS%%share/locale/de/LC_MESSAGES/msmtp.mo
+%%MSMTPQ%%@dirrm %%DOCSDIR%%