Bug 185483 - [NEW PORT] databases/pgrouting
Summary: [NEW PORT] databases/pgrouting
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 08:10 UTC by Loïc Bartoletti
Modified: 2014-01-17 16:10 UTC (History)
0 users

See Also:


Attachments
pgrouting.shar (2.71 KB, text/plain)
2014-01-05 08:10 UTC, Loïc Bartoletti
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2014-01-05 08:10:01 UTC
New port databases/pgrouting. pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.

Redports's logs :
https://redports.org/buildarchive/20140105065007-63242/
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-16 20:55:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-17 16:00:00 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-17 16:00:47 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!