summaryrefslogtreecommitdiff
path: root/dns/libmicrodns
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-10-31 00:31:32 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-10-31 00:31:32 +0000
commit4c8b0abd619dfe6902dda2289d633072c3e3ed60 (patch)
tree97ed2e55855e7df2eaf088f7d52c3b401d0c4c14 /dns/libmicrodns
parent5399fea276574d9c5e3c8a1de10464ffc9c22b68 (diff)
downloadfreebsd-ports-4c8b0abd619dfe6902dda2289d633072c3e3ed60.zip
dns/libmicrodns: Use release archive, fix COMMENT, don't build examples
PR: 250712 Submitted by: daniel.engberg.lists@pyret.net
Diffstat (limited to 'dns/libmicrodns')
-rw-r--r--dns/libmicrodns/Makefile9
-rw-r--r--dns/libmicrodns/distinfo6
2 files changed, 8 insertions, 7 deletions
diff --git a/dns/libmicrodns/Makefile b/dns/libmicrodns/Makefile
index 5a8a22041bd8..4c8d2de07293 100644
--- a/dns/libmicrodns/Makefile
+++ b/dns/libmicrodns/Makefile
@@ -3,18 +3,19 @@
PORTNAME= libmicrodns
DISTVERSION= 0.2.0
CATEGORIES= dns
+MASTER_SITES= https://github.com/videolabs/${PORTNAME}/releases/download/${DISTVERSION}/
+DISTNAME= microdns-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
-COMMENT= DNS library focused on being simple and cross-platform
+COMMENT= mDNS library focused on being simple and cross-platform
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c11 meson
-USE_GITHUB= yes
+USES= compiler:c11 meson tar:xz
USE_LDCONFIG= yes
-GH_ACCOUNT= videolabs
+MESON_ARGS= -Dexamples=disabled
PLIST_FILES= include/microdns/microdns.h \
include/microdns/rr.h \
diff --git a/dns/libmicrodns/distinfo b/dns/libmicrodns/distinfo
index aecf415f15e1..70c992e22970 100644
--- a/dns/libmicrodns/distinfo
+++ b/dns/libmicrodns/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603939184
-SHA256 (videolabs-libmicrodns-0.2.0_GH0.tar.gz) = 9864a088ffef4d4255d5abf63c6f603d1dc343dfec2809ff0c3f1624045b80fa
-SIZE (videolabs-libmicrodns-0.2.0_GH0.tar.gz) = 59923
+TIMESTAMP = 1603949731
+SHA256 (microdns-0.2.0.tar.xz) = 2da28e7dda4861d76f797f92ac3e6c3e048333b95f9e4fc3a6548ad8afd8c446
+SIZE (microdns-0.2.0.tar.xz) = 50544