git: e81caf8b3a82 - main - misc/lastools: Update g20181019 -> 2.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jan 2022 17:28:42 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e81caf8b3a82fb93844afb2234f8b783a1e44695
commit e81caf8b3a82fb93844afb2234f8b783a1e44695
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-09 17:27:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-09 17:28:40 +0000
misc/lastools: Update g20181019 -> 2.0.0
Changelog: https://github.com/LAStools/LAStools/blob/master/CHANGES.txt
PR: 261063
Submitted by: rhurlin@ (initial version)
---
misc/lastools/Makefile | 23 ++++++++------
misc/lastools/distinfo | 6 ++--
misc/lastools/pkg-plist | 84 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 100 insertions(+), 13 deletions(-)
diff --git a/misc/lastools/Makefile b/misc/lastools/Makefile
index 8bb58af15539..acf11a6513ca 100644
--- a/misc/lastools/Makefile
+++ b/misc/lastools/Makefile
@@ -1,26 +1,29 @@
PORTNAME= LAStools
-DISTVERSION= g20181019
-PORTREVISION= 1
+DISTVERSION= 2.0.0
CATEGORIES= misc
+MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME= ${PORTNAME}
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Efficient tools for LiDAR processing
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= compiler:c++11-lang gmake
-USE_GITHUB= yes
-GH_TAGNAME= 8ff2694
+USES= cmake zip
-BINARY_ALIAS= make=gmake g++=${CXX}
-
-PLIST_FILES= ${EXECUTABLES:S/^/bin\//}
+CMAKE_ON= BUILD_SHARED_LIBS
EXECUTABLES= lasindex las2txt las2las txt2las lasdiff lasinfo laszip lasmerge lasprecision
-do-install:
+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
+
+post-install: # install executables, workaround for https://github.com/LAStools/LAStools/issues/120
.for e in ${EXECUTABLES}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${e} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/${e}64 ${STAGEDIR}${PREFIX}/bin
+ ${MV} ${STAGEDIR}${PREFIX}/bin/${e}64 ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
.include <bsd.port.mk>
diff --git a/misc/lastools/distinfo b/misc/lastools/distinfo
index 86c0136222fd..06a33677241d 100644
--- a/misc/lastools/distinfo
+++ b/misc/lastools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540770649
-SHA256 (LAStools-LAStools-g20181019-8ff2694_GH0.tar.gz) = 5ea40630be54b84da06b83f67087a19be48c78de5dce3a41c96a469c018fd0c2
-SIZE (LAStools-LAStools-g20181019-8ff2694_GH0.tar.gz) = 46163475
+TIMESTAMP = 1641748773
+SHA256 (LAStools-2.0.0/LAStools.zip) = 6d8825cfbd757cf424d7343498fac2750d5d481dcc100350aa55524dfdcdc197
+SIZE (LAStools-2.0.0/LAStools.zip) = 78195494
diff --git a/misc/lastools/pkg-plist b/misc/lastools/pkg-plist
new file mode 100644
index 000000000000..c660fd1bfb54
--- /dev/null
+++ b/misc/lastools/pkg-plist
@@ -0,0 +1,84 @@
+bin/las2las
+bin/las2txt
+bin/lasdiff
+bin/lasindex
+bin/lasinfo
+bin/lasmerge
+bin/lasprecision
+bin/laszip
+bin/txt2las
+include/LASlib/arithmeticdecoder.hpp
+include/LASlib/arithmeticencoder.hpp
+include/LASlib/arithmeticmodel.hpp
+include/LASlib/bytestreamin.hpp
+include/LASlib/bytestreamin_array.hpp
+include/LASlib/bytestreamin_file.hpp
+include/LASlib/bytestreamin_istream.hpp
+include/LASlib/bytestreaminout.hpp
+include/LASlib/bytestreaminout_file.hpp
+include/LASlib/bytestreamout.hpp
+include/LASlib/bytestreamout_array.hpp
+include/LASlib/bytestreamout_file.hpp
+include/LASlib/bytestreamout_nil.hpp
+include/LASlib/bytestreamout_ostream.hpp
+include/LASlib/integercompressor.hpp
+include/LASlib/lasattributer.hpp
+include/LASlib/lasdefinitions.hpp
+include/LASlib/lasfilter.hpp
+include/LASlib/lasignore.hpp
+include/LASlib/lasindex.hpp
+include/LASlib/lasinterval.hpp
+include/LASlib/laskdtree.hpp
+include/LASlib/laspoint.hpp
+include/LASlib/lasquadtree.hpp
+include/LASlib/lasquantizer.hpp
+include/LASlib/lasreader.hpp
+include/LASlib/lasreader_asc.hpp
+include/LASlib/lasreader_bil.hpp
+include/LASlib/lasreader_bin.hpp
+include/LASlib/lasreader_dtm.hpp
+include/LASlib/lasreader_las.hpp
+include/LASlib/lasreader_ply.hpp
+include/LASlib/lasreader_qfit.hpp
+include/LASlib/lasreader_shp.hpp
+include/LASlib/lasreader_txt.hpp
+include/LASlib/lasreaderbuffered.hpp
+include/LASlib/lasreadermerged.hpp
+include/LASlib/lasreaderpipeon.hpp
+include/LASlib/lasreaderstored.hpp
+include/LASlib/lasreaditem.hpp
+include/LASlib/lasreaditemcompressed_v1.hpp
+include/LASlib/lasreaditemcompressed_v2.hpp
+include/LASlib/lasreaditemcompressed_v3.hpp
+include/LASlib/lasreaditemcompressed_v4.hpp
+include/LASlib/lasreaditemraw.hpp
+include/LASlib/lasreadpoint.hpp
+include/LASlib/lastransform.hpp
+include/LASlib/lasutility.hpp
+include/LASlib/lasvlr.hpp
+include/LASlib/lasvlrpayload.hpp
+include/LASlib/laswaveform13reader.hpp
+include/LASlib/laswaveform13writer.hpp
+include/LASlib/laswriteitem.hpp
+include/LASlib/laswriteitemcompressed_v1.hpp
+include/LASlib/laswriteitemcompressed_v2.hpp
+include/LASlib/laswriteitemcompressed_v3.hpp
+include/LASlib/laswriteitemcompressed_v4.hpp
+include/LASlib/laswriteitemraw.hpp
+include/LASlib/laswritepoint.hpp
+include/LASlib/laswriter.hpp
+include/LASlib/laswriter_bin.hpp
+include/LASlib/laswriter_las.hpp
+include/LASlib/laswriter_qfit.hpp
+include/LASlib/laswriter_txt.hpp
+include/LASlib/laswriter_wrl.hpp
+include/LASlib/laswritercompatible.hpp
+include/LASlib/laszip.hpp
+include/LASlib/laszip_common_v1.hpp
+include/LASlib/laszip_common_v2.hpp
+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-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/LASlib/laslib-targets.cmake