1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/mail/noattach/Makefile
Dirk Meyer 6058705eb9 - bump MILTER_SOVER to fix linking on FREEBSD-12
- bump PORTREVISION on ports using libmilter
- rename WITH_SENDMAIL_PORT to WITH_MILTER_PORT
- rename WITH_SENDMAIL_BASE to WITH_MILTER_BASE
- rename WITH_SENDMAIL_STATIC_MILTER to WITH_MILTER_STATIC
- cleanup ifdefs
- fix build on batv-filter with libmilter from ports
2018-07-01 10:17:18 +00:00

45 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= noattach
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Attachment filter for Sendmail Milter
GNU_CONFIGURE= yes
USE_RC_SUBR= noattach
DOCSFILES= AUTHORS THANKS INSTALL NEWS README TODO ChangeLog
SAMPLEFILES= README noattach.patterns noattach.patterns.johncon
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
CONFIGURE_ENV+= MILTER_INCLUDES="${MILTERINC}"
MAKE_ENV+= MILTER_INCLUDES="${MILTERINC}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noattach ${STAGEDIR}${PREFIX}/libexec/noattach
${INSTALL_MAN} ${WRKSRC}/noattach.8 ${STAGEDIR}${PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/examples/noattach.patterns \
${STAGEDIR}${PREFIX}/etc/noattach.patterns-dist
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${SAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/examples/${i} ${STAGEDIR}${EXAMPLESDIR}/
.endfor
.include <bsd.port.post.mk>