# -*- 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

PortSystem              1.0
PortGroup               cmake 1.1
PortGroup               github 1.0

github.setup            openscenegraph VirtualPlanetBuilder 0.9.13 VirtualPlanetBuilder-
revision                7
checksums               rmd160  078e0b0d99b8b985f2f10aff5aaa558968434fad \
                        sha256  0e23fc772ff348ea0be2b6f6468ee9f6f0e4c4c907581b4518313033e2777263 \
                        size    228406

maintainers             {ryandesign @ryandesign} openmaintainer
license                 wxWidgets-3
categories              graphics

description             terrain database creation tool

long_description        ${name} is a terrain database creation tool that can \
                        read a wide range of geospatial imagery and elevation \
                        data and scales from small-area terrain databases to \
                        massive whole-planet paged databases. These databases \
                        can be uploaded to the Internet to provide online \
                        GoogleEarth-style roaming of whole-planet databases, \
                        or kept on local disks for high-speed access for \
                        professional flight simulator applications.

github.tarball_from     archive

patchfiles              bool.patch \
                        BuildOptionsIO.cpp.patch \
                        CMakeLists.txt.patch \
                        DatabaseBuilderIO.cpp.patch \
                        Version.patch

depends_lib             port:gdal \
                        port:OpenSceneGraph

# gdal and OpenSceneGraph require C++11
compiler.cxx_standard   2011
configure.cxxflags-append \
                        -std=c++11
