aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/hblock/Makefile14
-rw-r--r--net/hblock/distinfo6
2 files changed, 12 insertions, 8 deletions
diff --git a/net/hblock/Makefile b/net/hblock/Makefile
index 92eff676adec..1f3d7a548f23 100644
--- a/net/hblock/Makefile
+++ b/net/hblock/Makefile
@@ -2,7 +2,7 @@
PORTNAME= hblock
DISTVERSIONPREFIX= v
-DISTVERSION= 3.1.1
+DISTVERSION= 3.2.0
CATEGORIES= net
MAINTAINER= lcook@FreeBSD.org
@@ -19,16 +19,20 @@ 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
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= PACKAGES.md README.md SOURCES.md
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+
post-patch:
- @${REINPLACE_CMD} -e '/hosts/!s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
+ @${REINPLACE_CMD} \
+ -e 's,$${ETCDIR?}\/hosts,/etc/hosts,g' \
+ -e '/hosts/!s,/etc,${PREFIX}/etc,g' \
+ ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/net/hblock/distinfo b/net/hblock/distinfo
index a7ebe576f330..c45ff0684fa1 100644
--- a/net/hblock/distinfo
+++ b/net/hblock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608503762
-SHA256 (hectorm-hblock-v3.1.1_GH0.tar.gz) = 7d87002c8ba13b72b4614fd2e528dfee816ea632ddee7f49be7cc463b43b6c3c
-SIZE (hectorm-hblock-v3.1.1_GH0.tar.gz) = 761182
+TIMESTAMP = 1611443727
+SHA256 (hectorm-hblock-v3.2.0_GH0.tar.gz) = a5a86a0e9913d88dcba7270c9e3ed37f4c626c8a6a8b5e9303a8a173824bdfee
+SIZE (hectorm-hblock-v3.2.0_GH0.tar.gz) = 755740