# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD: tags/RELEASE_11_0_0/archivers/laszip/Makefile 333280 2013-11-09 11:31:36Z wg $

PORTNAME=	laszip
PORTVERSION=	2.1.0
CATEGORIES=	archivers
MASTER_SITES=	http://download.osgeo.org/laszip/

MAINTAINER=	rhurlin@gwdg.de
COMMENT=	Library for lossless LAS compression

LICENSE=	LGPL3

GNU_CONFIGURE=	yes
USES=		cmake
USE_LDCONFIG=	yes

CMAKE_DEFS+=	-DCMAKE_USE_PTHREADS:BOOL=ON

post-install:
	@${LN} -s liblaszip.so.5.0.0 ${STAGEDIR}${PREFIX}/lib/liblaszip.so.5

.include <bsd.port.mk>
