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 for GIS.
This commit is contained in:
parent
ef520591b1
commit
5dbfdfcae9
22 changed files with 719 additions and 0 deletions
16
postgis/DESCR
Normal file
16
postgis/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 for GIS.
|
||||
|
||||
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
|
64
postgis/Makefile
Normal file
64
postgis/Makefile
Normal file
|
@ -0,0 +1,64 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/03/18 23:07:31 daprice Exp $
|
||||
#
|
||||
|
||||
VERSION= 0.7.5
|
||||
PKGNAME= postgis-${VERSION}
|
||||
CATEGORIES= databases geography
|
||||
MASTER_SITES+= ${PGSQL_SITES:=source/v${DIST_VERS}/}
|
||||
MASTER_SITES+= http://postgis.refractions.net/
|
||||
|
||||
MAINTAINER= hdp@cs.nmsu.edu
|
||||
HOMEPAGE= http://postgis.refractions.net/
|
||||
COMMENT= Spatial database capabilities for PostgreSQL
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
# XXX - Override these so they work correctly with Makefile.common.
|
||||
# The last two don't really need changing, except that Makefile.common
|
||||
# uses .. rather than ../../databases; the former will not work from
|
||||
# arbitrary directories.
|
||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||
COMMON_FILESDIR= ${.CURDIR}/../../databases/postgresql/files
|
||||
PATCHDIR= ${.CURDIR}/../../databases/postgresql/patches
|
||||
|
||||
.include "../../databases/postgresql/Makefile.common"
|
||||
|
||||
# Add postgis to the postgresql distfile
|
||||
DISTFILES+= postgis-${VERSION}.tar.gz ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
# Only build the postgis contribted source
|
||||
BUILD_DIRS= ${WRKSRC}/contrib/postgis-${VERSION}
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
LIBDIR= ${PREFIX}/lib/postgresql
|
||||
DOCDIR= ${PREFIX}/share/doc/postgis
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/postgis
|
||||
HTMLDIR= ${PREFIX}/share/doc/html/postgis
|
||||
SQLDIR= ${PREFIX}/share/postgresql
|
||||
|
||||
# install postgis source within contrib directory
|
||||
pre-build:
|
||||
${MV} ${WRKDIR}/${PKGNAME} ${WRKSRC}/contrib
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLEDIR} ${HTMLDIR} ${SQLDIR}
|
||||
.for f in libpostgis.a libpostgis.so.0.7
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/$f ${LIBDIR}/$f
|
||||
.endfor
|
||||
${RM} -f ${LIBDIR}/libpostgis.so.0
|
||||
${RM} -f ${LIBDIR}/libpostgis.so
|
||||
${LN} -s libpostgis.so.0.7 ${LIBDIR}/libpostgis.so.0
|
||||
${LN} -s libpostgis.so.0.7 ${LIBDIR}/libpostgis.so
|
||||
.for f in postgis.sql postgis_undef.sql spatial_ref_sys.sql
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/$f ${SQLDIR}/$f
|
||||
.endfor
|
||||
.for f in pgsql2shp shp2pgsql
|
||||
${INSTALL_PROGRAM} ${BUILD_DIRS}/loader/$f ${PREFIX}/bin/$f
|
||||
.endfor
|
||||
${CP} -r ${BUILD_DIRS}/examples/* ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/README.postgis ${DOCDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/doc/postgis.xml ${DOCDIR}
|
||||
${CP} -r ${BUILD_DIRS}/doc/html/* ${HTMLDIR}
|
||||
|
||||
.include "../../databases/postgresql-lib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
45
postgis/PLIST
Normal file
45
postgis/PLIST
Normal file
|
@ -0,0 +1,45 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/18 23:07:32 daprice Exp $
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
lib/postgresql/libpostgis.a
|
||||
lib/postgresql/libpostgis.so
|
||||
lib/postgresql/libpostgis.so.0
|
||||
lib/postgresql/libpostgis.so.0.7
|
||||
share/doc/html/postgis/c18.html
|
||||
share/doc/html/postgis/c191.html
|
||||
share/doc/html/postgis/c282.html
|
||||
share/doc/html/postgis/c59.html
|
||||
share/doc/html/postgis/c664.html
|
||||
share/doc/html/postgis/index.html
|
||||
share/doc/html/postgis/style.css
|
||||
share/doc/html/postgis/x168.html
|
||||
share/doc/html/postgis/x184.html
|
||||
share/doc/html/postgis/x314.html
|
||||
share/doc/html/postgis/x398.html
|
||||
share/doc/html/postgis/x40.html
|
||||
share/doc/html/postgis/x439.html
|
||||
share/doc/html/postgis/x504.html
|
||||
share/doc/html/postgis/x534.html
|
||||
share/doc/html/postgis/x549.html
|
||||
share/doc/html/postgis/x648.html
|
||||
share/doc/html/postgis/x655.html
|
||||
share/doc/html/postgis/x777.html
|
||||
share/doc/html/postgis/x83.html
|
||||
share/doc/postgis/README.postgis
|
||||
share/doc/postgis/postgis.xml
|
||||
share/examples/postgis/ogc_test_suite/1_schema.sql
|
||||
share/examples/postgis/ogc_test_suite/2_queries.sql
|
||||
share/examples/postgis/ogc_test_suite/3_cleanup.sql
|
||||
share/examples/postgis/wkb_reader/Makefile
|
||||
share/examples/postgis/wkb_reader/README
|
||||
share/examples/postgis/wkb_reader/printwkb.inc
|
||||
share/examples/postgis/wkb_reader/readwkb.c
|
||||
share/postgresql/postgis.sql
|
||||
share/postgresql/postgis_undef.sql
|
||||
share/postgresql/spatial_ref_sys.sql
|
||||
@dirrm share/examples/postgis/wkb_reader
|
||||
@dirrm share/examples/postgis/ogc_test_suite
|
||||
@dirrm share/examples/postgis
|
||||
@dirrm share/doc/postgis
|
||||
@dirrm share/doc/html/postgis
|
||||
@unexec ${RMDIR} %D/share/postgresql 2>/dev/null || ${TRUE}
|
30
postgis/buildlink2.mk
Normal file
30
postgis/buildlink2.mk
Normal file
|
@ -0,0 +1,30 @@
|
|||
# $NetBSD: buildlink2.mk,v 1.1.1.1 2005/03/18 23:07:31 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.4.
|
||||
# XXX After this file as been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink[23].mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgis?= build
|
||||
|
||||
.if !defined(POSTGIS_BUILDLINK2_MK)
|
||||
POSTGIS_BUILDLINK2_MK= # defined
|
||||
|
||||
BUILDLINK_PACKAGES+= postgis
|
||||
BUILDLINK_DEPENDS.postgis?= postgis>=0.7.5
|
||||
BUILDLINK_PKGSRCDIR.postgis?= ../../wip/postgis
|
||||
|
||||
EVAL_PREFIX+= BUILDLINK_PREFIX.postgis=postgis
|
||||
BUILDLINK_PREFIX.postgis_DEFAULT= ${LOCALBASE}
|
||||
BUILDLINK_FILES.postgis+= lib/postgresql/libpostgis.*
|
||||
|
||||
.include "../../databases/postgresql-lib/buildlink2.mk"
|
||||
|
||||
BUILDLINK_TARGETS+= postgis-buildlink
|
||||
|
||||
postgis-buildlink: _BUILDLINK_USE
|
||||
|
||||
.endif # POSTGIS_BUILDLINK2_MK
|
30
postgis/buildlink3.mk
Normal file
30
postgis/buildlink3.mk
Normal file
|
@ -0,0 +1,30 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/18 23:07:31 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.4.
|
||||
# XXX After this file as been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink[23].mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgis?= build
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
POSTGIS_BUILDLINK3_MK:= ${POSTGIS_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= postgis
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgis}
|
||||
BUILDLINK_PACKAGES+= postgis
|
||||
|
||||
.if !empty(POSTGIS_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.postgis+= postgis>=0.7.5
|
||||
BUILDLINK_PKGSRCDIR.postgis?= ../../wip/postgis
|
||||
.endif # POSTGIS_BUILDLINK3_MK
|
||||
|
||||
.include "../../databases/postgresql-lib/buildlink3.mk"
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
14
postgis/distinfo
Normal file
14
postgis/distinfo
Normal file
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/03/18 23:07:31 daprice Exp $
|
||||
|
||||
SHA1 (postgis-0.7.5.tar.gz) = 7b3417790010dd3ce8bbcfc21ccab772107c3527
|
||||
Size (postgis-0.7.5.tar.gz) = 336368 bytes
|
||||
SHA1 (postgresql-7.3.6.tar.gz) = 5135ed429a22f8290eece18d67a459716a80871a
|
||||
Size (postgresql-7.3.6.tar.gz) = 11288430 bytes
|
||||
SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
|
||||
SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
|
||||
SHA1 (patch-ad) = d9e010b38855bf9f1d7b85404ea6770066831093
|
||||
SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559
|
||||
SHA1 (patch-af) = 8268b66b062f0228e73ecaf928104f0c9bdc02f5
|
||||
SHA1 (patch-ag) = 6d12184b8401e63b8a05c620beb27f28248c22da
|
||||
SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
|
||||
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
|
16
postgis74/DESCR
Normal file
16
postgis74/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 for GIS.
|
||||
|
||||
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
|
73
postgis74/Makefile
Normal file
73
postgis74/Makefile
Normal file
|
@ -0,0 +1,73 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/03/18 23:08:40 daprice Exp $
|
||||
#
|
||||
|
||||
VERSION= 0.8.2
|
||||
PKGNAME= postgis-${VERSION}
|
||||
CATEGORIES= databases geography
|
||||
MASTER_SITES+= ${PGSQL_SITES:=source/v${DIST_VERS}/}
|
||||
MASTER_SITES+= http://postgis.refractions.net/
|
||||
|
||||
MAINTAINER= hdp@cs.nmsu.edu
|
||||
HOMEPAGE= http://postgis.refractions.net/
|
||||
COMMENT= Spatial database capabilities for PostgreSQL
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
# XXX - Override these so they work correctly with Makefile.common.
|
||||
# The last two don't really need changing, except that Makefile.common
|
||||
# uses .. rather than ../../databases; the former will not work from
|
||||
# arbitrary directories.
|
||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||
COMMON_FILESDIR= ${.CURDIR}/../../databases/postgresql74/files
|
||||
PATCHDIR= ${.CURDIR}/../../databases/postgresql74/patches
|
||||
|
||||
.include "../../databases/postgresql74/Makefile.common"
|
||||
|
||||
USE_PERL5= YES
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
# Add postgis to the postgresql distfile
|
||||
DISTFILES+= postgis-${VERSION}.tar.gz ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
# Only build the postgis contribted source
|
||||
BUILD_DIRS= ${WRKSRC}/contrib/postgis-${VERSION}
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
LIBDIR= ${PREFIX}/lib/postgresql
|
||||
DOCDIR= ${PREFIX}/share//doc/postgis
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/postgis
|
||||
HTMLDIR= ${PREFIX}/share/doc/html/postgis
|
||||
SQLDIR= ${PREFIX}/share/postgresql
|
||||
|
||||
MAKE_ENV+= PROJ_DIR=${PREFIX}
|
||||
MAKE_ENV+= GEOS_DIR=${PREFIX}
|
||||
|
||||
# install postgis source within contrib directory
|
||||
pre-build:
|
||||
${MV} ${WRKDIR}/${PKGNAME} ${WRKSRC}/contrib
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLEDIR} ${HTMLDIR} ${SQLDIR}
|
||||
.for f in libpostgis.a libpostgis.so.0.8
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/$f ${LIBDIR}/$f
|
||||
.endfor
|
||||
${RM} -f ${LIBDIR}/libpostgis.so.0
|
||||
${RM} -f ${LIBDIR}/libpostgis.so
|
||||
${LN} -s libpostgis.so.0.8 ${LIBDIR}/libpostgis.so.0
|
||||
${LN} -s libpostgis.so.0.8 ${LIBDIR}/libpostgis.so
|
||||
.for f in postgis.sql postgis_undef.sql spatial_ref_sys.sql
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/$f ${SQLDIR}/$f
|
||||
.endfor
|
||||
.for f in pgsql2shp shp2pgsql
|
||||
${INSTALL_PROGRAM} ${BUILD_DIRS}/loader/$f ${PREFIX}/bin/$f
|
||||
.endfor
|
||||
${CP} -r ${BUILD_DIRS}/examples/* ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/README.postgis ${DOCDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/doc/postgis.xml ${DOCDIR}
|
||||
${CP} -r ${BUILD_DIRS}/doc/html/* ${HTMLDIR}
|
||||
|
||||
.include "../../wip/geos/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
.include "../../databases/postgresql74-lib/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
26
postgis74/PLIST
Normal file
26
postgis74/PLIST
Normal file
|
@ -0,0 +1,26 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/18 23:08:40 daprice Exp $
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
lib/postgresql/libpostgis.a
|
||||
lib/postgresql/libpostgis.so
|
||||
lib/postgresql/libpostgis.so.0
|
||||
lib/postgresql/libpostgis.so.0.8
|
||||
share/doc/html/postgis/style.css
|
||||
share/doc/postgis/README.postgis
|
||||
share/doc/postgis/postgis.xml
|
||||
share/examples/postgis/ogc_test_suite/1_schema.sql
|
||||
share/examples/postgis/ogc_test_suite/2_queries.sql
|
||||
share/examples/postgis/ogc_test_suite/3_cleanup.sql
|
||||
share/examples/postgis/ogc_test_suite/README
|
||||
share/examples/postgis/wkb_reader/Makefile
|
||||
share/examples/postgis/wkb_reader/README
|
||||
share/examples/postgis/wkb_reader/printwkb.inc
|
||||
share/examples/postgis/wkb_reader/readwkb.c
|
||||
share/postgresql/postgis.sql
|
||||
share/postgresql/postgis_undef.sql
|
||||
share/postgresql/spatial_ref_sys.sql
|
||||
@dirrm share/examples/postgis/wkb_reader
|
||||
@dirrm share/examples/postgis/ogc_test_suite
|
||||
@dirrm share/examples/postgis
|
||||
@dirrm share/doc/postgis
|
||||
@dirrm share/doc/html/postgis
|
34
postgis74/buildlink2.mk
Normal file
34
postgis74/buildlink2.mk
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $NetBSD: buildlink2.mk,v 1.1.1.1 2005/03/18 23:08:40 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.4.
|
||||
# XXX After this file as been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink[23].mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgis?= build
|
||||
|
||||
.if !defined(POSTGIS_BUILDLINK2_MK)
|
||||
POSTGIS_BUILDLINK2_MK= # defined
|
||||
|
||||
BUILDLINK_PACKAGES+= postgis
|
||||
BUILDLINK_DEPENDS.postgis?= postgis>=0.8.2
|
||||
BUILDLINK_PKGSRCDIR.postgis?= ../../wip/postgis74
|
||||
|
||||
EVAL_PREFIX+= BUILDLINK_PREFIX.postgis=postgis
|
||||
BUILDLINK_PREFIX.postgis_DEFAULT= ${LOCALBASE}
|
||||
BUILDLINK_FILES.postgis+= lib/postgresql/libpostgis.*
|
||||
|
||||
.include "../../wip/geos/buildlink2.mk"
|
||||
.include "../../misc/proj/buildlink2.mk"
|
||||
.include "../../databases/postgresql74-lib/buildlink2.mk"
|
||||
.include "../../devel/gettext-lib/buildlink2.mk"
|
||||
.include "../../devel/zlib/buildlink2.mk"
|
||||
|
||||
BUILDLINK_TARGETS+= postgis-buildlink
|
||||
|
||||
postgis-buildlink: _BUILDLINK_USE
|
||||
|
||||
.endif # POSTGIS_BUILDLINK2_MK
|
34
postgis74/buildlink3.mk
Normal file
34
postgis74/buildlink3.mk
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/18 23:08:40 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.4.
|
||||
# XXX After this file as been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink[23].mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgis?= build
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
POSTGIS_BUILDLINK3_MK:= ${POSTGIS_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= postgis
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgis}
|
||||
BUILDLINK_PACKAGES+= postgis
|
||||
|
||||
.if !empty(POSTGIS_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.postgis+= postgis>=0.8.2
|
||||
BUILDLINK_PKGSRCDIR.postgis?= ../../wip/postgis74
|
||||
.endif # POSTGIS_BUILDLINK3_MK
|
||||
|
||||
.include "../../wip/geos/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
.include "../../databases/postgresql74-lib/buildlink3.mk"
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
15
postgis74/distinfo
Normal file
15
postgis74/distinfo
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/03/18 23:08:40 daprice Exp $
|
||||
|
||||
SHA1 (postgis-0.8.2.tar.gz) = bfccfddca9f304337bd035421c54dcaaa6971eaa
|
||||
RMD160 (postgis-0.8.2.tar.gz) = 7f23c5603f99c6460e8b972dc0f197a3e7839ba6
|
||||
Size (postgis-0.8.2.tar.gz) = 1875280 bytes
|
||||
SHA1 (postgresql-7.4.7.tar.bz2) = 48fe9187ae1776265756b807254552b4f6bcfcb8
|
||||
RMD160 (postgresql-7.4.7.tar.bz2) = 1bbb64c8a9b95cafe0254a0994752b8bbb624346
|
||||
Size (postgresql-7.4.7.tar.bz2) = 10235394 bytes
|
||||
SHA1 (patch-aa) = 626b4b4bf0d47913072399535c55d413b90675a4
|
||||
SHA1 (patch-ab) = f44a544c56452bad197a88cb827e88624c54656c
|
||||
SHA1 (patch-ac) = 81ef677cc5d196762b6cc3c3e38dee4a37e75ac2
|
||||
SHA1 (patch-ad) = fae5e82e0943ea982c9d3aace290b56c6a7629f9
|
||||
SHA1 (patch-ae) = f0e0ad98ebdc972e7c40afd805fbb0d909d5ef3b
|
||||
SHA1 (patch-af) = 7373db75fda125b980f2ead990719798c0d22a48
|
||||
SHA1 (patch-ag) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
|
16
postgresql73-postgis/DESCR
Normal file
16
postgresql73-postgis/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 for GIS.
|
||||
|
||||
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
|
||||
and few more.....
|
64
postgresql73-postgis/Makefile
Normal file
64
postgresql73-postgis/Makefile
Normal file
|
@ -0,0 +1,64 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/03/18 23:11:03 daprice Exp $
|
||||
#
|
||||
|
||||
VERSION= 1.0.0-rc2
|
||||
PKGNAME= postgresql73-postgis-${VERSION}
|
||||
CATEGORIES= databases geography
|
||||
|
||||
MAINTAINER= mchittur@cs.nmsu.edu
|
||||
HOMEPAGE= http://postgis.refractions.net/
|
||||
COMMENT= Spatial database capabilities for PostgreSQL
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
# XXX - Override these so they work correctly with Makefile.common.
|
||||
# The last two don't really need changing, except that Makefile.common
|
||||
# uses .. rather than ../../databases; the former will not work from
|
||||
# arbitrary directories.
|
||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||
COMMON_FILESDIR= ${.CURDIR}/../../databases/postgresql73/files
|
||||
PATCHDIR= ${.CURDIR}/../../databases/postgresql73/patches
|
||||
|
||||
.include "../../databases/postgresql73/Makefile.common"
|
||||
|
||||
MASTER_SITES+= ${PGSQL_SITES:=source/v${DIST_VERS}/}
|
||||
MASTER_SITES+= http://postgis.refractions.net/
|
||||
|
||||
USE_PERL5= YES
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
PGSQL_VERSION_REQD= 73
|
||||
|
||||
# Add postgis to the postgresql distfile
|
||||
DISTFILES+= postgis-${VERSION}.tar.gz ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
# Only build the postgis contribted source
|
||||
BUILD_DIRS= ${WRKSRC}/contrib/postgis-${VERSION}
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
LIBDIR= ${PREFIX}/lib/postgresql
|
||||
DOCDIR= ${PREFIX}/share/doc/postgis
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/postgis
|
||||
HTMLDIR= ${PREFIX}/share/doc/html/postgis
|
||||
SQLDIR= ${PREFIX}/share/postgresql
|
||||
|
||||
MAKE_ENV+= PROJ_DIR=${PREFIX}
|
||||
MAKE_ENV+= GEOS_DIR=${PREFIX}
|
||||
|
||||
# install postgis source within contrib directory
|
||||
pre-build:
|
||||
${MV} ${WRKDIR}/postgis-${VERSION} ${WRKSRC}/contrib
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLEDIR} ${HTMLDIR} ${SQLDIR}
|
||||
cd ${BUILD_DIRS} && ${GMAKE} ${INSTALL}
|
||||
${CP} -r ${BUILD_DIRS}/examples/* ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/README.postgis ${DOCDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/doc/postgis.xml ${DOCDIR}
|
||||
${CP} -r ${BUILD_DIRS}/doc/html/* ${HTMLDIR}
|
||||
|
||||
.include "../../wip/geos2/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
.include "../../mk/pgsql.buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
28
postgresql73-postgis/PLIST
Normal file
28
postgresql73-postgis/PLIST
Normal file
|
@ -0,0 +1,28 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/18 23:11:03 daprice Exp $
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
lib/postgresql/liblwgeom.so
|
||||
lib/postgresql/liblwgeom.so.1
|
||||
lib/postgresql/liblwgeom.so.1.0
|
||||
share/doc/html/postgis/postgis.html
|
||||
share/doc/html/postgis/style.css
|
||||
share/doc/postgis/README.postgis
|
||||
share/doc/postgis/postgis.xml
|
||||
share/examples/postgis/ogc_test_suite/.cvsignore
|
||||
share/examples/postgis/ogc_test_suite/1_schema.sql
|
||||
share/examples/postgis/ogc_test_suite/2_queries.sql
|
||||
share/examples/postgis/ogc_test_suite/3_cleanup.sql
|
||||
share/examples/postgis/ogc_test_suite/Makefile
|
||||
share/examples/postgis/ogc_test_suite/README
|
||||
share/examples/postgis/wkb_reader/.cvsignore
|
||||
share/examples/postgis/wkb_reader/Makefile
|
||||
share/examples/postgis/wkb_reader/README
|
||||
share/examples/postgis/wkb_reader/printwkb.c
|
||||
share/examples/postgis/wkb_reader/readwkb.c
|
||||
share/examples/postgis/wkb_reader/wkbtest.h
|
||||
share/postgresql/lwpostgis.sql
|
||||
@dirrm share/examples/postgis/wkb_reader
|
||||
@dirrm share/examples/postgis/ogc_test_suite
|
||||
@dirrm share/examples/postgis
|
||||
@dirrm share/doc/postgis
|
||||
@dirrm share/doc/html/postgis
|
37
postgresql73-postgis/buildlink3.mk
Normal file
37
postgresql73-postgis/buildlink3.mk
Normal file
|
@ -0,0 +1,37 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/18 23:11:03 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.8.
|
||||
# XXX After this file has been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink3.mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgresql73-postgis-1.0.0?= build
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
POSTGRESQL73_POSTGIS_1.0.0_BUILDLINK3_MK:= ${POSTGRESQL73_POSTGIS_1.0.0_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= postgresql73-postgis-1.0.0
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql73-postgis-1.0.0}
|
||||
BUILDLINK_PACKAGES+= postgresql73-postgis-1.0.0
|
||||
|
||||
.if !empty(POSTGRESQL73_POSTGIS_1.0.0_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.postgresql73-postgis-1.0.0+= postgresql73-postgis-1.0.0>=rc2
|
||||
BUILDLINK_PKGSRCDIR.postgresql73-postgis-1.0.0?= ../../wip/postgresql73-postgis
|
||||
.endif # POSTGRESQL73_POSTGIS_1.0.0_BUILDLINK3_MK
|
||||
|
||||
# XXX
|
||||
# XXX Uncomment and keep only the buildlink3 lines below which are directly
|
||||
# XXX needed for dependencies to compile, link, and run. If this package
|
||||
# XXX provides a wrappered API or otherwise does not expose the APIs of the
|
||||
# XXX buildlink3 lines below to dependencies, remove them.
|
||||
# XXX
|
||||
.include "../../wip/geos2/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
19
postgresql73-postgis/distinfo
Normal file
19
postgresql73-postgis/distinfo
Normal file
|
@ -0,0 +1,19 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/03/18 23:11:03 daprice Exp $
|
||||
|
||||
SHA1 (postgis-1.0.0-rc2.tar.gz) = 20803fa5f21f88942054ccc42ca359652f3a004d
|
||||
RMD160 (postgis-1.0.0-rc2.tar.gz) = 70c50888acf60e1a308b98a3bddd414db09e1505
|
||||
Size (postgis-1.0.0-rc2.tar.gz) = 1270939 bytes
|
||||
SHA1 (postgresql-7.3.9.tar.gz) = 01481f3af507cb6b361bd71fc51c0fb8c06905da
|
||||
RMD160 (postgresql-7.3.9.tar.gz) = 61b97bd71cee3e107419598b75d0ec0734df2791
|
||||
Size (postgresql-7.3.9.tar.gz) = 11288172 bytes
|
||||
SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
|
||||
SHA1 (patch-ab) = d45df2da17b1ff67f5f82b4ff743afe350500786
|
||||
SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
|
||||
SHA1 (patch-ad) = a7bdfab69fdc9063d03adae7229f55ba356f2282
|
||||
SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559
|
||||
SHA1 (patch-af) = 8268b66b062f0228e73ecaf928104f0c9bdc02f5
|
||||
SHA1 (patch-ag) = 6d12184b8401e63b8a05c620beb27f28248c22da
|
||||
SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
|
||||
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
|
||||
SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
|
||||
SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
|
16
postgresql80-postgis/DESCR
Normal file
16
postgresql80-postgis/DESCR
Normal file
|
@ -0,0 +1,16 @@
|
|||
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 for GIS.
|
||||
|
||||
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
|
||||
and few more.....
|
66
postgresql80-postgis/Makefile
Normal file
66
postgresql80-postgis/Makefile
Normal file
|
@ -0,0 +1,66 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/03/18 23:12:51 daprice Exp $
|
||||
#
|
||||
|
||||
VERSION= 1.0.0-rc2
|
||||
PKGNAME= postgresql80-postgis-${VERSION}
|
||||
CATEGORIES= databases geography
|
||||
|
||||
MAINTAINER= mchittur@cs.nmsu.edu
|
||||
HOMEPAGE= http://postgis.refractions.net/
|
||||
COMMENT= Spatial database capabilities for PostgreSQL
|
||||
|
||||
CONFLICTS= postgis-[0-9]*
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
# XXX - Override these so they work correctly with Makefile.common.
|
||||
# The last two don't really need changing, except that Makefile.common
|
||||
# uses .. rather than ../../databases; the former will not work from
|
||||
# arbitrary directories.
|
||||
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||
COMMON_FILESDIR= ${.CURDIR}/../../databases/postgresql80/files
|
||||
PATCHDIR= ${.CURDIR}/../../databases/postgresql80/patches
|
||||
|
||||
.include "../../databases/postgresql80/Makefile.common"
|
||||
|
||||
MASTER_SITES+= ${PGSQL_SITES:=source/v${DIST_VERS}/}
|
||||
MASTER_SITES+= http://postgis.refractions.net/
|
||||
|
||||
USE_PERL5= YES
|
||||
USE_BUILDLINK3= YES
|
||||
|
||||
PGSQL_VERSION_REQD= 80
|
||||
|
||||
# Add postgis to the postgresql distfile
|
||||
DISTFILES+= postgis-${VERSION}.tar.gz ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
# Only build the postgis contribted source
|
||||
BUILD_DIRS= ${WRKSRC}/contrib/postgis-${VERSION}
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
LIBDIR= ${PREFIX}/lib/postgresql
|
||||
DOCDIR= ${PREFIX}/share/doc/postgis
|
||||
EXAMPLEDIR= ${PREFIX}/share/examples/postgis
|
||||
HTMLDIR= ${PREFIX}/share/doc/html/postgis
|
||||
SQLDIR= ${PREFIX}/share/postgresql
|
||||
|
||||
MAKE_ENV+= PROJ_DIR=${PREFIX}
|
||||
MAKE_ENV+= GEOS_DIR=${PREFIX}
|
||||
|
||||
# install postgis source within contrib directory
|
||||
pre-build:
|
||||
${MV} ${WRKDIR}/postgis-1.0.0-rc2 ${WRKSRC}/contrib
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLEDIR} ${HTMLDIR} ${SQLDIR}
|
||||
cd ${BUILD_DIRS} && ${GMAKE} ${INSTALL}
|
||||
${CP} -r ${BUILD_DIRS}/examples/* ${EXAMPLEDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/README.postgis ${DOCDIR}
|
||||
${INSTALL_DATA} ${BUILD_DIRS}/doc/postgis.xml ${DOCDIR}
|
||||
${CP} -r ${BUILD_DIRS}/doc/html/* ${HTMLDIR}
|
||||
|
||||
.include "../../wip/geos2/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
.include "../../mk/pgsql.buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
28
postgresql80-postgis/PLIST
Normal file
28
postgresql80-postgis/PLIST
Normal file
|
@ -0,0 +1,28 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/18 23:12:50 daprice Exp $
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
lib/postgresql/liblwgeom.so
|
||||
lib/postgresql/liblwgeom.so.1
|
||||
lib/postgresql/liblwgeom.so.1.0
|
||||
share/doc/html/postgis/postgis.html
|
||||
share/doc/html/postgis/style.css
|
||||
share/doc/postgis/README.postgis
|
||||
share/doc/postgis/postgis.xml
|
||||
share/examples/postgis/ogc_test_suite/.cvsignore
|
||||
share/examples/postgis/ogc_test_suite/1_schema.sql
|
||||
share/examples/postgis/ogc_test_suite/2_queries.sql
|
||||
share/examples/postgis/ogc_test_suite/3_cleanup.sql
|
||||
share/examples/postgis/ogc_test_suite/Makefile
|
||||
share/examples/postgis/ogc_test_suite/README
|
||||
share/examples/postgis/wkb_reader/.cvsignore
|
||||
share/examples/postgis/wkb_reader/Makefile
|
||||
share/examples/postgis/wkb_reader/README
|
||||
share/examples/postgis/wkb_reader/printwkb.c
|
||||
share/examples/postgis/wkb_reader/readwkb.c
|
||||
share/examples/postgis/wkb_reader/wkbtest.h
|
||||
share/postgresql/lwpostgis.sql
|
||||
@dirrm share/examples/postgis/wkb_reader
|
||||
@dirrm share/examples/postgis/ogc_test_suite
|
||||
@dirrm share/examples/postgis
|
||||
@dirrm share/doc/postgis
|
||||
@dirrm share/doc/html/postgis
|
39
postgresql80-postgis/buildlink3.mk
Normal file
39
postgresql80-postgis/buildlink3.mk
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/18 23:12:50 daprice Exp $
|
||||
# XXX
|
||||
# XXX This file was created automatically using createbuildlink-3.8.
|
||||
# XXX After this file has been verified as correct, the comment lines
|
||||
# XXX beginning with "XXX" should be removed. Please do not commit
|
||||
# XXX unverified buildlink3.mk files.
|
||||
# XXX
|
||||
# XXX Packages that only install static libraries or headers should
|
||||
# XXX include the following line:
|
||||
# XXX
|
||||
# XXX BUILDLINK_DEPMETHOD.postgresql80-postgis-1.0.0?= build
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
POSTGRESQL80_POSTGIS_1.0.0_BUILDLINK3_MK:= ${POSTGRESQL80_POSTGIS_1.0.0_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= postgresql80-postgis-1.0.0
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql80-postgis-1.0.0}
|
||||
BUILDLINK_PACKAGES+= postgresql80-postgis-1.0.0
|
||||
|
||||
.if !empty(POSTGRESQL80_POSTGIS_1.0.0_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.postgresql80-postgis-1.0.0+= postgresql80-postgis-1.0.0>=rc2
|
||||
BUILDLINK_PKGSRCDIR.postgresql80-postgis-1.0.0?= ../../wip/postgresql80-postgis
|
||||
.endif # POSTGRESQL80_POSTGIS_1.0.0_BUILDLINK3_MK
|
||||
|
||||
# XXX
|
||||
# XXX Uncomment and keep only the buildlink3 lines below which are directly
|
||||
# XXX needed for dependencies to compile, link, and run. If this package
|
||||
# XXX provides a wrappered API or otherwise does not expose the APIs of the
|
||||
# XXX buildlink3 lines below to dependencies, remove them.
|
||||
# XXX
|
||||
.include "../../wip/geos2/buildlink3.mk"
|
||||
.include "../../misc/proj/buildlink3.mk"
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
9
postgresql80-postgis/distinfo
Normal file
9
postgresql80-postgis/distinfo
Normal file
|
@ -0,0 +1,9 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/03/18 23:12:50 daprice Exp $
|
||||
|
||||
SHA1 (postgis-1.0.0-rc2.tar.gz) = 20803fa5f21f88942054ccc42ca359652f3a004d
|
||||
RMD160 (postgis-1.0.0-rc2.tar.gz) = 70c50888acf60e1a308b98a3bddd414db09e1505
|
||||
Size (postgis-1.0.0-rc2.tar.gz) = 1270939 bytes
|
||||
SHA1 (postgresql-8.0.1.tar.bz2) = 42a16fe13a6271b1612fb0a9f41f7da0a2e307b6
|
||||
RMD160 (postgresql-8.0.1.tar.bz2) = 8aca3b38d2e37efe5ed1ff16e942daad2e486e1f
|
||||
Size (postgresql-8.0.1.tar.bz2) = 11049626 bytes
|
||||
SHA1 (patch-aa) = 20492216de0e5238a02b4cdd18c297731cf6462a
|
Loading…
Reference in a new issue