# -*- 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        nanopass nanopass-framework-scheme 1.9.2 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1

name                nanopass-scheme
categories          scheme
platforms           any
supported_archs     noarch
license             MIT
maintainers         {makr @mohd-akram} openmaintainer

description         Nanopass Compiler Library

long_description    An R6RS version of the Nanopass Compiler Infrastructure.

checksums           rmd160  1375da2463971df6c11b52e3d5a2c040df9143de \
                    sha256  3103439690b6780e11ece26cdaccebdd144babe35b1e0d9aee7c538f20f8803e \
                    size    437596

use_configure       no

build {}

destroot {
    xinstall -d ${destroot}${prefix}/share/scheme/r6rs/nanopass
    xinstall -m 644 ${worksrcpath}/nanopass.ss ${destroot}${prefix}/share/scheme/r6rs
    xinstall -m 644 {*}[glob ${worksrcpath}/nanopass/*] ${destroot}${prefix}/share/scheme/r6rs/nanopass
}