git: 0643db385f88 - main - graphics/p5-Geo-GDAL: Remove obsoleted port

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:14:23 UTC
The branch main has been updated by sunpoet:

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

commit 0643db385f88e79314faed12459c45df47d63d46
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:09:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:09:02 +0000

    graphics/p5-Geo-GDAL: Remove obsoleted port
    
    Upstream removed deprecated SWIG Perl bindings since 3.5.0.
    
    Reference:      https://github.com/OSGeo/gdal/releases
---
 MOVED                          |  1 +
 graphics/Makefile              |  1 -
 graphics/p5-Geo-GDAL/Makefile  | 39 ---------------------------------------
 graphics/p5-Geo-GDAL/distinfo  |  3 ---
 graphics/p5-Geo-GDAL/pkg-descr |  3 ---
 graphics/p5-Geo-GDAL/pkg-plist | 10 ----------
 6 files changed, 1 insertion(+), 56 deletions(-)

diff --git a/MOVED b/MOVED
index 14ed0ed261f2..e8c248932f87 100644
--- a/MOVED
+++ b/MOVED
@@ -17157,3 +17157,4 @@ math/pantheon-calculator|math/elementary-calculator|2022-05-18|Switch to reverse
 mail/p5-MIME-Fast||2022-05-19|Depends on long deprecated gmime-2.2
 mail/gmime2-sharp|mail/gmime26-sharp|2022-05-19|Depends on long deprecated gmime-2.2
 mail/gmime2|mail/gmime26|2022-05-19|Not used anymore overcome by gnime26
+graphics/p5-Geo-GDAL||2022-05-22|Remove obsoleted port. GDAL removed deprecated SWIG Perl bindings since 3.5.0
diff --git a/graphics/Makefile b/graphics/Makefile
index d4d333683bb6..a0386dd4e840 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -655,7 +655,6 @@
     SUBDIR += p5-GD-TextUtil
     SUBDIR += p5-GD-Thumbnail
     SUBDIR += p5-Geo-EOP
-    SUBDIR += p5-Geo-GDAL
     SUBDIR += p5-Geo-GDAL-FFI
     SUBDIR += p5-Geo-GML
     SUBDIR += p5-Geo-Gpx
diff --git a/graphics/p5-Geo-GDAL/Makefile b/graphics/p5-Geo-GDAL/Makefile
deleted file mode 100644
index 6fc8efc2ce90..000000000000
--- a/graphics/p5-Geo-GDAL/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-
-PORTNAME=	Geo-GDAL
-PORTVERSION=	3.4.3
-CATEGORIES=	graphics perl5
-MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
-		LOCAL/sunpoet
-PKGNAMEPREFIX=	p5-
-DISTNAME=	gdal-${PORTVERSION}
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Perl binding for GDAL
-
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/../../LICENSE.TXT
-
-BUILD_DEPENDS=	p5-Capture-Tiny>=0:devel/p5-Capture-Tiny
-LIB_DEPENDS=	libgdal.so:graphics/gdal
-
-USES=		compiler:c++14-lang cpe perl5 tar:xz
-
-USE_CXXSTD=	c++14
-WRKSRC_SUBDIR=	swig/perl
-
-CPE_VENDOR=	osgeo
-CPE_PRODUCT=	gdal
-
-post-patch:
-	@${LN} -s ${LOCALBASE}/bin/gdal-config ${WRKSRC}/../../apps/gdal-config
-	@${REINPLACE_CMD} -e 's| INSTALL_BASE=.*||; s| install| pure_install|' ${WRKSRC}/Makefile
-
-# GDALmake.opt is not available until configure phase
-post-configure:
-	@${SED} -e '/^GDAL_ROOT/d' ${LOCALBASE}/share/gdal/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/GDAL/Const/Const.so ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Geo/*/*.so
-
-.include <bsd.port.mk>
diff --git a/graphics/p5-Geo-GDAL/distinfo b/graphics/p5-Geo-GDAL/distinfo
deleted file mode 100644
index 8e288f9e7dad..000000000000
--- a/graphics/p5-Geo-GDAL/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1652122597
-SHA256 (gdal-3.4.3.tar.xz) = 02a27b35899e1c4c3bcb6007da900128ddd7e8ab7cd6ccfecf338a301eadad5a
-SIZE (gdal-3.4.3.tar.xz) = 13275504
diff --git a/graphics/p5-Geo-GDAL/pkg-descr b/graphics/p5-Geo-GDAL/pkg-descr
deleted file mode 100644
index 4af55d5ca46d..000000000000
--- a/graphics/p5-Geo-GDAL/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This port is the Perl binding for GDAL (Geospatial Data Abstraction Library).
-
-WWW: https://gdal.org/
diff --git a/graphics/p5-Geo-GDAL/pkg-plist b/graphics/p5-Geo-GDAL/pkg-plist
deleted file mode 100644
index 87413e3569f4..000000000000
--- a/graphics/p5-Geo-GDAL/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-%%SITE_ARCH%%/Geo/GDAL.pm
-%%SITE_ARCH%%/Geo/GDAL/Const.pm
-%%SITE_ARCH%%/Geo/GNM.pm
-%%SITE_ARCH%%/Geo/OGR.pm
-%%SITE_ARCH%%/Geo/OSR.pm
-%%SITE_ARCH%%/auto/Geo/GDAL/Const/Const.so
-%%SITE_ARCH%%/auto/Geo/GDAL/GDAL.so
-%%SITE_ARCH%%/auto/Geo/OGR/OGR.so
-%%SITE_ARCH%%/auto/Geo/OSR/OSR.so
-%%PERL5_MAN3%%/Geo::GDAL.3.gz