git: c9fe49d79caa - main - math/fann: Update 2.2.0 → 2.2.0-20230126

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 Mar 2023 17:33:07 UTC
The branch main has been updated by yuri:

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

commit c9fe49d79caa65692b1dd5f7e29bb041b0ef9b32
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-16 15:02:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-16 15:02:58 +0000

    math/fann: Update 2.2.0 → 2.2.0-20230126
---
 math/fann/Makefile  | 14 +++++++-------
 math/fann/distinfo  |  6 +++---
 math/fann/pkg-plist | 11 ++++++++++-
 3 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/math/fann/Makefile b/math/fann/Makefile
index 89b4d6aba887..85e71ff6a3f8 100644
--- a/math/fann/Makefile
+++ b/math/fann/Makefile
@@ -1,19 +1,19 @@
 PORTNAME=	fann
-PORTVERSION=	2.2.0
+DISTVERSION=	2.2.0-20230126
 CATEGORIES=	math science
-MASTER_SITES=	SF
-DISTNAME=	FANN-2.2.0-Source
 
 MAINTAINER=	tzhuan@csie.org
 COMMENT=	Free open source neural network library
 WWW=		https://leenissen.dk/
 
 LICENSE=	LGPL21+
-LICENSE_FILE=	${WRKSRC}/COPYING.txt
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-WRKSRC=		${WRKDIR}/FANN-2.2.0-Source
-
-USES=		cmake pathfix zip
+USES=		cmake pathfix
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	libfann
+GH_TAGNAME=	8409b42
+
 .include <bsd.port.mk>
diff --git a/math/fann/distinfo b/math/fann/distinfo
index 3eb1b4335a71..f2a09f796c45 100644
--- a/math/fann/distinfo
+++ b/math/fann/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509354959
-SHA256 (FANN-2.2.0-Source.zip) = 434b85fce60701c4e0066c442d60110d8e649f278e4edb814f0c0e7a1e0929fd
-SIZE (FANN-2.2.0-Source.zip) = 2285087
+TIMESTAMP = 1678987289
+SHA256 (libfann-fann-2.2.0-20230126-8409b42_GH0.tar.gz) = f26f172a4ac4b423fa99d07be18e61a1eea2505fcef6825b1dd2a9c94d8172bf
+SIZE (libfann-fann-2.2.0-20230126-8409b42_GH0.tar.gz) = 3427912
diff --git a/math/fann/pkg-plist b/math/fann/pkg-plist
index 4127023764c3..0e982deeb0d5 100644
--- a/math/fann/pkg-plist
+++ b/math/fann/pkg-plist
@@ -1,25 +1,34 @@
-include/compat_time.h
 include/doublefann.h
 include/fann.h
 include/fann_activation.h
 include/fann_cascade.h
 include/fann_cpp.h
 include/fann_data.h
+include/fann_data_cpp.h
 include/fann_error.h
 include/fann_internal.h
 include/fann_io.h
 include/fann_train.h
+include/fann_training_data_cpp.h
 include/fixedfann.h
 include/floatfann.h
+include/parallel_fann.h
+include/parallel_fann.hpp
+lib/cmake/fann/fann-config.cmake
+lib/cmake/fann/fann-use.cmake
+lib/libdoublefann.a
 lib/libdoublefann.so
 lib/libdoublefann.so.2
 lib/libdoublefann.so.2.2.0
+lib/libfann.a
 lib/libfann.so
 lib/libfann.so.2
 lib/libfann.so.2.2.0
+lib/libfixedfann.a
 lib/libfixedfann.so
 lib/libfixedfann.so.2
 lib/libfixedfann.so.2.2.0
+lib/libfloatfann.a
 lib/libfloatfann.so
 lib/libfloatfann.so.2
 lib/libfloatfann.so.2.2.0