# -*- 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        gflags gflags 2.2.2 v
revision            4

categories          devel
maintainers         nomaintainer
license             BSD
description         commandline flags module for C++
long_description    The gflags package contains a library that implements commandline flags processing. \
                    As such it's a replacement for getopt(). It has increased flexibility, \
                    including built-in support for C++ types like string, and the ability \
                    to define flags in the source file in which they're used.

checksums           rmd160  9748753d2cf4d581cd0881bd5f5c1e3dac365896 \
                    sha256  660b2cd42849d720f8b403c4e78b6e16bdd05c9af33c0fdd19860c96d7b695c0 \
                    size    98723
github.tarball_from tarball

compiler.cxx_standard   2011

configure.args-append \
    -DBUILD_SHARED_LIBS=ON \
    -DBUILD_STATIC_LIBS=ON \
    -DGFLAGS_BUILD_gflags_LIB=ON \
    -DREGISTER_INSTALL_PREFIX=OFF
