Date: Tue, 26 Sep 2017 17:51:47 +0000 (UTC) From: Palle Girgensohn <girgen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450685 - in head/databases: . pointcloud pointcloud/files Message-ID: <201709261751.v8QHplcA071112@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: girgen Date: Tue Sep 26 17:51:47 2017 New Revision: 450685 URL: https://svnweb.freebsd.org/changeset/ports/450685 Log: Add pointcloud to the ports tree A PostgreSQL extension for storing point cloud (LIDAR) data. PR: 221577 Added: head/databases/pointcloud/ head/databases/pointcloud/Makefile (contents, props changed) head/databases/pointcloud/distinfo (contents, props changed) head/databases/pointcloud/files/ head/databases/pointcloud/files/patch-CMakeLists.txt (contents, props changed) head/databases/pointcloud/files/patch-pgsql_pc__access.c (contents, props changed) head/databases/pointcloud/pkg-descr (contents, props changed) head/databases/pointcloud/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Tue Sep 26 17:44:24 2017 (r450684) +++ head/databases/Makefile Tue Sep 26 17:51:47 2017 (r450685) @@ -660,6 +660,7 @@ SUBDIR += phppgadmin SUBDIR += pldebugger SUBDIR += plpgsql_check + SUBDIR += pointcloud SUBDIR += postgis-jdbc SUBDIR += postgis20 SUBDIR += postgis21 Added: head/databases/pointcloud/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/Makefile Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,28 @@ +# Created by: lbartoletti <lbartoletti@tuxfamily.org> +# $FreeBSD$ + +PORTNAME= pointcloud +PORTVERSION= 1.0.1 +DISTVERSIONPREFIX= v +CATEGORIES= databases geography + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= LIDAR types for PostgreSQL + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +BUILD_DEPENDS= ${LOCALBASE}/include/laz-perf/las.hpp:archivers/lazperf +LIB_DEPENDS= libght.so:devel/libght + +USES= cmake pgsql +WANT_PGSQL= server +CMAKE_ARGS+= -DWITH_TESTS:BOOL=FALSE +CFLAGS+= -I${LOCALBASE}/include +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= pgpointcloud + +.include <bsd.port.mk> Added: head/databases/pointcloud/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/distinfo Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,3 @@ +TIMESTAMP = 1502912568 +SHA256 (pgpointcloud-pointcloud-v1.0.1_GH0.tar.gz) = 3fac2efe1263b0876c26fc77e28f3664b56aa1e142c92383f9eb5b828999d0e7 +SIZE (pgpointcloud-pointcloud-v1.0.1_GH0.tar.gz) = 281146 Added: head/databases/pointcloud/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/files/patch-CMakeLists.txt Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2015-08-09 08:58:06 UTC ++++ CMakeLists.txt +@@ -79,7 +79,7 @@ exec_program(${PG_CONFIG} ARGS --include + exec_program(${PG_CONFIG} ARGS --pkglibdir OUTPUT_VARIABLE PGSQL_PKGLIBDIR) + exec_program(${PG_CONFIG} ARGS --sharedir OUTPUT_VARIABLE PGSQL_SHAREDIR) + exec_program(${PG_CONFIG} ARGS --bindir OUTPUT_VARIABLE PGSQL_BINDIR) +-exec_program(${PG_CONFIG} ARGS --cppflags OUTPUT_VARIABLE PGSQL_CPPFLAGS) ++exec_program(${PG_CONFIG} ARGS --cflags OUTPUT_VARIABLE PGSQL_CFLAGS) + exec_program(${PG_CONFIG} ARGS --ldflags OUTPUT_VARIABLE PGSQL_LDFLAGS) + exec_program(${PG_CONFIG} ARGS --libs OUTPUT_VARIABLE PGSQL_LIBS) + +@@ -90,7 +90,7 @@ find_package (LibXml2 REQUIRED) + mark_as_advanced (CLEAR LIBXML2_INCLUDE_DIR) + mark_as_advanced (CLEAR LIBXML2_LIBRARIES) + include_directories (${LIBXML2_INCLUDE_DIR}) +- ++link_directories (${CMAKE_INSTALL_PREFIX}/lib) + + #------------------------------------------------------------------------------ Added: head/databases/pointcloud/files/patch-pgsql_pc__access.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/files/patch-pgsql_pc__access.c Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,11 @@ +--- pgsql/pc_access.c.orig 2015-08-09 08:58:06 UTC ++++ pgsql/pc_access.c +@@ -315,7 +315,7 @@ Datum pointcloud_agg_transfn(PG_FUNCTION + + if (fcinfo->context && IsA(fcinfo->context, AggState)) + { +- aggcontext = ((AggState *) fcinfo->context)->aggcontext; ++ aggcontext = ((AggState *) fcinfo->context)->aggcontexts; + } + else if (fcinfo->context && IsA(fcinfo->context, WindowAggState)) + { Added: head/databases/pointcloud/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/pkg-descr Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,3 @@ +A PostgreSQL extension for storing point cloud (LIDAR) data. + +WWW: https://github.com/pgpointcloud/pointcloud/ Added: head/databases/pointcloud/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pointcloud/pkg-plist Tue Sep 26 17:51:47 2017 (r450685) @@ -0,0 +1,5 @@ +lib/postgresql/pointcloud.so +share/postgresql/extension/pointcloud--1.0.1.sql +share/postgresql/extension/pointcloud.control +share/postgresql/extension/pointcloud_postgis--1.0.sql +share/postgresql/extension/pointcloud_postgis.control
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709261751.v8QHplcA071112>