freebsd-ports/net/hblock/Makefile
Rainer Hurling fe0aa55ecb net/hblock: Update to 2.1.7
Simply adds a few more blocklists.

Changelog: https://github.com/hectorm/hblock/compare/v2.1.6...v2.1.7

PR:		250321
Submitted by:	Lewis Cook <vulcan@wired.sh> (maintainer)
Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D26768
2020-10-15 07:02:02 +00:00

37 lines
720 B
Makefile

# $FreeBSD$
PORTNAME= hblock
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.7
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
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/hosts/!s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>