1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/hblock/Makefile
Rainer Hurling bcf0959b05 net/hblock: Update to 3.1.1
Changelog: https://github.com/hectorm/hblock/compare/v3.1.0...v3.1.1

PR:		252005
Submitted by:	Lewis Cook <vulcan@wired.sh> (maintainer)
Approved by:	arrowd, tcberner (mentors, implicit)
2020-12-21 13:04:43 +00:00

44 lines
978 B
Makefile

# $FreeBSD$
PORTNAME= hblock
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.1
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}
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
PORTDOCS= PACKAGES.md README.md SOURCES.md
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
post-patch:
@${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} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
post-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>