Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 15:59:52 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340063 - in head/databases: . pgrouting
Message-ID:  <201401171559.s0HFxqmC052374@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Jan 17 15:59:52 2014
New Revision: 340063
URL: http://svnweb.freebsd.org/changeset/ports/340063
QAT: https://qat.redports.org/buildarchive/r340063/

Log:
  - Add new port databases/pgrouting
  
  pgRouting extends the PostGIS / PostgreSQL geospatial database to provide
  geospatial routing functionality.
  
  PR:		ports/185483
  Submitted by:	lbartoletti <coder@tuxfamily.org>

Added:
  head/databases/pgrouting/
  head/databases/pgrouting/Makefile   (contents, props changed)
  head/databases/pgrouting/distinfo   (contents, props changed)
  head/databases/pgrouting/pkg-descr   (contents, props changed)
  head/databases/pgrouting/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Fri Jan 17 15:57:51 2014	(r340062)
+++ head/databases/Makefile	Fri Jan 17 15:59:52 2014	(r340063)
@@ -572,6 +572,7 @@
     SUBDIR += pgpool-II-23
     SUBDIR += pgpool-II-30
     SUBDIR += pgpoolAdmin
+    SUBDIR += pgrouting
     SUBDIR += pgsphere
     SUBDIR += pgtcl
     SUBDIR += pgtop

Added: head/databases/pgrouting/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgrouting/Makefile	Fri Jan 17 15:59:52 2014	(r340063)
@@ -0,0 +1,52 @@
+# Created by: lbartoletti <coder@tuxfamily.org>
+# $FreeBSD$
+
+PORTNAME=	pgrouting
+PORTVERSION=	2.0.0
+CATEGORIES=	databases geography
+MASTER_SITES=	https://github.com/pgRouting/${PORTNAME}/archive/
+DISTFILES=	v${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER=	coder@tuxfamily.org
+COMMENT=	Extension to PostGIS to provide geospatial routing functionality
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libboost_system.so:${PORTSDIR}/devel/boost-libs\
+		libCGAL.so:${PORTSDIR}/math/cgal \
+		libgmp.so:${PORTSDIR}/math/gmp
+RUN_DEPENDS=	${LOCALBASE}/share/postgresql/contrib/postgis-2.1/postgis.sql:${PORTSDIR}/databases/postgis21
+
+USES=		cmake pkgconfig
+USE_PGSQL=	yes
+USE_LDCONFIG=	yes
+
+FETCH_ARGS=	-Fpr
+
+CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PGSQL_VER=	${DEFAULT_PGSQL_VER}
+
+.if ${PGSQL_VER} >= 91
+EXT_FILES=	pgrouting--2.0.0.sql \
+		pgrouting.control \
+		pgrouting_dd_legacy.sql \
+		pgrouting--2.0.0.sql.in \
+		pgrouting.sql \
+		pgrouting_legacy.sql
+PLIST_DIRSTRY+=	share/postgresql/extension
+.for f in ${EXT_FILES}
+PLIST_FILES+=	share/postgresql/extension/${f}
+.endfor
+.endif
+
+post-install:
+.if ${PGSQL_VER} >= 91
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/extension
+.for f in ${EXT_FILES}
+	${INSTALL_DATA} ${WRKSRC}/lib/${f} ${STAGEDIR}${PREFIX}/share/postgresql/extension/
+.endfor
+.endif
+
+.include <bsd.port.mk>

Added: head/databases/pgrouting/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgrouting/distinfo	Fri Jan 17 15:59:52 2014	(r340063)
@@ -0,0 +1,2 @@
+SHA256 (v2.0.0.tar.gz) = 606309e8ece04abec062522374b48179c16bddb30dd4c5080b89a4298e8d163b
+SIZE (v2.0.0.tar.gz) = 3765933

Added: head/databases/pgrouting/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgrouting/pkg-descr	Fri Jan 17 15:59:52 2014	(r340063)
@@ -0,0 +1,4 @@
+pgRouting extends the PostGIS / PostgreSQL geospatial database to provide
+geospatial routing functionality.
+
+WWW: http://pgrouting.org/

Added: head/databases/pgrouting/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgrouting/pkg-plist	Fri Jan 17 15:59:52 2014	(r340063)
@@ -0,0 +1,17 @@
+lib/postgresql/librouting.so
+lib/postgresql/librouting_bd.so
+lib/postgresql/librouting_dd.so
+lib/postgresql/librouting_ksp.so
+lib/postgresql/librouting_tsp.so
+share/postgresql/contrib/pgrouting-2.0/pgrouting.control
+share/postgresql/contrib/pgrouting-2.0/pgrouting.sql
+share/postgresql/contrib/pgrouting-2.0/pgrouting_dd_legacy.sql
+share/postgresql/contrib/pgrouting-2.0/pgrouting_legacy.sql
+share/postgresql/pgrouting--2.0.0.sql
+share/postgresql/pgrouting.control
+share/postgresql/pgrouting_dd_legacy.sql
+share/postgresql/pgrouting_legacy.sql
+@dirrmtry share/postgresql/contrib/pgrouting-2.0
+@dirrmtry share/postgresql/contrib
+@dirrmtry share/postgresql
+@dirrmtry lib/postgresql



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