pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/postgresql81-postgis PostGIS adds support fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85ef5bb47768
branches:  trunk
changeset: 518611:85ef5bb47768
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Sep 14 17:02:40 2006 +0000

description:
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

Based on package in pkgsrc-wip by mchittur%cs.nmsu.edu@localhost.  Updated to
not require building in PG source dir now that postgresql81-client
installs the "server" include fies.

diffstat:

 geography/postgresql81-postgis/DESCR    |  18 ++++++++++++
 geography/postgresql81-postgis/Makefile |  48 +++++++++++++++++++++++++++++++++
 geography/postgresql81-postgis/PLIST    |  24 ++++++++++++++++
 geography/postgresql81-postgis/distinfo |   5 +++
 4 files changed, 95 insertions(+), 0 deletions(-)

diffs (111 lines):

diff -r 3c3791ee2a4e -r 85ef5bb47768 geography/postgresql81-postgis/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/postgresql81-postgis/DESCR      Thu Sep 14 17:02:40 2006 +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
+
diff -r 3c3791ee2a4e -r 85ef5bb47768 geography/postgresql81-postgis/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/postgresql81-postgis/Makefile   Thu Sep 14 17:02:40 2006 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/09/14 17:02:40 gdt Exp $
+
+DISTNAME=              postgis-${VERSION}
+VERSION=               1.1.3
+PKGNAME=               postgresql81-postgis-${VERSION}
+MASTER_SITES=          http://postgis.refractions.net/download/
+CATEGORIES=            databases geography
+
+MAINTAINER=            gdt%NetBSD.org@localhost
+HOMEPAGE=              http://postgis.refractions.net/
+COMMENT=               Spatial database capabilities for PostgreSQL
+
+# XXX Change to determine postgresql version dynamically.
+
+CONFLICTS=             postgis-[0-9]*
+
+GNU_CONFIGURE=         YES
+USE_TOOLS+=            gmake perl
+USE_LANGUAGES+=                c c++
+
+CONFIGURE_ARGS+=       --datadir=${PREFIX}/share/postgresql/contrib
+CONFIGURE_ARGS+=       --libdir=${PREFIX}/lib/postgresql
+
+DOCDIR=                ${PREFIX}/share/doc/postgis
+HTMLDIR=       ${PREFIX}/share/doc/html/postgis
+
+# Install is manual because distribution fails if docbook prereqs are not
+# satisfied, rather than using the prebuilt versions which are actually
+# in the distfile.
+do-install:
+       cd ${WRKSRC} && ${GMAKE} install
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA} ${BUILD_DIRS:Q}/README.postgis ${DOCDIR}
+       ${INSTALL_DATA} ${BUILD_DIRS:Q}/doc/postgis.xml ${DOCDIR}
+       ${INSTALL_DATA_DIR} ${HTMLDIR}
+       cd ${WRKSRC}/doc/html && ${PAX} -rw -pp *.html *.css ${HTMLDIR}
+
+# XXX Perhaps this should be run-depends only.
+DEPENDS+=      postgresql81-server>=8.1:../../databases/postgresql81-server
+
+.include "../../geography/geos/buildlink3.mk"
+.include "../../misc/proj/buildlink3.mk"
+# "server" includes are in the client package
+.include "../../databases/postgresql81-client/buildlink3.mk"
+# needed for docs, also pdfxmltex, db2pdf, jw
+#.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3c3791ee2a4e -r 85ef5bb47768 geography/postgresql81-postgis/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/postgresql81-postgis/PLIST      Thu Sep 14 17:02:40 2006 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/09/14 17:02:40 gdt Exp $
+bin/pgsql2shp
+bin/shp2pgsql
+lib/postgresql/liblwgeom.so
+lib/postgresql/liblwgeom.so.1
+lib/postgresql/liblwgeom.so.1.1
+share/doc/html/postgis/apa.html
+share/doc/html/postgis/ch01.html
+share/doc/html/postgis/ch02.html
+share/doc/html/postgis/ch03.html
+share/doc/html/postgis/ch04.html
+share/doc/html/postgis/ch05.html
+share/doc/html/postgis/ch06.html
+share/doc/html/postgis/ch07.html
+share/doc/html/postgis/index.html
+share/doc/html/postgis/style.css
+share/doc/postgis/README.postgis
+share/doc/postgis/postgis.xml
+share/postgresql/contrib/lwpostgis.sql
+share/postgresql/contrib/lwpostgis_upgrade.sql
+share/postgresql/contrib/spatial_ref_sys.sql
+@dirrm share/postgresql/contrib
+@dirrm share/doc/postgis
+@dirrm share/doc/html/postgis
diff -r 3c3791ee2a4e -r 85ef5bb47768 geography/postgresql81-postgis/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/postgresql81-postgis/distinfo   Thu Sep 14 17:02:40 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/09/14 17:02:40 gdt Exp $
+
+SHA1 (postgis-1.1.3.tar.gz) = 2c7cb03f2b47605437578afafcfbd99c7e66f5c6
+RMD160 (postgis-1.1.3.tar.gz) = 5754ee4d98e78f1f75798e345be3401a32c11113
+Size (postgis-1.1.3.tar.gz) = 1619568 bytes



Home | Main Index | Thread Index | Old Index