Index: Makefile =================================================================== --- Makefile (revision 519607) +++ Makefile (working copy) @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= postfwd -PORTVERSION= 1.35 +PORTVERSION= 2.02 +DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= mail -MASTER_SITES= http://www.${PORTNAME}.org/old/ PKGNAMEPREFIX= postfix- MAINTAINER= ports@FreeBSD.org @@ -17,35 +17,31 @@ 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} -USES= perl5 shebangfix +USE_GITHUB= yes SHEBANG_FILES= sbin/* tools/*.pl tools/hapolicy/* USE_PERL5= run NO_BUILD= yes -OPTIONS_DEFINE= EXAMPLES DOCS POSTFWD2 -POSTFWD2_DESC= Install postfwd v2 rather than v1 +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_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} + ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/plugins/postfwd.plugins.sample ${STAGEDIR}${EXAMPLESDIR} -do-install-POSTFWD2-on: - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME}2 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - -do-install-POSTFWD2-off: - @${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - .include Index: distinfo =================================================================== --- distinfo (revision 519607) +++ distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (postfwd-1.35.tar.gz) = 42abf8fc1229e8a09fa0141b6e23e34c6e1b654a56f6e7556d04067eafc77c41 -SIZE (postfwd-1.35.tar.gz) = 354609 +TIMESTAMP = 1575902368 +SHA256 (postfwd-postfwd-v2.02_GH0.tar.gz) = 38d191b825192c7a884aef8f6a10ef5f93860df7428c9fab645eab81bdfcf6af +SIZE (postfwd-postfwd-v2.02_GH0.tar.gz) = 266603 Index: pkg-plist =================================================================== --- pkg-plist (revision 519607) +++ pkg-plist (working copy) @@ -4,6 +4,7 @@ man/man8/postfwd2.8.gz %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/arch.html +%%PORTDOCS%%%%DOCSDIR%%/docker.txt %%PORTDOCS%%%%DOCSDIR%%/hapolicy.html %%PORTDOCS%%%%DOCSDIR%%/hapolicy.txt %%PORTDOCS%%%%DOCSDIR%%/postfwd-ARCH.png @@ -10,11 +11,9 @@ %%PORTDOCS%%%%DOCSDIR%%/postfwd.CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/postfwd.html %%PORTDOCS%%%%DOCSDIR%%/postfwd.txt -%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.html -%%PORTDOCS%%%%DOCSDIR%%/postfwd2-chroot.txt -%%PORTDOCS%%%%DOCSDIR%%/postfwd2.CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/postfwd2.html -%%PORTDOCS%%%%DOCSDIR%%/postfwd2.txt +%%PORTDOCS%%%%DOCSDIR%%/postfwd3.CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/postfwd3.html +%%PORTDOCS%%%%DOCSDIR%%/postfwd3.txt %%PORTDOCS%%%%DOCSDIR%%/quick.html %%PORTDOCS%%%%DOCSDIR%%/versions.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/postfwd.plugins.sample