# -*- 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 2026.11.13
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  5affc4eec4190bfbf9f503418258f15b98811c47 \
                    sha256  deb29cc1df1ff34618f2cd4b222295db68428c462d7526aed92bd13400019740 \
                    size    4348713

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/"
}
