git: 54918b1d9d17 - main - misc/edflib: Update 1.19 -> 1.20

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 15 Nov 2021 00:27:25 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=54918b1d9d17c0cff506d484ee41152dd47e1058

commit 54918b1d9d17c0cff506d484ee41152dd47e1058
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-14 23:12:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-15 00:27:20 +0000

    misc/edflib: Update 1.19 -> 1.20
    
    Reported by:    portscout
---
 misc/edflib/Makefile | 11 ++++++++++-
 misc/edflib/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/misc/edflib/Makefile b/misc/edflib/Makefile
index 005f1678dcb4..9e868edc5697 100644
--- a/misc/edflib/Makefile
+++ b/misc/edflib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	edflib
-DISTVERSION=	1.19
+DISTVERSION=	1.20
 CATEGORIES=	misc # medicine
 MASTER_SITES=	https://www.teuniz.net/edflib/
 DISTNAME=	${PORTNAME}_${DISTVERSION:S/.//}
@@ -32,4 +32,13 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin
 .endfor
 
+do-test:
+	# build
+	@cd ${WRKSRC}/unittest && \
+		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS}
+	# run
+	@cd ${WRKSRC} && \
+		${WRKSRC}/unittest/edflib_test && \
+		${ECHO} "Tests passed"
+
 .include <bsd.port.mk>
diff --git a/misc/edflib/distinfo b/misc/edflib/distinfo
index 09ed2017b95c..43851ca3d1e2 100644
--- a/misc/edflib/distinfo
+++ b/misc/edflib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611252122
-SHA256 (edflib_119.tar.gz) = 2c891801eaeca96894cff1cf726634a9f59a1ba513ffc33308e494350a06d242
-SIZE (edflib_119.tar.gz) = 53773
+TIMESTAMP = 1636929507
+SHA256 (edflib_120.tar.gz) = 53b1b4270cdd221f1823a1e2b22ae05e467cb2348dd8aeca8099fc271999ef90
+SIZE (edflib_120.tar.gz) = 54238