diff options
-rw-r--r-- | mail/msmtp/Makefile | 12 | ||||
-rw-r--r-- | mail/msmtp/distinfo | 4 | ||||
-rw-r--r-- | mail/msmtp/pkg-plist | 2 |
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 |