blob: 1ee1e989b4b0f01ed26d4091c15ee3cf078144fa (
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
|
PORTNAME= LAStools
DISTVERSION= 2.0.0
PORTREVISION= 1
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= cmake:insource zip
CMAKE_ON= BUILD_SHARED_LIBS
CONFLICTS_INSTALL= liblas
EXECUTABLES= lasindex las2txt las2las txt2las lasdiff lasinfo laszip lasmerge lasprecision
pre-install:
${MV} ${WRKSRC}/LASlib/src/LASlib-config.cmake ${WRKSRC}/LASlib/src/laslib-config.cmake
post-install: # strip the "64" suffix from executables
.for e in ${EXECUTABLES}
${MV} ${STAGEDIR}${PREFIX}/bin/${e}64 ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
.include <bsd.port.mk>
|