aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-07-09 13:56:40 +0800
committernovel <novel@FreeBSD.org>2005-07-09 13:56:40 +0800
commit02b36aa9ba9f40fa6982b18d3c93e873c3bb88d5 (patch)
treec5d0f2bad93fee36c202eed78b709f1cc5d24a54 /mail
parent3bdaa6f6e52f1141c1a09eff3426c6855d2a7d4b (diff)
downloadfreebsd-ports-gnome-02b36aa9ba9f40fa6982b18d3c93e873c3bb88d5.tar.gz
freebsd-ports-gnome-02b36aa9ba9f40fa6982b18d3c93e873c3bb88d5.tar.zst
freebsd-ports-gnome-02b36aa9ba9f40fa6982b18d3c93e873c3bb88d5.zip
- Update to 1.4.2
- Added NLS support (can be disabled using WITHOUT_NLS knob)
Diffstat (limited to 'mail')
-rw-r--r--mail/msmtp/Makefile12
-rw-r--r--mail/msmtp/distinfo4
-rw-r--r--mail/msmtp/pkg-plist2
3 files changed, 14 insertions, 4 deletions
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 2765e0db7f8c..95239fa55de0 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= msmtp
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.2
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= msmtp
@@ -23,7 +23,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= msmtp.1
INFO= msmtp
-PLIST_FILES= bin/msmtp
# XXX we need gnutls >= 1.2.0 which is not avaible via ports tree
.if defined(WITH_GNUTLS)
@@ -46,4 +45,13 @@ LIB_DEPENDS+= gsasl.9:${PORTSDIR}/security/gsasl
CONFIGURE_ARGS+= --disable-gsasl
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
index 6bc96834b243..4a3f0ef9291c 100644
--- a/mail/msmtp/distinfo
+++ b/mail/msmtp/distinfo
@@ -1,2 +1,2 @@
-MD5 (msmtp-1.4.1.tar.bz2) = 32693654b966bfe2d6b568a2bb4bb125
-SIZE (msmtp-1.4.1.tar.bz2) = 405884
+MD5 (msmtp-1.4.2.tar.bz2) = 3db095102259103e4eb48fc0c7d21618
+SIZE (msmtp-1.4.2.tar.bz2) = 479968
diff --git a/mail/msmtp/pkg-plist b/mail/msmtp/pkg-plist
new file mode 100644
index 000000000000..84828a00644a
--- /dev/null
+++ b/mail/msmtp/pkg-plist
@@ -0,0 +1,2 @@
+bin/msmtp
+%%NLS%%share/locale/de/LC_MESSAGES/msmtp.mo