Index: head/net/hblock/Makefile =================================================================== --- head/net/hblock/Makefile (revision 556089) +++ head/net/hblock/Makefile (revision 556090) @@ -1,37 +1,42 @@ # $FreeBSD$ PORTNAME= hblock DISTVERSIONPREFIX= v -DISTVERSION= 2.1.7 +DISTVERSION= 3.1.0 CATEGORIES= net MAINTAINER= vulcan@wired.sh COMMENT= Adblocker using automatically generated hosts file LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss USE_GITHUB= yes GH_ACCOUNT= hectorm NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= bin/${PORTNAME} -PORTDOCS= README.md +PLIST_FILES= bin/${PORTNAME} %%MANPAGES%%man/man1/hblock.1.gz +PORTDOCS= PACKAGES.md README.md SOURCES.md -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MANPAGES +OPTIONS_DEFAULT= MANPAGES +OPTIONS_SUB= yes post-patch: - @${REINPLACE_CMD} -e '/hosts/!s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e '/hosts/!s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-MANPAGES-on: + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/net/hblock/distinfo =================================================================== --- head/net/hblock/distinfo (revision 556089) +++ head/net/hblock/distinfo (revision 556090) @@ -1,3 +1,3 @@ -TIMESTAMP = 1602608993 -SHA256 (hectorm-hblock-v2.1.7_GH0.tar.gz) = d903e516b2e077e1dd8180ad60caa14a58cf4f0f5bcd24643cdc8c883920671d -SIZE (hectorm-hblock-v2.1.7_GH0.tar.gz) = 400671 +TIMESTAMP = 1606055824 +SHA256 (hectorm-hblock-v3.1.0_GH0.tar.gz) = 53846eced660bbd43468abb63050304dbdf7d22281cd45b457350cf9c59d4912 +SIZE (hectorm-hblock-v3.1.0_GH0.tar.gz) = 761993