pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql-postgis2 Import postgresql-postgi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7a15b90f2fc
branches: trunk
changeset: 639486:a7a15b90f2fc
user: gdt <gdt%pkgsrc.org@localhost>
date: Sun Sep 14 14:40:00 2014 +0000
description:
Import postgresql-postgis-2.1.3 as databases/postgresql-postgis2.
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.
diffstat:
databases/postgresql-postgis2/DESCR | 18 ++++++
databases/postgresql-postgis2/Makefile | 82 ++++++++++++++++++++++++++++
databases/postgresql-postgis2/PLIST | 83 +++++++++++++++++++++++++++++
databases/postgresql-postgis2/buildlink3.mk | 18 ++++++
databases/postgresql-postgis2/distinfo | 5 +
5 files changed, 206 insertions(+), 0 deletions(-)
diffs (226 lines):
diff -r c0f8811775f2 -r a7a15b90f2fc databases/postgresql-postgis2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/DESCR Sun Sep 14 14:40:00 2014 +0000
@@ -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.
diff -r c0f8811775f2 -r a7a15b90f2fc databases/postgresql-postgis2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/Makefile Sun Sep 14 14:40:00 2014 +0000
@@ -0,0 +1,82 @@
+# $NetBSD: Makefile,v 1.1 2014/09/14 14:40:00 gdt Exp $
+
+DISTNAME= postgis-2.1.3
+PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
+CATEGORIES= databases geography
+MASTER_SITES= http://download.osgeo.org/postgis/source/
+
+MAINTAINER= gdt%NetBSD.org@localhost
+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/2872
+# 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
+
+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"
diff -r c0f8811775f2 -r a7a15b90f2fc databases/postgresql-postgis2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/PLIST Sun Sep 14 14:40:00 2014 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/14 14:40:00 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--${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--${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--${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
diff -r c0f8811775f2 -r a7a15b90f2fc databases/postgresql-postgis2/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/buildlink3.mk Sun Sep 14 14:40:00 2014 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/14 14:40:00 gdt 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_PKGSRCDIR.postgresql-postgis?= ../../databases/postgresql-postgis
+
+PGSQL_VERSIONS_ACCEPTED= 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
diff -r c0f8811775f2 -r a7a15b90f2fc databases/postgresql-postgis2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql-postgis2/distinfo Sun Sep 14 14:40:00 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/14 14:40:00 gdt Exp $
+
+SHA1 (postgis-2.1.3.tar.gz) = 984bc23603af8c66f4f0b2d3aa7bb75b4c9e3191
+RMD160 (postgis-2.1.3.tar.gz) = d42d962a1bbc077faa3f8a5b6934fc3b84a96811
+Size (postgis-2.1.3.tar.gz) = 6881881 bytes
Home |
Main Index |
Thread Index |
Old Index