Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144456968
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index f88ef950d2eb..317bd8e7e221 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -1,73 +1,69 @@
PORTNAME= msmtp
-PORTVERSION= 1.8.32
+DISTVERSION= 1.8.32
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= https://marlam.de/msmtp/releases/
PATCH_SITES= https://github.com/marlam/msmtp-mirror/commit/
MAINTAINER= novel@FreeBSD.org
COMMENT= SMTP plugin for MUAs
WWW= https://marlam.de/msmtp/
LICENSE= GPLv3
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-USES= cpe gmake makeinfo pkgconfig tar:xz
+USES= cpe gmake makeinfo pkgconfig shebangfix tar:xz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INFO= msmtp
CPE_VENDOR= marlam
+SHEBANG_FILES= tests/*.sh
OPTIONS_DEFINE= DOCS GSASL NLS IDN LIBSECRET MSMTPD MSMTPQ
OPTIONS_RADIO= TLS
OPTIONS_RADIO_TLS= GNUTLS OPENSSL
OPTIONS_DEFAULT= GNUTLS MSMTPD MSMTPQ
OPTIONS_SUB= yes
GSASL_DESC= GSASL support
LIBSECRET_DESC= GNOME password management
MSMTPD_DESC= Include minimal SMTP server that pipes mails to msmtp
MSMTPQ_DESC= Install offline messaging scripts
GSASL_CONFIGURE_WITH= libgsasl
GSASL_LIB_DEPENDS= libgsasl.so:security/libgsasl
IDN_CONFIGURE_WITH= libidn
IDN_LIB_DEPENDS= libidn2.so:dns/libidn2
LIBSECRET_CONFIGURE_WITH= libsecret
LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret
MSMTPD_CONFIGURE_WITH= msmtpd
MSMTPQ_PORTDOCS= README.msmtpq
MSMTPQ_RUN_DEPENDS= bash:shells/bash
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
-GNUTLS_CONFIGURE_ON= --with-tls=gnutls
+GNUTLS_CONFIGURE_WITH= tls=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
OPENSSL_USES= ssl
-OPENSSL_CONFIGURE_ON= --with-tls=openssl
+OPENSSL_CONFIGURE_WITH= tls=openssl
OPENSSL_CONFIGURE_ENV= libssl_CFLAGS="-I${OPENSSLINC}" \
libssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
-CERTSFILE= ${LOCALBASE}/share/certs/ca-root-nss.crt
+
+TEST_DEPENDS= bash:shells/bash
+TEST_TARGET= check
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MGNUTLS} || ${PORT_OPTIONS:MOPENSSL}
-RUN_DEPENDS+= ${CERTSFILE}:security/ca_root_nss
-.else
+.if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL}
CONFIGURE_ARGS+= --with-tls=no
.endif
-post-extract:
- @${REINPLACE_CMD} -e 's|/etc/ssl/certs/ca\\-certificates.crt|${CERTSFILE}|' \
- ${WRKSRC}/doc/msmtp.1
-
-.if ${PORT_OPTIONS:MMSMTPQ}
-post-install:
+post-install-MSMTPQ-on:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtp-queue ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/msmtpq ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/README.msmtpq ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Mar 29, 1:46 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28218346
Default Alt Text
(2 KB)
Attached To
Mode
R11 FreeBSD ports repository
Attached
Detach File
Event Timeline
Log In to Comment