sthen 7506de6a9b update to msmtp-1.8.7, from Xiyue Deng (taking maintainer), plus I fixed
WANTLIB and regen'd patches (mostly with the same result but I tweaked
one to make it easier to compare the new with the previous line)
2020-02-06 11:26:10 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.48 2020/02/06 11:26:10 sthen Exp $
COMMENT = SMTP plugin for MUAs
DISTNAME = msmtp-1.8.7
CATEGORIES = mail
HOMEPAGE = https://marlam.de/msmtp/
MAINTAINER = Xiyue Deng <manphiz@gmail.com>
# GPLv3
PERMIT_PACKAGE = Yes
WANTLIB = c iconv idn2 intl gnutls
MASTER_SITES = https://marlam.de/msmtp/releases/
EXTRACT_SUFX = .tar.xz
LIB_DEPENDS = devel/libidn2 \
security/gnutls
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-libgsasl=no \
--with-libidn=yes \
--with-tls=gnutls \
--without-libsecret
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/msmtp
${INSTALL_DATA_DIR} ${PREFIX}/share/msmtp/msmtpqueue
${INSTALL_DATA} ${WRKSRC}/doc/*.example ${PREFIX}/share/examples/msmtp
${INSTALL_DATA} ${WRKSRC}/scripts/msmtpqueue/{README,ChangeLog} \
${PREFIX}/share/msmtp/msmtpqueue
${INSTALL_DATA} ${WRKSRC}/scripts/msmtpq/README.msmtpq \
${PREFIX}/share/msmtp
${INSTALL_SCRIPT} ${WRKSRC}/scripts/set_sendmail/set_sendmail.sh \
${PREFIX}/share/examples/msmtp
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpqueue/*.sh \
${PREFIX}/share/examples/msmtp
${INSTALL_SCRIPT} ${WRKSRC}/scripts/msmtpq/{msmtpq,msmtp-queue} \
${PREFIX}/share/examples/msmtp
.include <bsd.port.mk>