git: 770488c4d1f9 - main - sysutils/bulk_extractor: Update to 2.0.0

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 19 Feb 2022 10:28:16 UTC
The branch main has been updated by nobutaka:

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

commit 770488c4d1f97d83a127e009b34682069f160e9e
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2022-02-19 10:27:15 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2022-02-19 10:27:38 +0000

    sysutils/bulk_extractor: Update to 2.0.0
---
 sysutils/bulk_extractor/Makefile | 20 +++++++++++++++++---
 sysutils/bulk_extractor/distinfo | 12 +++++++++---
 2 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/sysutils/bulk_extractor/Makefile b/sysutils/bulk_extractor/Makefile
index 11b1af5346cf..0514cf409b78 100644
--- a/sysutils/bulk_extractor/Makefile
+++ b/sysutils/bulk_extractor/Makefile
@@ -1,9 +1,8 @@
 # Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
 
 PORTNAME=	bulk_extractor
-DISTVERSION=	2.0.0-beta3
+PORTVERSION=	2.0.0
 CATEGORIES=	sysutils
-MASTER_SITES=	https://github.com/simsong/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	nobutaka@FreeBSD.org
 COMMENT=	Program that scans a disk image and extracts useful information
@@ -19,10 +18,20 @@ LIB_DEPENDS=	libafflib.so:sysutils/afflib \
 		libgcrypt.so:security/libgcrypt \
 		libgpg-error.so:security/libgpg-error
 
-USES=		compiler:c++17-lang gnome iconv:wchar_t localbase \
+USES=		autoreconf compiler:c++17-lang gnome iconv:wchar_t localbase \
 		sqlite ssl
+USE_GITHUB=	yes
 USE_GNOME=	libxml2
 
+GH_ACCOUNT=	simsong
+GH_TUPLE=	simsong:be20_api:${GH_TAG_BE20_API}:be20_api \
+		dfxml-working-group:dfxml_cpp:${GH_TAG_DFXML_CPP}:dfxml_cpp \
+		dfxml-working-group:dfxml_schema:${GH_TAG_DFXML_SCHEMA}:dfxml_schema
+GH_TAGNAME=	v${PORTVERSION}
+GH_TAG_BE20_API=	f63dcd5
+GH_TAG_DFXML_CPP=	09030bc
+GH_TAG_DFXML_SCHEMA=	f2a702e
+
 GNU_CONFIGURE=	yes
 CXXFLAGS_powerpc=	-DBIG_ENDIAN
 CXXFLAGS_powerpcspe=	-DBIG_ENDIAN
@@ -31,4 +40,9 @@ CONFIGURE_ARGS=	--enable-exiv2=true
 
 PLIST_FILES=	bin/bulk_extractor bin/test_be man/man1/bulk_extractor.1.gz
 
+post-extract:
+	${CP} -R ${WRKSRC_be20_api}/* ${WRKSRC}/src/be20_api/
+	${CP} -R ${WRKSRC_dfxml_cpp}/* ${WRKSRC}/src/be20_api/dfxml_cpp/
+	${CP} -R ${WRKSRC_dfxml_schema}/* ${WRKSRC}/dfxml_schema/
+
 .include <bsd.port.mk>
diff --git a/sysutils/bulk_extractor/distinfo b/sysutils/bulk_extractor/distinfo
index 368068670101..04516e59f2ab 100644
--- a/sysutils/bulk_extractor/distinfo
+++ b/sysutils/bulk_extractor/distinfo
@@ -1,3 +1,9 @@
-TIMESTAMP = 1642945370
-SHA256 (bulk_extractor-2.0.0-beta3.tar.gz) = 835d597f9810c40c44e2e2d06cd015fa83fde9019b4b0123b6bf63ac9fcb813f
-SIZE (bulk_extractor-2.0.0-beta3.tar.gz) = 7731116
+TIMESTAMP = 1645265605
+SHA256 (simsong-bulk_extractor-2.0.0-v2.0.0_GH0.tar.gz) = 57efb6fac52fdd70f9778bfad96f76ce01466b48e4a0bb732a39b66abb698cfb
+SIZE (simsong-bulk_extractor-2.0.0-v2.0.0_GH0.tar.gz) = 42333931
+SHA256 (simsong-be20_api-f63dcd5_GH0.tar.gz) = 76713af7d1430d5ade05603f218f5a0d9523357b292319e935ef941033a8b4c2
+SIZE (simsong-be20_api-f63dcd5_GH0.tar.gz) = 485552
+SHA256 (dfxml-working-group-dfxml_cpp-09030bc_GH0.tar.gz) = caf43f6b8440fb7acc3069602d513d36886c7413209043274cc88f6615363502
+SIZE (dfxml-working-group-dfxml_cpp-09030bc_GH0.tar.gz) = 177520
+SHA256 (dfxml-working-group-dfxml_schema-f2a702e_GH0.tar.gz) = ce7034f36dda27b7dd4192a05545c87f69a68bcc1321e7ffdaeb638bf41919be
+SIZE (dfxml-working-group-dfxml_schema-f2a702e_GH0.tar.gz) = 10421