Commit 2835b937 authored by Loïc Bartoletti's avatar Loïc Bartoletti
Browse files

databases/postgis30: Remove expired port

databases/postgis30
parent a71f3a08
Loading
Loading
Loading
Loading
+1 −0
Changes for MOVED: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -8092,3 +8092,4 @@ x11-toolkits/wlroots-devel|x11-toolkits/wlroots|2023-11-21|Out of date: use x11-
games/suyimazu|games/mizuma|2023-11-22|Project renamed
www/dfileserver||2023-11-22|Has expired: Obsolete, consider using www/darkhttpd
devel/sdts++||2023-11-22|Has expired: Last upstream release was in 2003 and both MASTER_SITES and WWW are unreachable
databases/postgis30||2023-11-22|Removed
+0 −1
Changes for databases/Makefile: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -636,7 +636,6 @@
    SUBDIR += plpgsql_check
    SUBDIR += pointcloud
    SUBDIR += postgis-jdbc
    SUBDIR += postgis30
    SUBDIR += postgis31
    SUBDIR += postgis32
    SUBDIR += postgis33

databases/postgis30/Makefile

deleted100644 → 0
+0 −86
Changes for databases/postgis30/Makefile: 0 added lines, 86 removed lines.
Original line number Diff line number Diff line
PORTNAME=	postgis
PORTVERSION=	3.0.10
CATEGORIES=	databases geography
MASTER_SITES=	https://download.osgeo.org/postgis/source/
PKGNAMESUFFIX=	30

MAINTAINER=	lbartoletti@FreeBSD.org
COMMENT=	Geographic objects support for PostgreSQL databases
WWW=		https://postgis.net/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN=		pkg-static: postgresql15-client-15.4 conflicts with postgresql11-client-11.21 (installs files into the same place).  Problematic file: /usr/local/bin/clusterdb

LIB_DEPENDS=	libproj.so:graphics/proj \
		libgeos.so:graphics/geos \
		libjson-c.so:devel/json-c \
		libgdal.so:graphics/gdal

USES=		alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \
		localbase perl5 pkgconfig pgsql:11-14 shebangfix
USE_GNOME=	libxml2
USE_PERL5=	build

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION}
SHEBANG_FILES=	extensions/address_standardizer/*.pl raster/test/regress/*.pl \
		regress/run_test.pl \
		utils/postgis_restore.pl.in utils/*.pl
WANT_PGSQL=	server

OPTIONS_DEFINE=	ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU
OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU
OPTIONS_SUB=	yes

ADDRSTD_DESC=	Enable address standardizer
JSON_DESC=	Enable JSON support
LOADERGUI_DESC=	Enable shp2pgsql-gui
PROTOBUF_DESC=	Enable protocol buffers
RASTER_DESC=	Enable raster support
SFCGAL_DESC=	Enable sfcgal
TOPOLOGY_DESC=	Topology support
WAGYU_DESC=	Enable WAGYU support

ADDRSTD_CONFIGURE_WITH=		address-standardizer
ADDRSTD_LIB_DEPENDS=		libpcre.so:devel/pcre
ADDRSTD_VARS=			WANT_PGSQL+=contrib
JSON_CONFIGURE_WITH=		json
JSON_LIB_DEPENDS=		libjson-c.so:devel/json-c
LOADERGUI_CONFIGURE_WITH=	gui
LOADERGUI_USE=			GNOME=gtk20
NLS_CONFIGURE_WITH=		nls
NLS_USES=			gettext
PROTOBUF_CONFIGURE_WITH=	protobuf
PROTOBUF_LIB_DEPENDS=		libprotobuf-c.so:devel/protobuf-c
SFCGAL_CONFIGURE_WITH=		sfcgal=${LOCALBASE}/bin/sfcgal-config
SFCGAL_LIB_DEPENDS=		libSFCGAL.so:databases/sfcgal
TOPOLOGY_CONFIGURE_WITH=	topology
WAGYU_CONFIGURE_WITH=		wagyu

CONFLICTS_INSTALL=	postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so

VER=		${PORTVERSION:R}

PLIST_SUB=	PORTVERSION=${PORTVERSION} \
		VER=${VER}

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
	${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \
		${WRKSRC}/postgis/lwgeom_functions_basic.c \
		${WRKSRC}/postgis/lwgeom_geos.c
.endif

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so
	${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder
	(cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" )
	${MKDIR} ${STAGEDIR}${DATADIR}/utils
	(cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" )

.include <bsd.port.post.mk>

databases/postgis30/distinfo

deleted100644 → 0
+0 −3
Changes for databases/postgis30/distinfo: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
TIMESTAMP = 1690432191
SHA256 (postgis-3.0.9.tar.gz) = 8837054c829afcd2c9940ba02fbde6236685f490832b85e5034ed79d88d33c8a
SIZE (postgis-3.0.9.tar.gz) = 16877300

databases/postgis30/pkg-descr

deleted100644 → 0
+0 −13
Changes for databases/postgis30/pkg-descr: 0 added lines, 13 removed lines.
Original line number Diff line number Diff line
PostGIS adds support for geographic objects to the PostgreSQL
object-relational database. In effect, PostGIS "spatially enables"
the PostgreSQL server, allowing it to be used as a backend spatial
database for geographic information systems (GIS), much like ESRI's
SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS
"Simple Features Specification for SQL" and has been certified as
compliant with the "Types and Functions" profile.

PostGIS development was started by Refractions Research as a project
in open source spatial database technology. PostGIS is released
under the GNU General Public License. PostGIS continues to be
developed by a group of contributors led by a Project Steering
Committee and new features continue to be added.
Loading