# Created by: Sahil Tandon # $FreeBSD: head/mail/postfix-postfwd/Makefile 544199 2020-08-05 02:57:50Z lwhsu $ PORTNAME= postfwd PORTVERSION= 2.03 DISTVERSIONPREFIX= v CATEGORIES= mail PKGNAMEPREFIX= postfix- MAINTAINER= andreas.jobs+freebsdbugs@ruhr-uni-bochum.de COMMENT= Postfix firewall policy daemon LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/doc/LICENSE RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-Server>=0:net/p5-Net-Server USES= perl5 shebangfix NO_ARCH= yes SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes SHEBANG_FILES= sbin/* tools/*.pl tools/hapolicy/* USE_PERL5= run NO_BUILD= yes PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES DOCS do-install: ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${STAGEDIR}${ETCDIR} ${INSTALL_MAN} ${WRKSRC}/man/man8/* ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}3 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR} .include