misc/lastools: Fix cmake build for laslib-config.cmake
PR: 261091
This commit is contained in:
parent
885796f15a
commit
e5cc987c91
@ -1,5 +1,6 @@
|
||||
PORTNAME= LAStools
|
||||
DISTVERSION= 2.0.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
DISTNAME= ${PORTNAME}
|
||||
@ -11,14 +12,16 @@ COMMENT= Efficient tools for LiDAR processing
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
USES= cmake zip
|
||||
USES= cmake:insource zip
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
|
||||
CONFLICTS_INSTALL= liblas
|
||||
|
||||
EXECUTABLES= lasindex las2txt las2las txt2las lasdiff lasinfo laszip lasmerge lasprecision
|
||||
|
||||
post-configure: # workaround for https://github.com/LAStools/LAStools/issues/108
|
||||
@${REINPLACE_CMD} -e '/laslib-config.cmake/,1d' ${BUILD_WRKSRC}/LASlib/src/cmake_install.cmake
|
||||
pre-install:
|
||||
${MV} ${WRKSRC}/LASlib/src/LASlib-config.cmake ${WRKSRC}/LASlib/src/laslib-config.cmake
|
||||
|
||||
post-install: # install executables, workaround for https://github.com/LAStools/LAStools/issues/120
|
||||
.for e in ${EXECUTABLES}
|
||||
|
@ -80,5 +80,6 @@ include/LASlib/laszip_common_v3.hpp
|
||||
include/LASlib/laszip_decompress_selective_v3.hpp
|
||||
include/LASlib/mydefs.hpp
|
||||
lib/LASlib/libLASlib.so
|
||||
lib/cmake/LASlib/laslib-config.cmake
|
||||
lib/cmake/LASlib/laslib-targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/LASlib/laslib-targets.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user