# -*- 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           github 1.0
PortGroup           makefile 1.0

github.setup        ReneNyffenegger cpp-base64 2.rc.08 V
name                [string tolower ${github.project}]
revision            0
categories          devel
platforms           any
license             BSD
# https://github.com/ReneNyffenegger/cpp-base64/blob/master/LICENSE
maintainers         nomaintainer
description         base64 encoding and decoding with C++
long_description    {*}${description}

checksums           rmd160  1bc3938a79a94234a33cebeaf1d2814cad51f899 \
                    sha256  0a7ada789a99c2664437f1db8c38b60fe5815cf82b75bea0f0c08933c1317828 \
                    size    10247
github.tarball_from archive
supported_archs     noarch

compiler.cxx_standard   2011

build               { }

destroot {
    xinstall -d ${destroot}${prefix}/include/cpp-base64
    copy ${worksrcpath}/base64.h ${destroot}${prefix}/include/cpp-base64/
    # This is intended:
    copy ${worksrcpath}/base64.cpp ${destroot}${prefix}/include/cpp-base64/
}
