git: 2838b3ae97db - main - devel/aifad: Update to 2.3.0

From: Philippe Audeoud <jadawin_at_FreeBSD.org>
Date: Mon, 15 Jul 2024 13:46:11 UTC
The branch main has been updated by jadawin:

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

commit 2838b3ae97db756f0d6a8c314138322cf2b44826
Author:     Benjamin Jacobs <freebsd@dev.thsi.be>
AuthorDate: 2024-06-13 20:06:40 +0000
Commit:     Philippe Audeoud <jadawin@FreeBSD.org>
CommitDate: 2024-07-15 12:43:42 +0000

    devel/aifad: Update to 2.3.0
    
    PR:     280296
---
 devel/aifad/Makefile | 21 +++++++--------------
 devel/aifad/distinfo | 10 +++-------
 2 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/devel/aifad/Makefile b/devel/aifad/Makefile
index 7fe14314525d..1b4f7f22daea 100644
--- a/devel/aifad/Makefile
+++ b/devel/aifad/Makefile
@@ -1,12 +1,7 @@
 PORTNAME=	aifad
-PORTVERSION=	2.0.8
-DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+PORTVERSION=	2.3.0
 CATEGORIES=	devel
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	6c94276f361614b4c447.diff:-p1 e08856647724737ca15e.diff:-p1
-
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Machine learning system
 WWW=		https://mmottl.github.io/aifad
@@ -15,7 +10,6 @@ LICENSE=	LGPL21+
 
 BUILD_DEPENDS=	menhir:devel/menhir \
 		ocaml-cfg>0:devel/ocaml-cfg \
-		ocamlbuild:devel/ocaml-ocamlbuild \
 		ocaml-pcre>0:devel/ocaml-pcre \
 		ocaml-res>0:devel/ocaml-res
 LIB_DEPENDS=	libpcre.so:devel/pcre
@@ -23,16 +17,15 @@ LIB_DEPENDS=	libpcre.so:devel/pcre
 USE_GITHUB=	yes
 GH_ACCOUNT=	mmottl
 
+USES=		ocaml:dune
 USE_OCAML=	yes
-NO_OCAML_RUNDEPENDS=yes
-
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--prefix ${STAGEDIR}${PREFIX}
 
-PORTDOCS=	AUTHORS.txt CHANGES.txt README.md TODO.md
+DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
+PORTDOCS=	CHANGES.md LICENSE.md README.md TODO.md
 PORTEXAMPLES=	*
-PLIST_FILES=	bin/aifad
-
+PLIST_FILES=	bin/aifad %%OCAML_SITELIBDIR%%/aifad/META \
+		%%OCAML_SITELIBDIR%%/aifad/dune-package \
+		%%OCAML_SITELIBDIR%%/aifad/opam
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
diff --git a/devel/aifad/distinfo b/devel/aifad/distinfo
index b21284d899b5..303544b77fe1 100644
--- a/devel/aifad/distinfo
+++ b/devel/aifad/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1451341539
-SHA256 (mmottl-aifad-v2.0.8_GH0.tar.gz) = 05fad5062601ec99c5d40a0202ba818f77309a12c1469d23acddf2353d255c7c
-SIZE (mmottl-aifad-v2.0.8_GH0.tar.gz) = 105438
-SHA256 (6c94276f361614b4c447.diff) = c67d06224c70906b7e4305a9e7cf830eaf0422626962dd7d1792441d23f514bb
-SIZE (6c94276f361614b4c447.diff) = 2056
-SHA256 (e08856647724737ca15e.diff) = 216dad3a8411882ef7bd34706dfbd9ad47978e1fdddc1790f9389d1d08607121
-SIZE (e08856647724737ca15e.diff) = 476
+TIMESTAMP = 1718308704
+SHA256 (mmottl-aifad-2.3.0_GH0.tar.gz) = 37c16e60d87573d31891fa1c41341e393e2236cc8075d4651a096adb967933aa
+SIZE (mmottl-aifad-2.3.0_GH0.tar.gz) = 63419