git: 844eb7e23cf4 - main - databases/mdbtools: Use upstream release archive

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 06:57:34 UTC
The branch main has been updated by rhurlin:

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

commit 844eb7e23cf4e269a53d4a2cae609bffca2904de
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-01-07 06:55:34 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-01-07 06:55:34 +0000

    databases/mdbtools: Use upstream release archive
    
    PR:             260990
---
 databases/mdbtools/Makefile  | 9 +++------
 databases/mdbtools/distinfo  | 6 +++---
 databases/mdbtools/pkg-plist | 1 -
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index 014fd93cf5bd..976d588f895a 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -1,10 +1,10 @@
 # Created by: Anders Nordby <anders@fix.no>
 
 PORTNAME=	mdbtools
-DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.0
 PORTREVISION=	1
 CATEGORIES=	databases
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	rhurlin@FreeBSD.org
 COMMENT=	Utilities and libraries to export data from MS Access databases (.mdb)
@@ -17,9 +17,8 @@ BUILD_DEPENDS=	bash-completion>=0:shells/bash-completion \
 LIB_DEPENDS=	libodbcinst.so:databases/unixODBC
 RUN_DEPENDS=	bash-completion>=0:shells/bash-completion
 
-USES=		autoreconf bison gnome iconv:wchar_t libtool pathfix \
+USES=		bison gnome iconv:wchar_t libtool pathfix \
 		pkgconfig readline
-USE_GITHUB=	yes
 USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
@@ -28,8 +27,6 @@ CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG} \
 
 INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	-I${WRKSRC}/include
-
 OPTIONS_DEFINE=		DOCS MANPAGES LIBMSWSTR NLS
 OPTIONS_DEFAULT=	MANPAGES
 OPTIONS_SUB=		yes
@@ -41,7 +38,7 @@ LIBMSWSTR_CONFIGURE_ENV_OFF=	ac_cv_lib_mswstr_DBLCMapStringW=no
 MANPAGES_CONFIGURE_OFF=		--disable-man
 NLS_USES=			gettext
 
-DOCS=		AUTHORS HACKING.md NEWS README.md TODO.md
+DOCS=		AUTHORS HACKING.md NEWS README.md
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/databases/mdbtools/distinfo b/databases/mdbtools/distinfo
index 0d8155d3111a..3fe0d8002f5f 100644
--- a/databases/mdbtools/distinfo
+++ b/databases/mdbtools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635088788
-SHA256 (mdbtools-mdbtools-v1.0.0_GH0.tar.gz) = dc6ce8555f0c08bab6d19dbec767f466a78611974e0ff44261b468b68a7acf85
-SIZE (mdbtools-mdbtools-v1.0.0_GH0.tar.gz) = 220553
+TIMESTAMP = 1641508630
+SHA256 (mdbtools-1.0.0.tar.gz) = 3446e1d71abdeb98d41e252777e67e1909b186496fda59f98f67032f7fbcd955
+SIZE (mdbtools-1.0.0.tar.gz) = 643866
diff --git a/databases/mdbtools/pkg-plist b/databases/mdbtools/pkg-plist
index bdafcac95f59..6ba6d75d506d 100644
--- a/databases/mdbtools/pkg-plist
+++ b/databases/mdbtools/pkg-plist
@@ -57,4 +57,3 @@ share/bash-completion/completions/mdb-ver
 %%PORTDOCS%%%%DOCSDIR%%/HACKING.md
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/TODO.md