1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/mail/proxsmtp/Makefile
John Marino 90e3f72974 mail category: Remove $PTHREAD_LIBS
Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests.   The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week.  It's a forward
action to submit a PR against mail/sendmail.

  * antivirus-milter (CP)
  * dk-milter        (CP)
  * milter-regex     (CP)
  * sendmail         (CP, QA)

approved by:	PTHREAD blanket
2015-03-25 11:41:17 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Dario Freni <saturnero@gufi.org>
# $FreeBSD$
PORTNAME= proxsmtp
PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= mail security
MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/
MAINTAINER= zi@FreeBSD.org
COMMENT= Flexible SMTP filter which can act also as transparent proxy
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 <bsd.port.mk>