aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2020-11-23 06:47:44 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2020-11-23 06:47:44 +0000
commitd0663e2aac1a97daa6af29c73f7ca46c0b43b74b (patch)
treeee4cd4b775f46dea42b983b7a22959eae5f4fefe /net
parent7d33d908b4e7a3ea49fe317ea26a3a79d7b442e9 (diff)
downloadports-d0663e2aac1a97daa6af29c73f7ca46c0b43b74b.tar.gz
ports-d0663e2aac1a97daa6af29c73f7ca46c0b43b74b.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/hblock/Makefile17
-rw-r--r--net/hblock/distinfo6
2 files changed, 14 insertions, 9 deletions
diff --git a/net/hblock/Makefile b/net/hblock/Makefile
index 124d8228800e..edc9035b4cb7 100644
--- a/net/hblock/Makefile
+++ b/net/hblock/Makefile
@@ -2,7 +2,7 @@
PORTNAME= hblock
DISTVERSIONPREFIX= v
-DISTVERSION= 2.1.7
+DISTVERSION= 3.1.0
CATEGORIES= net
MAINTAINER= vulcan@wired.sh
@@ -19,19 +19,24 @@ 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 <bsd.port.mk>
diff --git a/net/hblock/distinfo b/net/hblock/distinfo
index 8ec9b7b5351b..d17660f99f98 100644
--- a/net/hblock/distinfo
+++ b/net/hblock/distinfo
@@ -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