summaryrefslogtreecommitdiff
path: root/databases/postgresql-postgis2/buildlink3.mk
diff options
context:
space:
mode:
authorgdt <gdt>2014-09-14 14:40:00 +0000
committergdt <gdt>2014-09-14 14:40:00 +0000
commit0aaf1743e18d106a8e77c337da0b5155ff6b3a31 (patch)
tree411d30ecf9c0b9638fb5d0f4971017a1a8674c24 /databases/postgresql-postgis2/buildlink3.mk
parent5e02c60bb35b8cde05e60c62d847d5c748a4c13b (diff)
downloadpkgsrc-0aaf1743e18d106a8e77c337da0b5155ff6b3a31.tar.gz
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 (limited to 'databases/postgresql-postgis2/buildlink3.mk')
-rw-r--r--databases/postgresql-postgis2/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/postgresql-postgis2/buildlink3.mk b/databases/postgresql-postgis2/buildlink3.mk
new file mode 100644
index 00000000000..698bf1bae50
--- /dev/null
+++ b/databases/postgresql-postgis2/buildlink3.mk
@@ -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