Ticket #57211: liblas.Portfile

File liblas.Portfile, 1.9 KB (added by stanimura, 6 years ago)
Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           cmake 1.0
5
6name                liblas
7version             1.8.1
8revision            2
9distname            libLAS-${version}-src.tar
10use_bzip2           yes
11license             BSD
12categories          gis
13maintainers         gmail.com:venabled
14platforms           darwin
15description         LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset
16
17long_description \
18    libLAS is a C/C++ library for reading and writing the very common LAS \
19    LiDAR format. The ASPRS LAS format is a sequential binary format used to \
20    store data from LiDAR sensors and by LiDAR processing software for data \
21    interchange and archival.
22
23homepage            http://www.liblas.org/index.html
24master_sites        http://download.osgeo.org/liblas
25
26checksums           rmd160  b397a8a1a108ea694f6fccbe8463636cff9a04d9 \
27                    sha256  9adb4a98c63b461ed2bc82e214ae522cbd809cff578f28511122efe6c7ea4e76
28
29distname            libLAS-${version}
30
31patchfiles          patch-gt_citation_cpp.diff
32configure.args-append \
33                    -DWITH_GEOTIFF=ON \
34                    -DWITH_GDAL=ON
35
36depends_lib-append  port:boost \
37                    port:gdal \
38                    port:libgeotiff
39
40configure.dir           /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_liblas/liblas/work/libLAS-1.8.1/makefiles
41configure.cmd cmake
42configure.args {-G "Unix Makefiles" ../ }
43
44#post-destroot {
45#    exec install_name_tool -id ${prefix}/bin/Release/liblas.2.4.0.dylib ${destroot}${prefix}/lib/liblas.2.4.0.dylib
46#    exec install_name_tool -id ${prefix}/bin/Release/liblas_c.2.4.0.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
47#    exec install_name_tool -change "@rpath/liblas.3.dylib" ${prefix}/lib/liblas.3.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
48#}