# -*- 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 115441 2014-01-02 02:42:46Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               github 1.0

github.setup            tschaume ckon 0.6.1 v
categories              science
platforms               darwin
maintainers             the-huck.com:patrick
license                 MIT

description             automatic build tool for ROOT software

long_description        ckon is a C++ program/tool which automatically takes care \
                        of compilation, dictionary generation and linking of \
                        programs and libraries developed for data analyses within \
                        the CERN ROOT analysis framework. This includes parsing \
                        include headers to figure out which libraries the main \
                        programs need to be linked to. It uses automake/autoconf to \
                        be platform independent and GNU install compliant. \
                        In addition, m4 macros are automatically downloaded and \
                        the according compiler flags included based on a list of boost \
                        libraries provided in the config file. For the purpose of \
                        YAML database usage, a m4 macro can be downloaded during \
                        setup to link against the yaml-cpp library.

homepage                http://tschaume.github.io/ckon/

checksums               rmd160  f579cc0cacac0fb5209c429f3b710f89bda3f729 \
                        sha256  5bd0a03bd2f915c998028f7a46f30e052c13048dffc2c63138a8a5a98410bf99

depends_lib             port:boost \
                        port:curl

use_autoreconf          yes
autoreconf.args         -fvi

configure.args-append   --disable-silent-rules \
                        --with-boost \
                        --with-boost-filesystem \
                        --with-boost-system \
                        --with-boost-regex \
                        --with-boost-program-options
