mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
98eb11b2f0
Changes: http://www.boost.org/users/history/version_1_65_1.html PR: 218835 Approved by: maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month) Tested by: jhibbits (on powerpc64, earlier version) Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D11582
87 lines
2.6 KiB
Makefile
87 lines
2.6 KiB
Makefile
# Created by: bart <coder@tuxfamily.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdal
|
|
PORTVERSION= 1.5.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= math databases graphics
|
|
|
|
MAINTAINER= lbartoletti@tuxfamily.org
|
|
COMMENT= Library for translating and manipulating point cloud data
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libgdal.so:graphics/gdal \
|
|
libgeos.so:graphics/geos \
|
|
libboost_thread.so:devel/boost-libs \
|
|
libcurl.so:ftp/curl \
|
|
libgeotiff.so:graphics/libgeotiff \
|
|
libxml2.so:textproc/libxml2 \
|
|
liblaszip.so:archivers/laszip \
|
|
libjsoncpp.so:devel/jsoncpp
|
|
|
|
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
|
|
|
|
CMAKE_ARGS+= -DWITH_LASZIP:BOOL=TRUE #Doesn't build without laszip. LASZIP is recommended
|
|
|
|
OPTIONS_DEFINE= BASH \
|
|
ICEBRIDGE PGPOINTCLOUD SQLITE MBIO \
|
|
PYTHON TESTS
|
|
OPTIONS_DEFAULT= PYTHON PGPOINTCLOUD SQLITE
|
|
#Option without port
|
|
#lazperf
|
|
#Plugins with lib not in port:
|
|
#RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin, NITF (nitro)
|
|
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
|
|
|
|
ICEBRIDGE_DESC= Enable Icebridge plugin
|
|
ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|
libsz.so:science/szip
|
|
ICEBRIDGE_CMAKE_ON= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=TRUE
|
|
ICEBRIDGE_CMAKE_OFF= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=FALSE
|
|
|
|
MBIO_DESC= Enable MBIO plugin
|
|
MBIO_CMAKE_ON= -DBUILD_PLUGIN_MBIO:BOOL=TRUE
|
|
MBIO_CMAKE_OFF= -DBUILD_PLUGIN_MBIO:BOOL=FALSE
|
|
|
|
BASH_DESC= BASH completion
|
|
BASH_CMAKE_ON= -DWITH_COMPLETION:BOOL=TRUE
|
|
BASH_RUN_DEPENDS= bash:shells/bash
|
|
BASH_CMAKE_OFF= -DWITH_COMPLETION:BOOL=FALSE
|
|
|
|
post-install-BASH-on:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/bash-completion/pdal \
|
|
${STAGEDIR}${PREFIX}/share/bash-completion/completions
|
|
|
|
.include <bsd.port.mk>
|