From owner-svn-ports-head@freebsd.org Tue Sep 26 17:51:49 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 59221E12146; Tue, 26 Sep 2017 17:51:49 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2FAAE6F3A8; Tue, 26 Sep 2017 17:51:49 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8QHpmP3071119; Tue, 26 Sep 2017 17:51:48 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8QHplcA071112; Tue, 26 Sep 2017 17:51:47 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201709261751.v8QHplcA071112@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Tue, 26 Sep 2017 17:51:47 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: girgen X-SVN-Commit-Paths: in head/databases: . pointcloud pointcloud/files X-SVN-Commit-Revision: 450685 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 17:51:49 -0000 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 +# $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 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