git: 7a74a53771bc - main - databases/libiodbc: Use release tarball, improve port and return to pool

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 19:43:39 UTC
The branch main has been updated by diizzy:

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

commit 7a74a53771bc568f90e14cbbadc528eed3a81fe9
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-09 19:33:07 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-09 19:43:26 +0000

    databases/libiodbc: Use release tarball, improve port and return to pool
    
    * Switch to using upstream release tarball
    * Adjust port Makefile layout
    * Return to pool
    
    PR:             281447
    Approved by:    kde (makc and jhale)
---
 databases/libiodbc/Makefile                | 16 +++++++---------
 databases/libiodbc/distinfo                |  6 +++---
 databases/libiodbc/files/patch-Makefile.am | 11 -----------
 databases/libiodbc/files/patch-Makefile.in | 11 +++++++++++
 4 files changed, 21 insertions(+), 23 deletions(-)

diff --git a/databases/libiodbc/Makefile b/databases/libiodbc/Makefile
index d7da3e8531ce..0d9719626d84 100644
--- a/databases/libiodbc/Makefile
+++ b/databases/libiodbc/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	libiodbc
-DISTVERSIONPREFIX=	v
 DISTVERSION=	3.52.16
 PORTREVISION=	1
 CATEGORIES=	databases
+MASTER_SITES=	https://github.com/openlink/iODBC/releases/download/v${DISTVERSION}/
 
-MAINTAINER=	kde@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ODBC 3.x driver manager, for universal data source access
 WWW=		https://www.iodbc.org/
 
@@ -13,17 +13,16 @@ LICENSE_COMB=		dual
 LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.BSD
 LICENSE_FILE_LGPL20=	${WRKSRC}/LICENSE.LGPL
 
-USES=		autoreconf libtool pathfix pkgconfig
+USES=		libtool pathfix pkgconfig
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
 CONFIGURE_ARGS=	--with-iodbc-inidir=${ETCDIR} \
 		--includedir=${LOCALBASE}/include/libiodbc \
 		--disable-libodbc
+
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
-USE_GITHUB=	yes
-GH_ACCOUNT=	openlink
-GH_PROJECT=	iODBC
 
 OPTIONS_DEFINE=	GTK2 DOCS EXAMPLES
 OPTIONS_SUB=	yes
@@ -32,7 +31,6 @@ GTK2_USE=	GNOME=cairo,gdkpixbuf2,gtk20
 GTK2_USES=	gettext-runtime gnome
 GTK2_LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 			libfreetype.so:print/freetype2
-
 GTK2_CONFIGURE_ENABLE=	gui
 
 post-install:
diff --git a/databases/libiodbc/distinfo b/databases/libiodbc/distinfo
index 20079712f6e2..1daa797a383e 100644
--- a/databases/libiodbc/distinfo
+++ b/databases/libiodbc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683210394
-SHA256 (openlink-iODBC-v3.52.16_GH0.tar.gz) = a0cf0375b462f98c0081c2ceae5ef78276003e57cdf1eb86bd04508fb62a0660
-SIZE (openlink-iODBC-v3.52.16_GH0.tar.gz) = 660741
+TIMESTAMP = 1725921099
+SHA256 (libiodbc-3.52.16.tar.gz) = 3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa
+SIZE (libiodbc-3.52.16.tar.gz) = 1086850
diff --git a/databases/libiodbc/files/patch-Makefile.am b/databases/libiodbc/files/patch-Makefile.am
deleted file mode 100644
index 267a2f7a3283..000000000000
--- a/databases/libiodbc/files/patch-Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.am.orig	2019-08-07 17:55:25 UTC
-+++ Makefile.am
-@@ -73,7 +73,7 @@
- 
- AUTOMAKE_OPTIONS	= gnu dist-zip 1.9.6
- 
--SUBDIRS 		= admin bin etc man include iodbcinst iodbc iodbcadm drvproxy samples
-+SUBDIRS 		= admin bin etc man include iodbcinst iodbc iodbcadm drvproxy
- 
- ACLOCAL_AMFLAGS		= -I admin
- 
diff --git a/databases/libiodbc/files/patch-Makefile.in b/databases/libiodbc/files/patch-Makefile.in
new file mode 100644
index 000000000000..68fe898ba711
--- /dev/null
+++ b/databases/libiodbc/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2024-09-09 22:32:56 UTC
++++ Makefile.in
+@@ -412,7 +412,7 @@ AUTOMAKE_OPTIONS = gnu dist-zip 1.9.6
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = gnu dist-zip 1.9.6
+-SUBDIRS = admin bin etc man include iodbcinst iodbc iodbcadm drvproxy samples
++SUBDIRS = admin bin etc man include iodbcinst iodbc iodbcadm drvproxy
+ ACLOCAL_AMFLAGS = -I admin
+ EXTRA_DIST = \
+ 	$(srcdir)/IAFA-PACKAGE \