blob: bca268f624c8e065089771ff1234bad47f2a3231 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# Created by: bart <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= pdal
PORTVERSION= 1.1.0
CATEGORIES= math databases graphics
MAINTAINER= coder@tuxfamily.org
COMMENT= Library for translating and manipulating point cloud data
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \
libgeos.so:${PORTSDIR}/graphics/geos \
libboost_thread.so:${PORTSDIR}/devel/boost-libs
USES= cmake:outsource compiler:c++11-lib pathfix pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:tu}
GH_PROJECT= ${GH_ACCOUNT}
# Unhide std::to_string() to fix build with GCC (see ports/193528 for details).
CXXFLAGS+= -D_GLIBCXX_USE_C99
OPTIONS_DEFINE= GEOTIFF LIBXML2 LASZIP APPS BASH ATTRIBUTE \
ICEBRIDGE PGPOINTCLOUD SQLITE \
PYTHON TESTS
OPTIONS_DEFAULT= GEOTIFF LIBXML2 LASZIP APPS
#Plugins with lib not in port:
#RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin
OPTIONS_SUB= yes
PGPOINTCLOUD_DESC= Enable Coherent PostgreSQL Point Cloud plugin
PGPOINTCLOUD_CMAKE_ON= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=TRUE
PGPOINTCLOUD_USES= pgsql
PGPOINTCLOUD_CMAKE_OFF= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=FALSE
SQLITE_DESC= Enable SQLite plugin
SQLITE_CMAKE_ON= -DBUILD_PLUGIN_SQLITE:BOOL=TRUE
SQLITE_USES= sqlite
SQLITE_CMAKE_OFF= -DBUILD_PLUGIN_SQLITE:BOOL=FALSE
PYTHON_DESC= Enable Python plugin
PYTHON_CMAKE_ON= -DBUILD_PLUGIN_PYTHON:BOOL=TRUE
PYTHON_USES= python
PYTHON_BUILD_DEPENDS= ${PYNUMPY}
PYTHON_RUN_DEPENDS= ${PYNUMPY}
PYTHON_CMAKE_OFF= -DBUILD_PLUGIN_PYTHON:BOOL=FALSE
TESTS_DESC= Enable Tests
TESTS_CMAKE_ON= -DBUILD_PLUGIN_TESTS:BOOL=TRUE
TESTS_CMAKE_OFF= DBUILD_PLUGIN_TESTS:BOOL=FALSE
ATTRIBUTE_DESC= Enable attribute plugin
ATTRIBUTE_CMAKE_ON= -DBUILD_PLUGIN_ATTRIBUTE:BOOL=TRUE
ATTRIBUTE_CMAKE_OFF= -DBUILD_PLUGIN_ATTRIBUTE:BOOL=FALSE
ICEBRIDGE_DESC= Enable Icebridge plugin
ICEBRIDGE_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5
ICEBRIDGE_CMAKE_ON= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=TRUE
ICEBRIDGE_CMAKE_OFF= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=FALSE
APPS_DESC= PDAL command line application
APPS_CMAKE_ON= -DWITH_APPS:BOOL=TRUE
APPS_CMAKE_OFF= -DWITH_APPS:BOOL=FALSE
BASH_DESC= BASH completion
BASH_CMAKE_ON= -DWITH_BASH:BOOL=TRUE
BASH_RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
BASH_CMAKE_OFF= -DWITH_BASH:BOOL=FALSE
LASZIP_DESC= Enable LASZip support (Recommended)
LASZIP_LIB_DEPENDS= liblaszip.so:${PORTSDIR}/archivers/laszip
GEOTIFF_CMAKE_ON= -DWITH_GEOTIFF:BOOL=TRUE
GEOTIFF_LIB_DEPENDS= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff
GEOTIFF_CMAKE_OFF= -DWITH_GEOTIFF:BOOL=FALSE
LIBXML2_CMAKE_ON= -DWITH_LIBXML2:BOOL=TRUE
LIBXML2_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
LIBXML2_CMAKE_OFF= -DWITH_LIBXML2:BOOL=FALSE
.include <bsd.port.mk>
|