mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add postgis 0.8.2: adds support for geographic objects to
PostgreSQL databases. PR: 67765 Submitted by: Anderson Soares Ferreira
This commit is contained in:
parent
6ed02c850f
commit
9ffc708e2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111695
@ -207,6 +207,7 @@
|
||||
SUBDIR += php-sqlrelay
|
||||
SUBDIR += phpmyadmin
|
||||
SUBDIR += phppgadmin
|
||||
SUBDIR += postgis
|
||||
SUBDIR += postgresql-contrib
|
||||
SUBDIR += postgresql-devel
|
||||
SUBDIR += postgresql-docs
|
||||
|
48
databases/postgis/Makefile
Normal file
48
databases/postgis/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# New ports collection makefile for: PostGIS
|
||||
# Date created: June 09, 2004
|
||||
# Whom: Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= postgis
|
||||
PORTVERSION= 0.8.2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://postgis.refractions.net/
|
||||
DISTNAME= postgis-${PORTVERSION}
|
||||
|
||||
MAINTAINER= anderson@cnpm.embrapa.br
|
||||
COMMENT= Adds support for geographic objects to PostgreSQL databases
|
||||
|
||||
LIB_DEPENDS= proj.3:${PORTSDIR}/graphics/proj
|
||||
BUILD_DEPENDS= postmaster:${PORTSDIR}/databases/postgresql7
|
||||
RUN_DEPENDS= postmaster:${PORTSDIR}/databases/postgresql7
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_PERL5_BUILD= yes
|
||||
MAKE_ARGS= PGSQL_SRC=${PGSQL_SRC}
|
||||
|
||||
PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql7
|
||||
WRKSRC= ${WRKDIR}/postgis-${PORTVERSION}
|
||||
PGSQL_SRC= ${PGSQL_PORTDIR}/work/postgresql-7.4.2
|
||||
INSTALL_TARGET= install
|
||||
|
||||
.if defined(WITH_GEOS)
|
||||
LIB_DEPENDS+= geos.1:${PORTSDIR}/graphics/geos
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
@if [ ! -d ${PGSQL_SRC} ] ; then \
|
||||
${ECHO_MSG} "===> Extracting and configuring PostgreSQL source" ; \
|
||||
cd ${PGSQL_PORTDIR} ; \
|
||||
${MAKE} configure ; \
|
||||
fi
|
||||
|
||||
post-extract:
|
||||
.if ! defined(WITH_GEOS)
|
||||
@ ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig ; \
|
||||
${CAT} ${WRKSRC}/Makefile.orig | \
|
||||
${SED} "s|USE_GEOS=1|USE_GEOS=0|g" > ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/postgis/distinfo
Normal file
2
databases/postgis/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (postgis-0.8.2.tar.gz) = 0a2ed054e7a1ad74153eb844d1b56046
|
||||
SIZE (postgis-0.8.2.tar.gz) = 1875280
|
20
databases/postgis/pkg-descr
Normal file
20
databases/postgis/pkg-descr
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
||||
will be submitted for conformance testing at version 1.0.
|
||||
|
||||
PostGIS has been developed by Refractions Research Inc as a research project
|
||||
in open source spatial database technology. PostGIS is released under the
|
||||
GNU General Public License. We intend to continue development as time and
|
||||
resources permit. Our list of future projects includes enhanced technology
|
||||
for data loading and dumping, user interface tools for direct data access
|
||||
and manipulation, and support for advanced topologies at the server side,
|
||||
such as coverages, networks, and surfaces.
|
||||
|
||||
WWW: http://postgis.refractions.net/
|
||||
|
||||
Anderson
|
||||
anderson@cnpm.embrapa.br
|
10
databases/postgis/pkg-plist
Normal file
10
databases/postgis/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
bin/pgsql2shp
|
||||
bin/shp2pgsql
|
||||
lib/postgresql/libpostgis.so
|
||||
lib/postgresql/libpostgis.so.0
|
||||
share/postgresql/README.postgis
|
||||
share/postgresql/postgis.sql
|
||||
share/postgresql/postgis_undef.sql
|
||||
share/postgresql/spatial_ref_sys.sql
|
||||
@unexec rmdir %D/lib/postgresql 2>/dev/null || true
|
||||
@unexec rmdir %D/share/postgresql 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user