Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 19:37:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383240 - head/databases/postgis20
Message-ID:  <201504041937.t34JbKte024067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr  4 19:37:19 2015
New Revision: 383240
URL: https://svnweb.freebsd.org/changeset/ports/383240

Log:
  - Update to 2.0.7
  - Adjust option descriptions
  - Fix typo
  - Cosmetic change
  
  Changes:	http://trac.osgeo.org/postgis/browser/tags/2.0.7/NEWS

Modified:
  head/databases/postgis20/Makefile
  head/databases/postgis20/distinfo

Modified: head/databases/postgis20/Makefile
==============================================================================
--- head/databases/postgis20/Makefile	Sat Apr  4 19:12:41 2015	(r383239)
+++ head/databases/postgis20/Makefile	Sat Apr  4 19:37:19 2015	(r383240)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	postgis
-PORTVERSION=	2.0.6
-PORTREVISION=	2
+PORTVERSION=	2.0.7
 CATEGORIES=	databases geography
 MASTER_SITES=	http://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	20
@@ -18,21 +17,24 @@ LIB_DEPENDS=	libgeos.so:${PORTSDIR}/grap
 
 CONFLICTS_INSTALL=	postgis-1.* postgis-2.1.*
 
-OPTIONS_DEFINE=	LOADERGUI RASTER TOPOLOGY
+OPTIONS_DEFINE=	LOADERGUI NLS RASTER TOPOLOGY
 OPTIONS_DEFAULT=TOPOLOGY
 OPTIONS_SUB=	yes
 LOADERGUI_DESC=	Enable shp2pgsql-gui
-RASTER_DESC=	Build raster support
-TOPOLOGY_DESC=	Build topology support
+RASTER_DESC=	Raster support
+TOPOLOGY_DESC=	Topology support
 
+CONFIGURE_ARGS=	--with-geosconfig=${LOCALBASE}/bin/geos-config \
+		--with-jsondir=${LOCALBASE} \
+		--with-pgconfig=${LOCALBASE}/bin/pg_config \
+		--with-projdir=${LOCALBASE} \
+		--with-xml2config=${LOCALBASE}/bin/xml2-config \
+		${ICONV_CONFIGURE_ARG} ${ICONV_CONFIGURE_BASE}
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_PERL5=	build
-USES=		gmake iconv:wchar_t libtool perl5 pgsql shebangfix
+USES=		gmake iconv:wchar_t libtool perl5 pgsql pkgconfig shebangfix
 WANT_PGSQL=	server
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
@@ -46,9 +48,10 @@ SHEBANG_FILES=	astyle.sh \
 		raster/test/regress/testgdalraster \
 		utils/uninstall_script
 
-#LOADERGUI_CONFIGURE_OFF=--without-gui
-LOADERGUI_CONFIGURE_ON=	--with-gui
+LOADERGUI_CONFIGURE_WITH=	gui
 LOADERGUI_USE=		GNOME=gtk20
+NLS_CONFIGURE_WITH=	gettext
+NLS_USES=		gettext
 RASTER_CONFIGURE_OFF=	--without-raster
 RASTER_CONFIGURE_ON=	--with-gdalconfig=${LOCALBASE}/bin/gdal-config --with-raster
 RASTER_LIB_DEPENDS=	libgdal.so:${PORTSDIR}/graphics/gdal
@@ -57,14 +60,13 @@ TOPOLOGY_CONFIGURE_WITH=topology
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MRASTER} && ${OSVERSION} < 900033
-BROKEN=		Raster suppport is broken on FreeBSD < 9.x
+BROKEN=		Raster support is broken on FreeBSD 8.x
 .endif
 
 post-install:
-	${MKDIR} ${STAGEDIR}/${DATADIR}/tiger_2010/
-	(cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/)
-	${MKDIR} ${STAGEDIR}/${DATADIR}/utils/
-	(cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/utils/)
+	${MKDIR} ${STAGEDIR}/${DATADIR}/utils/ ${STAGEDIR}/${DATADIR}/tiger_2010/
+	cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/utils/
+	cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/
 	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* ${STAGEDIR}/${PREFIX}/lib/*.so ${STAGEDIR}/${PREFIX}/lib/postgresql/*.so
 
 .include <bsd.port.post.mk>

Modified: head/databases/postgis20/distinfo
==============================================================================
--- head/databases/postgis20/distinfo	Sat Apr  4 19:12:41 2015	(r383239)
+++ head/databases/postgis20/distinfo	Sat Apr  4 19:37:19 2015	(r383240)
@@ -1,2 +1,2 @@
-SHA256 (postgis-2.0.6.tar.gz) = 438fc9cf8d008c537ed2d6776bc30e726eb1f9a85247df945c2beccc42f33489
-SIZE (postgis-2.0.6.tar.gz) = 5651448
+SHA256 (postgis-2.0.7.tar.gz) = 35877fd5b591202941c2ae0a6f3fd84b0856649712f760375f17d9903c4c922a
+SIZE (postgis-2.0.7.tar.gz) = 5579719



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504041937.t34JbKte024067>