# Created by: Michelle Sullivan # $FreeBSD: head/mail/spamtrap-milter/Makefile 376399 2015-01-06 09:38:40Z mis $ PORTNAME= spamtrap-milter PORTVERSION= 1.3.682 CATEGORIES= mail MASTER_SITES= http://flashback.sorbs.net/packages/ PKGNAMEPREFIX= p5- MAINTAINER= michelle@sorbs.net COMMENT= Milter to allow messages through if a non RFC-complient HELO is used LICENSE= BSD3CLAUSE RUN_DEPENDS= p5-Sendmail-Milter>=0:mail/p5-Sendmail-Milter \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Mail-SPF>=2.0:mail/p5-Mail-SPF BUILD_DEPENDS:= ${RUN_DEPENDS} NO_WRKSUBDIR= yes USES= perl5 USE_RC_SUBR= spamtrap-milter.sh NO_ARCH= YES NO_BUILD= YES SUB_FILES= pkg-message PLIST_FILES= libexec/spamtrap-milter.pl etc/spamtrap-milter.conf.sample post-patch: @${REINPLACE_CMD} -e 's|^#!.*|#!${PERL}|' ${WRKSRC}/${PORTNAME}/${PORTNAME}.pl @${MV} ${WRKSRC}/${PORTNAME}/${PORTNAME}.conf ${WRKSRC}/${PORTNAME}/${PORTNAME}.conf.sample do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/libexec ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc .include