diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile index d8ad8f8e4950..b331478d05d6 100644 --- a/mail/esmtp/Makefile +++ b/mail/esmtp/Makefile @@ -1,50 +1,53 @@ PORTNAME= esmtp PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Relay-only Mail Transfer Agent with sendmail compatible syntax WWW= http://esmtp.sourceforge.net LICENSE= GPLv2 +DEPRECATED= Upstream announced that this project is no longer being maintained. See https://esmtp.sourceforge.net/links.html for alternatives +EXPIRATION_DATE=2023-05-31 + LIB_DEPENDS= libesmtp.so:mail/libesmtp USES= bison pkgconfig ssl tar:bzip2 GNU_CONFIGURE= yes PORTDOCS= README PLIST_FILES= bin/esmtp etc/esmtprc.sample man/man1/esmtp.1.gz \ man/man5/esmtprc.5.gz SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS post-patch: .for file in ${PORTNAME}.1 @${REINPLACE_CMD} -e \ 's|^/etc|${PREFIX}/etc|g' ${WRKSRC}/${file} .endfor .for file in esmtprc.5 sample.esmtprc @${REINPLACE_CMD} -e \ 's|/usr/bin/|${LOCALBASE}/bin/|g ; \ s|/usr/lib/|/usr/libexec/|g' ${WRKSRC}/${file} .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/esmtprc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/sample.esmtprc \ ${STAGEDIR}${PREFIX}/etc/esmtprc.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include