# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 109160 2013-08-08 19:30:51Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

name                liblas
version             1.7.0
license             BSD
categories          gis
maintainers         gmail.com:venabled
platforms           darwin
description         LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset

long_description \
    libLAS is a C/C++ library for reading and writing the very common LAS \
    LiDAR format. The ASPRS LAS format is a sequential binary format used to \
    store data from LiDAR sensors and by LiDAR processing software for data \
    interchange and archival.

homepage            http://www.liblas.org/index.html
master_sites        http://download.osgeo.org/liblas

checksums           rmd160  74642d8a2eb302458e7e829eab733ba409725f87 \
                    sha256  e6b30c4530fef283e680fac59b199e1be6b96994fb663d08fd12838eef928277

distname            libLAS-${version}

configure.args-append \
                    -DWITH_GEOTIFF=ON

depends_lib-append  port:boost \
                    port:gdal \
                    port:libgeotiff
