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

github.setup        jeaye stdman 2024.07.05
github.tarball_from archive
categories          lang
supported_archs     noarch
platforms           any
license             CC-BY-SA-3 GFDL
maintainers         {makr @mohd-akram} openmaintainer

description         cppreference manpages

long_description    Manpages for the C++ standard library from cppreference.com.

checksums           rmd160  0e3969694d2b4c153a662bcb9bcc653c74be734a \
                    sha256  3cd652cb76c4fc7604c2b961a726788550c01065032bcff0a706b44f2eb0f75a \
                    size    4773622

use_configure       no

build {}

# This is much faster than the provided install script
destroot {
    system -W "${worksrcpath}" "cp man/*.3 ${destroot}${prefix}/share/man/man3/"
}
