PORTNAME= proxsmtp PORTVERSION= 1.10 PORTREVISION= 2 CATEGORIES= mail security MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/ \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Flexible SMTP filter which can act also as transparent proxy WWW= http://thewalter.net/stef/software/proxsmtp/ LICENSE= BSD3CLAUSE USES= gmake GNU_CONFIGURE= yes USE_RC_SUBR= proxsmtpd SUB_FILES= pkg-message PORTDOCS= ChangeLog NEWS README OPTIONS_DEFINE= DOCS PROXSMTP_BANNER?= 220 smtp.passthru PROXSMTP_HELO_RSP?= 250 smtp.passthru PROXSMTP_SMTP_EHLO_RSP?=250-smtp.passthru post-patch: @${REINPLACE_CMD} \ -e 's|220 smtp.passthru|${PROXSMTP_BANNER}|g' \ -e 's|250 smtp.passthru|${PROXSMTP_HELO_RSP}|g' \ -e 's|250-smtp.passthru|${PROXSMTP_SMTP_EHLO_RSP}|g' \ ${WRKSRC}/common/smtppass.c @${REINPLACE_CMD} -e \ '/^acx_pthread_flags/s|=.*|="-lpthread"|' \ ${WRKSRC}/configure post-install: (cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \ ${STAGEDIR}${PREFIX}/etc/proxsmtpd.conf.sample) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include