Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+18
View File
@@ -0,0 +1,18 @@
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/PostgreSQL includes the following functionality:
* Simple Features as defined by the OpenGIS Consortium (OGC)
* Support for Well-Known Text and Well-Known Binary representations of GIS
objects
* Fast spatial indexing using GiST
* Geospatial analysis functions
* PostgreSQL JDBC extension objects corresponding to the geometries
* Support for OGC access functions as defined by the Simple Features
Specification
This is postgis 2.x, the currently-maintained and recommended version.
+82
View File
@@ -0,0 +1,82 @@
# $NetBSD: Makefile,v 1.5 2015/03/18 10:20:13 jperkin Exp $
DISTNAME= postgis-2.1.4
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= databases geography
MASTER_SITES= http://download.osgeo.org/postgis/source/
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://postgis.net/
COMMENT= Spatial database capabilities for PostgreSQL
LICENSE= gnu-gpl-v2
DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
CONFLICTS= postgis-[0-9]*
# TODO section
# 1. File ticket upstream about make->$(MAKE) in doc/html/image_src/Makefile.
# 2. Update to upstream with fixes for:
# http://trac.osgeo.org/postgis/ticket/2909
# gmake complains about adding + to parent rule
MAKE_JOBS_SAFE= no
PGSQL_VERSIONS_ACCEPTED= 90 91 92 93 94
USE_GCC_RUNTIME= yes
USE_LANGUAGES= c c++ c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake lex pax perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib
BUILD_TARGET= all docs
INSTALL_TARGET= install docs-install
DOCDIR= ${PREFIX}/share/doc/postgis
SUBST_CLASSES+= paths
SUBST_FILES.paths= extras/template_gis/profile \
extras/template_gis/createdb.postgis.1 \
extras/template_gis/mktemplate_gis.1 \
extras/template_gis/postgis_env.sh.in
SUBST_VARS.paths+= PKG_SYSCONFDIR
SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS= ${DOCDIR} ${DOCDIR}/images ${PKGMANDIR}/man1
REPLACE_PERL+= utils/postgis_restore.pl.in
#MAKE_ENV+= PERL5=${PERL5:Q}
INSTALL_ENV+= mkinstalldirs=${INSTALL_DATA_DIR:Q}
TEST_TARGET= check
# TEST_DEPENDS
.include "../../devel/cunit/buildlink3.mk"
# DOC DEPENDS
CONFIGURE_ARGS+= -with-xsldir=${PREFIX}/share/xsl/docbook
# By default xsltproc downloads DTDs. postgis tells it not to, but
# the dependencies are not packaged. The timing option, not needed,
# is to make the variable non-empty, to work around a
# defined/non-empty incorrect test in postgis.
MAKE_ENV+= "XSLTPROCFLAGS=--timing"
# These are really all BUILD_DEPENDS.
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/docbook-xsl/buildlink3.mk"
# NORMAL DEPENDS
.include "../../geography/gdal-lib/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+86
View File
@@ -0,0 +1,86 @@
@comment $NetBSD: PLIST,v 1.2 2014/09/15 13:57:58 gdt Exp $
bin/pgsql2shp
bin/raster2pgsql
bin/shp2pgsql
include/liblwgeom.h
lib/liblwgeom-${PKGVERSION}.so
lib/liblwgeom.la
lib/postgresql/postgis-2.1.so
lib/postgresql/rtpostgis-2.1.so
share/postgresql/contrib/postgis-2.1/legacy.sql
share/postgresql/contrib/postgis-2.1/legacy_gist.sql
share/postgresql/contrib/postgis-2.1/legacy_minimal.sql
share/postgresql/contrib/postgis-2.1/postgis.sql
share/postgresql/contrib/postgis-2.1/postgis_comments.sql
share/postgresql/contrib/postgis-2.1/postgis_restore.pl
share/postgresql/contrib/postgis-2.1/postgis_upgrade_20_21.sql
share/postgresql/contrib/postgis-2.1/postgis_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/raster_comments.sql
share/postgresql/contrib/postgis-2.1/rtpostgis.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_legacy.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_upgrade_20_21.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/spatial_ref_sys.sql
share/postgresql/contrib/postgis-2.1/topology.sql
share/postgresql/contrib/postgis-2.1/topology_comments.sql
share/postgresql/contrib/postgis-2.1/topology_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/uninstall_legacy.sql
share/postgresql/contrib/postgis-2.1/uninstall_postgis.sql
share/postgresql/contrib/postgis-2.1/uninstall_rtpostgis.sql
share/postgresql/contrib/postgis-2.1/uninstall_sfcgal.sql
share/postgresql/contrib/postgis-2.1/uninstall_topology.sql
share/postgresql/extension/postgis--2.0.0--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.2--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.3--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.4--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.3--${PKGVERSION}.sql
share/postgresql/extension/postgis--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis--${PKGVERSION}.sql
share/postgresql/extension/postgis--${PKGVERSION}next--${PKGVERSION}.sql
share/postgresql/extension/postgis--unpackaged--${PKGVERSION}.sql
share/postgresql/extension/postgis.control
share/postgresql/extension/postgis_tiger_geocoder--2.0.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}next--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--unpackaged--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder.control
share/postgresql/extension/postgis_topology--2.0.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}next--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--unpackaged--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology.control
@pkgdir share/doc/postgis/images
@@ -0,0 +1,19 @@
# $NetBSD: buildlink3.mk,v 1.3 2015/03/18 10:20:13 jperkin Exp $
BUILDLINK_TREE+= postgresql-postgis
.if !defined(POSTGRESQL_POSTGIS_BUILDLINK3_MK)
POSTGRESQL_POSTGIS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.postgresql-postgis+= postgresql${PGSQL_VERSION}-postgis>=1.4
BUILDLINK_ABI_DEPENDS.postgresql-postgis?= postgresql93-postgis>=2.1.4nb2
BUILDLINK_PKGSRCDIR.postgresql-postgis?= ../../databases/postgresql-postgis
PGSQL_VERSIONS_ACCEPTED= 94 93 92 91 90
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.endif # POSTGRESQL_POSTGIS_BUILDLINK3_MK
BUILDLINK_TREE+= -postgresql-postgis
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2014/09/15 13:57:58 gdt Exp $
SHA1 (postgis-2.1.4.tar.gz) = 9c52b056f29e2f3dd7a9a8c38e2a7532cdfc6b60
RMD160 (postgis-2.1.4.tar.gz) = a72958390693a573716aede1de99cc13541a27ab
Size (postgis-2.1.4.tar.gz) = 6854492 bytes