1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/hblock/Makefile
Hiroki Tagato 40e0315810 - Update to 2.1.6
- Remove 'files/patch-hblock' as this has been addressed upstream

PR:		246180
Submitted by:	Lewis Cook <vulcan@wired.sh> (maintainer)
Approved by:	ehaupt (mentor)
2020-05-06 10:07:33 +00:00

38 lines
720 B
Makefile

# $FreeBSD$
PORTNAME= hblock
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.6
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>