# -*- 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.3 v
github.tarball_from archive
revision            0

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  868467425c597b0e0222bb70ebc1a40a52ce4f53 \
                    sha256  91495906fc1008f0266579cb9277452d620646b3db15c15556a51980b7b2f8bd \
                    size    438097

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
}
