View | Details | Raw Unified | Return to bug 174620 | Differences between
and this patch

Collapse All | Expand All

(-)postgis.orig/Makefile (-17 / +68 lines)
Lines 1-34 Link Here
1
# $FreeBSD$
1
# New ports collection makefile for:	PostGIS
2
# Date created:		June 09, 2004
3
# Whom:			Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
4
#
5
# $FreeBSD: ports/databases/postgis/Makefile,v 1.66 2012/11/17 05:55:20 svnexp Exp $
6
#
2
7
3
PORTNAME=	postgis
8
PORTNAME=	postgis
4
PORTVERSION=	2.0.2
9
PORTVERSION=	1.5.3
5
PORTREVISION=	
10
PORTREVISION=	2
6
CATEGORIES=	databases geography
11
CATEGORIES=	databases geography
7
MASTER_SITES=	http://download.osgeo.org/postgis/source/
12
MASTER_SITES=	http://postgis.refractions.net/download/ \
13
 		http://www.postgis.org/download/
8
14
9
MAINTAINER=	matt.trisoline@intermedix.com
15
MAINTAINER=	anderson@cnpm.embrapa.br
10
COMMENT=	Adds support for geographic objects to PostgreSQL databases
16
COMMENT=	Adds support for geographic objects to PostgreSQL databases
11
17
18
LIB_DEPENDS=	proj.7:${PORTSDIR}/graphics/proj \
19
		geos.0:${PORTSDIR}/graphics/geos
12
RUN_DEPENDS=	postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
20
RUN_DEPENDS=	postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
13
LIB_DEPENDS=	geos:${PORTSDIR}/graphics/geos \
14
		proj:${PORTSDIR}/graphics/proj \
15
		json:${PORTSDIR}/devel/json-c \
16
		gdal:${PORTSDIR}/graphics/gdal
17
21
18
USE_GNOME=	libxml2
22
USE_BISON=	build
19
USE_ICONV=	yes
20
USE_PGSQL=	yes
23
USE_PGSQL=	yes
24
USE_GMAKE=	yes
25
USE_ICONV=	yes
21
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USE_PERL5_BUILD=	yes
28
29
OPTIONS=	LOADERGUI "Enable shp2pgsql-gui" Off
30
31
.include <bsd.port.options.mk>
32
33
INSTALL_TARGET=	install
34
35
GNU_CONFIGURE=	yes
36
.if defined(WITH_LOADERGUI)
37
USE_GNOME=	libxml2 gtk20
38
CONFIGURE_ARGS=	--with-projdir=${LOCALBASE} --with-gui
39
PLIST_SUB+=	LOADERGUI=""
40
.else
41
USE_GNOME=	libxml2
42
CONFIGURE_ARGS=	--with-projdir=${LOCALBASE}
43
PLIST_SUB+=	LOADERGUI="@comment "
44
.endif
22
45
23
CFLAGS+=	-I${LOCALBASE}/include
46
CFLAGS+=	-I${LOCALBASE}/include
24
LDFLAGS+=	-L${LOCALBASE}/lib
47
LDFLAGS+=	-L${LOCALBASE}/lib
48
MAKE_ENV=	DATADIR=${DATADIR} DOCSDIR=${DOCSDIR}
49
MAKE_JOBS_UNSAFE=	yes
25
50
26
CONFIGURE_ARGS=	--with-projdir=${LOCALBASE}
51
.include <bsd.port.pre.mk>
52
53
.if !defined(NOPORTDOCS)
54
BUILD_DEPENDS+=	xsltproc:${PORTSDIR}/textproc/libxslt \
55
		${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl
56
CONFIGURE_ARGS+=	--with-xsldir=${LOCALBASE}/share/xsl/docbook
57
MAN1=		pgsql2shp.1 shp2pgsql.1
58
PORTDOCS=	*
59
.else
60
MAKE_ARGS+=	NOPORTDOCS=yes
61
.endif
62
63
post-extract:
64
	@${REINPLACE_CMD} -e 's#@ICONV_LDFLAGS@#-liconv -L${LOCALBASE}/lib#g' \
65
		${WRKSRC}/loader/Makefile.in
66
67
post-patch:
68
	@${REINPLACE_CMD} -e 's#%PERL%#${PERL}#g' \
69
		${WRKSRC}/postgis/Makefile.in
27
70
28
post-install:
71
post-install:
29
	${MKDIR} ${DATADIR}/tiger_2010
72
	@${MKDIR} ${DATADIR}/utils
30
	(cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && ${COPYTREE_SHARE} \* ${DATADIR}/tiger_2010/)
73
	${INSTALL_SCRIPT} ${WRKSRC}/utils/create_undef.pl ${DATADIR}/utils/
31
	${MKDIR} ${DATADIR}/utils
74
	${INSTALL_SCRIPT} ${WRKSRC}/utils/new_postgis_restore.pl ${DATADIR}/utils/
32
	(cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} \* ${DATADIR}/utils/)
75
	${INSTALL_SCRIPT} ${WRKSRC}/utils/profile_intersects.pl ${DATADIR}/utils/
76
	${INSTALL_SCRIPT} ${WRKSRC}/utils/postgis_proc_upgrade.pl ${DATADIR}/utils/
77
	${INSTALL_SCRIPT} ${WRKSRC}/utils/test_estimation.pl ${DATADIR}/utils/
78
	${INSTALL_SCRIPT} ${WRKSRC}/utils/postgis_restore.pl ${DATADIR}/utils/
79
	${INSTALL_SCRIPT} ${WRKSRC}/utils/test_joinestimation.pl ${DATADIR}/utils/
80
	@${MKDIR} ${PREFIX}/lib/postgresql
81
	@${LN} -s ${PREFIX}/lib/postgresql/postgis-1.5.so ${PREFIX}/lib/postgresql/postgis.so
82
	@${LN} -s ${PREFIX}/lib/postgresql/postgis-1.5.so ${PREFIX}/lib/postgresql/liblwgeom.so.1
83
	@${LN} -s ${PREFIX}/lib/postgresql/postgis-1.5.so ${PREFIX}/lib/postgresql/liblwgeom.so
33
84
34
.include <bsd.port.mk>
85
.include <bsd.port.post.mk>
(-)postgis.orig/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (postgis-2.0.2.tar.gz) = 57746d040080e624f3e81633a180d8a5fc16b0c035d94fe2c16306023ab1c391
1
SHA256 (postgis-1.5.3.tar.gz) = a2334f8b229446c0497d48a430a40152a3b71a5da02f414a0340a0a025d416cf
2
SIZE (postgis-2.0.2.tar.gz) = 5573652
2
SIZE (postgis-1.5.3.tar.gz) = 3779956
(-)postgis.orig/pkg-descr (-10 / +15 lines)
Lines 1-12 Link Here
1
PostGIS adds support for geographic objects to the PostgreSQL object-relational database. 
1
PostGIS adds support for geographic objects to the PostgreSQL 
2
In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a 
2
object-relational database. In effect, PostGIS "spatially enables" 
3
backend spatial database for geographic information systems (GIS), much like ESRI's SDE or
3
the PostgreSQL server, allowing it to be used as a backend spatial 
4
Oracle's Spatial extension. PostGIS follows the OpenGIS "Simple Features Specification for
4
database for geographic information systems (GIS), much like ESRI's SDE 
5
SQL" and has been certified as compliant with the "Types and Functions" profile.
5
or Oracle's Spatial extension. 
6
PostGIS follows the OpenGIS "Simple Features Specification for SQL" and 
7
will be submitted for conformance testing at version 1.0.
6
8
7
PostGIS development was started by Refractions Research as a project in open source spatial
9
PostGIS has been developed by Refractions Research Inc as a research project 
8
database technology. PostGIS is released under the GNU General Public License. PostGIS 
10
in open source spatial database technology. PostGIS is released under the 
9
continues to be developed by a group of contributors led by a Project Steering Committee
11
GNU General Public License. We intend to continue development as time and 
10
and new features continue to be added. 
12
resources permit. Our list of future projects includes enhanced technology 
13
for data loading and dumping, user interface tools for direct data access 
14
and manipulation, and support for advanced topologies at the server side, 
15
such as coverages, networks, and surfaces.
11
16
12
WWW: http://postgis.org
17
WWW: http://postgis.refractions.net/
(-)postgis.orig/pkg-plist (-121 / +18 lines)
Lines 1-129 Link Here
1
bin/pgsql2shp
1
bin/pgsql2shp
2
bin/shp2pgsql
2
bin/shp2pgsql
3
lib/postgresql/postgis-2.0.so
3
%%LOADERGUI%%bin/shp2pgsql-gui
4
lib/postgresql/rtpostgis-2.0.so
4
lib/postgresql/liblwgeom.so
5
%%DATADIR%%/tiger_2010/README
5
lib/postgresql/liblwgeom.so.1
6
%%DATADIR%%/tiger_2010/census_loader.sql
6
lib/postgresql/postgis-1.5.so
7
%%DATADIR%%/tiger_2010/create_geocode.bat
7
lib/postgresql/postgis.so
8
%%DATADIR%%/tiger_2010/create_geocode.sh
8
%%DATADIR%%/contrib/postgis-1.5/postgis.sql
9
%%DATADIR%%/tiger_2010/create_geocode.sql
9
%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_13_to_15.sql
10
%%DATADIR%%/tiger_2010/geocode/rate_attributes.sql
10
%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_14_to_15.sql
11
%%DATADIR%%/tiger_2010/geocode/geocode.sql
11
%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_15_minor.sql
12
%%DATADIR%%/tiger_2010/geocode/census_tracts_functions.sql
12
%%DATADIR%%/contrib/postgis-1.5/spatial_ref_sys.sql
13
%%DATADIR%%/tiger_2010/geocode/other_helper_functions.sql
13
%%DATADIR%%/contrib/postgis-1.5/uninstall_postgis.sql
14
%%DATADIR%%/tiger_2010/geocode/geocode_address.sql
15
%%DATADIR%%/tiger_2010/geocode/geocode_intersection.sql
16
%%DATADIR%%/tiger_2010/geocode/includes_address.sql
17
%%DATADIR%%/tiger_2010/geocode/geocode_location.sql
18
%%DATADIR%%/tiger_2010/geocode/interpolate_from_address.sql
19
%%DATADIR%%/tiger_2010/geocode/reverse_geocode.sql
20
%%DATADIR%%/tiger_2010/legacy_import/tiger2008/import_tiger_shps.sh
21
%%DATADIR%%/tiger_2010/normalize/location_extract_countysub_exact.sql
22
%%DATADIR%%/tiger_2010/normalize/location_extract.sql
23
%%DATADIR%%/tiger_2010/normalize/location_extract_countysub_fuzzy.sql
24
%%DATADIR%%/tiger_2010/normalize/normalize_address.sql
25
%%DATADIR%%/tiger_2010/normalize/count_words.sql
26
%%DATADIR%%/tiger_2010/normalize/location_extract_place_exact.sql
27
%%DATADIR%%/tiger_2010/normalize/state_extract.sql
28
%%DATADIR%%/tiger_2010/normalize/end_soundex.sql
29
%%DATADIR%%/tiger_2010/normalize/location_extract_place_fuzzy.sql
30
%%DATADIR%%/tiger_2010/normalize/pprint_addy.sql
31
%%DATADIR%%/tiger_2010/normalize/get_last_words.sql
32
%%DATADIR%%/tiger_2010/regress/geocode_regress
33
%%DATADIR%%/tiger_2010/regress/normalize_address_regress
34
%%DATADIR%%/tiger_2010/regress/regress.sql
35
%%DATADIR%%/tiger_2010/regress/reverse_geocode_regress.sql
36
%%DATADIR%%/tiger_2010/regress/reverse_geocode_regress
37
%%DATADIR%%/tiger_2010/regress/geocode_regress.sql
38
%%DATADIR%%/tiger_2010/regress/normalize_address_regress.sql
39
%%DATADIR%%/tiger_2010/tables/lookup_tables_2010.sql
40
%%DATADIR%%/tiger_2010/tiger_loader.sql
41
%%DATADIR%%/tiger_2010/topology/tiger_topology_loader.sql
42
%%DATADIR%%/tiger_2010/topology/README
43
%%DATADIR%%/tiger_2010/upgrade_geocode.sql
44
%%DATADIR%%/tiger_2010/upgrade_geocoder.bat
45
%%DATADIR%%/tiger_2010/upgrade_geocoder.sh
46
%%DATADIR%%/tiger_2010/utility/utmzone.sql
47
%%DATADIR%%/tiger_2010/utility/levenshtein_ignore_case.sql
48
%%DATADIR%%/tiger_2010/utility/nullable_levenshtein.sql
49
%%DATADIR%%/tiger_2010/utility/cull_null.sql
50
%%DATADIR%%/utils/Makefile
51
%%DATADIR%%/utils/Makefile.in
52
%%DATADIR%%/utils/README
53
%%DATADIR%%/utils/create_undef.pl
14
%%DATADIR%%/utils/create_undef.pl
15
%%DATADIR%%/utils/new_postgis_restore.pl
54
%%DATADIR%%/utils/postgis_proc_upgrade.pl
16
%%DATADIR%%/utils/postgis_proc_upgrade.pl
55
%%DATADIR%%/utils/postgis_restore.pl
17
%%DATADIR%%/utils/postgis_restore.pl
56
%%DATADIR%%/utils/postgis_restore.pl.in
57
%%DATADIR%%/utils/profile_intersects.pl
18
%%DATADIR%%/utils/profile_intersects.pl
58
%%DATADIR%%/utils/read_scripts_version.pl
59
%%DATADIR%%/utils/svn_repo_revision.pl
60
%%DATADIR%%/utils/test_estimation.pl
19
%%DATADIR%%/utils/test_estimation.pl
61
%%DATADIR%%/utils/test_geography_estimation.pl
62
%%DATADIR%%/utils/test_geography_joinestimation.pl
63
%%DATADIR%%/utils/test_joinestimation.pl
20
%%DATADIR%%/utils/test_joinestimation.pl
64
%%DATADIR%%/utils/uninstall_script
21
@dirrmtry %%DATADIR%%/utils
65
share/postgresql/contrib/postgis-2.0/postgis_comments.sql
22
@dirrmtry %%DATADIR%%/contrib/postgis-1.5
66
share/postgresql/contrib/postgis-2.0/raster_comments.sql
23
@dirrmtry %%DATADIR%%/contrib
67
share/postgresql/contrib/postgis-2.0/topology_comments.sql
24
@dirrmtry %%DATADIR%%
68
share/postgresql/contrib/postgis-2.0/spatial_ref_sys.sql
25
@dirrmtry lib/postgresql
69
share/postgresql/contrib/postgis-2.0/postgis.sql
26
@dirrmtry lib
70
share/postgresql/contrib/postgis-2.0/uninstall_postgis.sql
71
share/postgresql/contrib/postgis-2.0/postgis_upgrade_20_minor.sql
72
share/postgresql/contrib/postgis-2.0/legacy.sql
73
share/postgresql/contrib/postgis-2.0/uninstall_legacy.sql
74
share/postgresql/contrib/postgis-2.0/legacy_minimal.sql
75
share/postgresql/contrib/postgis-2.0/legacy_gist.sql
76
share/postgresql/contrib/postgis-2.0/rtpostgis.sql
77
share/postgresql/contrib/postgis-2.0/rtpostgis_upgrade_20_minor.sql
78
share/postgresql/contrib/postgis-2.0/uninstall_rtpostgis.sql
79
share/postgresql/contrib/postgis-2.0/rtpostgis_legacy.sql
80
share/postgresql/contrib/postgis-2.0/topology.sql
81
share/postgresql/contrib/postgis-2.0/topology_upgrade_20_minor.sql
82
share/postgresql/contrib/postgis-2.0/uninstall_topology.sql
83
share/postgresql/contrib/postgis-2.0/postgis_restore.pl
84
share/postgresql/extension/postgis.control
85
share/postgresql/extension/postgis--2.0.0alpha3--2.0.2.sql
86
share/postgresql/extension/postgis--2.0.0alpha4--2.0.2.sql
87
share/postgresql/extension/postgis--2.0.1--2.0.2.sql
88
share/postgresql/extension/postgis--2.0.0alpha5--2.0.2.sql
89
share/postgresql/extension/postgis--2.0.0beta3--2.0.2.sql
90
share/postgresql/extension/postgis--2.0.0beta4--2.0.2.sql
91
share/postgresql/extension/postgis--2.0.0rc2--2.0.2.sql
92
share/postgresql/extension/postgis--2.0.0alpha6--2.0.2.sql
93
share/postgresql/extension/postgis--2.0.2.sql
94
share/postgresql/extension/postgis--2.0.0alpha1--2.0.2.sql
95
share/postgresql/extension/postgis--unpackaged--2.0.2.sql
96
share/postgresql/extension/postgis--2.0.0beta1--2.0.2.sql
97
share/postgresql/extension/postgis--2.0.0--2.0.2.sql
98
share/postgresql/extension/postgis--2.0.0beta2--2.0.2.sql
99
share/postgresql/extension/postgis--2.0.0rc1--2.0.2.sql
100
share/postgresql/extension/postgis--2.0.0alpha2--2.0.2.sql
101
share/postgresql/extension/postgis_topology.control
102
share/postgresql/extension/postgis_topology--2.0.0beta4--2.0.2.sql
103
share/postgresql/extension/postgis_topology--2.0.0alpha6--2.0.2.sql
104
share/postgresql/extension/postgis_topology--2.0.0alpha1--2.0.2.sql
105
share/postgresql/extension/postgis_topology--unpackaged--2.0.2.sql
106
share/postgresql/extension/postgis_topology--2.0.0beta2--2.0.2.sql
107
share/postgresql/extension/postgis_topology--2.0.2.sql
108
share/postgresql/extension/postgis_topology--2.0.0beta1--2.0.2.sql
109
share/postgresql/extension/postgis_topology--2.0.0--2.0.2.sql
110
share/postgresql/extension/postgis_topology--2.0.0rc1--2.0.2.sql
111
share/postgresql/extension/postgis_topology--2.0.0alpha2--2.0.2.sql
112
share/postgresql/extension/postgis_topology--2.0.0alpha3--2.0.2.sql
113
share/postgresql/extension/postgis_topology--2.0.0alpha4--2.0.2.sql
114
share/postgresql/extension/postgis_topology--2.0.1--2.0.2.sql
115
share/postgresql/extension/postgis_topology--2.0.0rc2--2.0.2.sql
116
share/postgresql/extension/postgis_topology--2.0.0alpha5--2.0.2.sql
117
share/postgresql/extension/postgis_topology--2.0.0beta3--2.0.2.sql
118
@dirrm share/postgresql/contrib/postgis-2.0
119
@dirrm share/postgis/tiger_2010/legacy_import/tiger2008
120
@dirrm share/postgis/tiger_2010/geocode
121
@dirrm share/postgis/tiger_2010/legacy_import
122
@dirrm share/postgis/tiger_2010/normalize
123
@dirrm share/postgis/tiger_2010/regress
124
@dirrm share/postgis/tiger_2010/tables
125
@dirrm share/postgis/tiger_2010/topology
126
@dirrm share/postgis/tiger_2010/utility
127
@dirrm share/postgis/tiger_2010
128
@dirrm share/postgis/utils
129
@dirrm share/postgis

Return to bug 174620