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

bitbucket.setup     nwehr kick 0.1 v
categories          devel
platforms           any
maintainers         gmail.com:gtolemans
license             BSD
supported_archs     noarch

description         Kick provies C++ containers and algorithms for \
                    light-weight or embedded systems

long_description    The kick library provides containers with better \
                    performance and a smaller footprint compared to much \
                    larger libraries (STL, C++ Standard Library, boost). \
                    Header-only files also make it easy to import kick into \
                    any existing project.

checksums           rmd160  8d156432356464f98ead6e704b329a805b8c8255 \
                    sha256  59e155c3bc9cbf616c3c4b7f172aa487b4bbfba453f4d305129874bcddbda5ee \
                    size    12190

use_configure       no

build               {}

destroot {
    xinstall -m 0755 -d ${destroot}${prefix}/include/${name}/iostream
    xinstall -m 0755 -d ${destroot}${prefix}/include/${name}/algorithm
    xinstall -m 0755 -d ${destroot}${prefix}/include/${name}/smart_ptr

    xinstall -m 0755 {*}[glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/${name}
    xinstall -m 0755 {*}[glob ${worksrcpath}/iostream/*.h] ${destroot}${prefix}/include/${name}/iostream
    xinstall -m 0755 {*}[glob ${worksrcpath}/algorithm/*.h] ${destroot}${prefix}/include/${name}/algorithm
    xinstall -m 0755 {*}[glob ${worksrcpath}/smart_ptr/*.h] ${destroot}${prefix}/include/${name}/smart_ptr
}
