/
Portfile
46 lines (37 loc) · 1.92 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- 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.5.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 d2721e2f0d2460cf3c819f917038e0ceb4c60dd0 \
sha256 e9ee64ead54e1942397ea5d6fcfd6ba928a888c1f4c127b11dec9fbadd283cc2 \
size 44670
build.pre_args-delete --frozen
destroot {
xinstall -m 0755 \
${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
${destroot}${prefix}/bin/
}