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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup cmake 1.0 |
---|
5 | |
---|
6 | name liblas |
---|
7 | version 1.8.1 |
---|
8 | revision 2 |
---|
9 | distname libLAS-${version}-src.tar |
---|
10 | use_bzip2 yes |
---|
11 | license BSD |
---|
12 | categories gis |
---|
13 | maintainers gmail.com:venabled |
---|
14 | platforms darwin |
---|
15 | description LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset |
---|
16 | |
---|
17 | long_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 | |
---|
23 | homepage http://www.liblas.org/index.html |
---|
24 | master_sites http://download.osgeo.org/liblas |
---|
25 | |
---|
26 | checksums rmd160 b397a8a1a108ea694f6fccbe8463636cff9a04d9 \ |
---|
27 | sha256 9adb4a98c63b461ed2bc82e214ae522cbd809cff578f28511122efe6c7ea4e76 |
---|
28 | |
---|
29 | distname libLAS-${version} |
---|
30 | |
---|
31 | patchfiles patch-gt_citation_cpp.diff |
---|
32 | configure.args-append \ |
---|
33 | -DWITH_GEOTIFF=ON \ |
---|
34 | -DWITH_GDAL=ON |
---|
35 | |
---|
36 | depends_lib-append port:boost \ |
---|
37 | port:gdal \ |
---|
38 | port:libgeotiff |
---|
39 | |
---|
40 | configure.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 |
---|
41 | configure.cmd cmake |
---|
42 | configure.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 | #} |
---|