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

github.setup        grego blades 0.6.0 v
github.tarball_from archive
revision            0

homepage            https://www.getblades.org

description         Blazing fast dead simple static site generator

long_description    \
    Blades is made to do one job and do it well - generate HTML files from \
    the provided content using the provided templates.  Thanks to the amazing \
    Ramhorns templating engine, zero-copy deserialisation and rayon parallel \
    iterators, it renders the whole site in milliseconds, possibly up to 10 \
    times faster than other generators like Hugo.  It's made for easy setup \
    and use. A static site generator should be a no brainer. It uses mustache \
    templates with extremely minimal and obvious syntax (really, like 7 \
    rules!), while providing the necessary building blocks to let you focus \
    on your content.  You may categorise your pages into taxonomies (like \
    categories or tags), use the usual features like pagination or \
    breadcrumbs and even generate image galleries.  Sitemap and RSS feed are \
    automatically rendered.  All done without hassle, faster than you blink.

categories          www
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           ${distname}${extract.suffix} \
                    rmd160  6d850c6ac7ff443376a2c022f337dc5c57cd6c91 \
                    sha256  6bcce947580243e83a9bf4d6ec4afbc7e6cd0c7541a16d904c7d4f1314036bd0 \
                    size    46168

build.pre_args-delete   --frozen

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
