1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/zola/Makefile
2021-09-19 11:03:23 +02:00

385 lines
8.1 KiB
Makefile

PORTNAME= zola
DISTVERSIONPREFIX= v
DISTVERSION= 0.14.1
PORTREVISION= 2
CATEGORIES= www
MAINTAINER= mikael@FreeBSD.org
COMMENT= Fast static site generator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libonig.so:devel/oniguruma \
libsass.so:textproc/libsass
USES= cargo ssl
USE_GITHUB= yes
GH_ACCOUNT= getzola
CARGO_CRATES= adler-1.0.2 \
adler32-1.2.0 \
ahash-0.3.8 \
aho-corasick-0.7.18 \
ammonia-3.1.2 \
ansi_term-0.11.0 \
any_ascii-0.1.7 \
arrayvec-0.4.12 \
arrayvec-0.5.2 \
assert-json-diff-2.0.1 \
atty-0.2.14 \
autocfg-1.0.1 \
base64-0.13.0 \
bincode-1.3.3 \
bitflags-1.3.2 \
block-buffer-0.7.3 \
block-buffer-0.9.0 \
block-padding-0.1.5 \
bstr-0.2.16 \
bumpalo-3.7.0 \
byte-tools-0.3.1 \
bytecount-0.3.2 \
bytecount-0.6.2 \
bytemuck-1.7.2 \
byteorder-1.4.3 \
bytes-0.4.12 \
bytes-1.0.1 \
cc-1.0.69 \
cedarwood-0.4.4 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chrono-0.4.19 \
chrono-tz-0.5.3 \
clap-2.33.3 \
color_quant-1.1.0 \
colored-2.0.0 \
core-foundation-0.9.1 \
core-foundation-sys-0.8.2 \
cpufeatures-0.1.5 \
crc32fast-1.2.1 \
crossbeam-channel-0.5.1 \
crossbeam-deque-0.8.1 \
crossbeam-epoch-0.9.5 \
crossbeam-utils-0.8.5 \
csv-1.1.6 \
csv-core-0.1.10 \
ctrlc-3.2.0 \
deflate-0.8.6 \
deunicode-0.4.3 \
difference-2.0.0 \
digest-0.8.1 \
digest-0.9.0 \
doc-comment-0.3.3 \
dtoa-0.4.8 \
either-1.6.1 \
elasticlunr-rs-2.3.13 \
encoding-0.2.33 \
encoding-index-japanese-1.20141219.5 \
encoding-index-korean-1.20141219.5 \
encoding-index-simpchinese-1.20141219.5 \
encoding-index-singlebyte-1.20141219.5 \
encoding-index-tradchinese-1.20141219.5 \
encoding_index_tests-0.1.4 \
encoding_rs-0.8.28 \
fake-simd-0.1.2 \
filetime-0.2.15 \
flate2-1.0.20 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.0.1 \
fsevent-0.4.0 \
fsevent-sys-2.0.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futf-0.1.4 \
futures-channel-0.3.16 \
futures-core-0.3.16 \
futures-io-0.3.16 \
futures-macro-0.3.16 \
futures-sink-0.3.16 \
futures-task-0.3.16 \
futures-util-0.3.16 \
generic-array-0.12.4 \
generic-array-0.14.4 \
getrandom-0.1.16 \
getrandom-0.2.3 \
gh-emoji-1.0.6 \
gif-0.11.2 \
glob-0.3.0 \
globset-0.4.8 \
globwalk-0.8.1 \
h2-0.3.4 \
hashbrown-0.8.2 \
hashbrown-0.11.2 \
heck-0.3.3 \
hermit-abi-0.1.19 \
html5ever-0.25.1 \
http-0.2.4 \
http-body-0.4.3 \
httparse-1.5.1 \
httpdate-1.0.1 \
humansize-1.1.1 \
hyper-0.14.11 \
hyper-rustls-0.22.1 \
hyper-tls-0.5.0 \
idna-0.2.3 \
ignore-0.4.18 \
image-0.23.14 \
indexmap-1.7.0 \
inotify-0.7.1 \
inotify-sys-0.1.5 \
iovec-0.1.4 \
ipnet-2.3.1 \
itoa-0.4.8 \
jieba-rs-0.5.1 \
jobserver-0.1.24 \
jpeg-decoder-0.1.22 \
js-sys-0.3.53 \
kernel32-sys-0.2.2 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
levenshtein_automata-0.1.1 \
lexical-core-0.7.6 \
lexical-sort-0.3.1 \
libc-0.2.100 \
libwebp-sys-0.2.0 \
lindera-0.3.5 \
lindera-core-0.3.3 \
lindera-dictionary-0.3.3 \
lindera-fst-0.1.1 \
lindera-ipadic-0.3.3 \
line-wrap-0.1.1 \
linked-hash-map-0.5.4 \
log-0.4.14 \
mac-0.1.1 \
maplit-1.0.2 \
markup5ever-0.10.1 \
markup5ever_rcdom-0.1.0 \
matches-0.1.9 \
memchr-2.4.1 \
memoffset-0.6.4 \
mime-0.3.16 \
mime_guess-2.0.3 \
minify-html-0.6.8 \
miniz_oxide-0.3.7 \
miniz_oxide-0.4.4 \
mio-0.6.23 \
mio-0.7.13 \
mio-extras-2.0.6 \
miow-0.2.2 \
miow-0.3.7 \
mockito-0.30.0 \
native-tls-0.2.8 \
net2-0.2.37 \
new_debug_unreachable-1.0.4 \
nix-0.22.0 \
nodrop-0.1.14 \
nom-5.1.2 \
nom-bibtex-0.3.0 \
nom-tracable-0.5.2 \
nom-tracable-macros-0.5.2 \
nom_locate-1.0.0 \
nom_locate-2.1.0 \
notify-4.0.17 \
ntapi-0.3.6 \
num-format-0.4.0 \
num-integer-0.1.44 \
num-iter-0.1.42 \
num-rational-0.3.2 \
num-traits-0.2.14 \
num_cpus-1.13.0 \
once_cell-1.8.0 \
onig-6.2.0 \
onig_sys-69.7.0 \
opaque-debug-0.2.3 \
opaque-debug-0.3.0 \
open-2.0.1 \
openssl-0.10.36 \
openssl-probe-0.1.4 \
openssl-sys-0.9.66 \
parse-zoneinfo-0.3.0 \
path-slash-0.1.4 \
pathdiff-0.2.0 \
percent-encoding-2.1.0 \
pest-2.1.3 \
pest_derive-2.1.0 \
pest_generator-2.1.3 \
pest_meta-2.1.3 \
phf-0.8.0 \
phf-0.10.0 \
phf_codegen-0.8.0 \
phf_generator-0.8.0 \
phf_shared-0.8.0 \
phf_shared-0.10.0 \
pin-project-lite-0.2.7 \
pin-utils-0.1.0 \
pkg-config-0.3.19 \
plist-1.2.1 \
png-0.16.8 \
ppv-lite86-0.2.10 \
precomputed-hash-0.1.1 \
proc-macro-hack-0.5.19 \
proc-macro-nested-0.1.7 \
proc-macro2-1.0.28 \
pulldown-cmark-0.8.0 \
quick-error-1.2.3 \
quote-1.0.9 \
rand-0.7.3 \
rand-0.8.4 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.5.1 \
rand_core-0.6.3 \
rand_hc-0.2.0 \
rand_hc-0.3.1 \
rand_pcg-0.2.1 \
rayon-1.5.1 \
rayon-core-1.9.1 \
redox_syscall-0.2.10 \
regex-1.5.4 \
regex-automata-0.1.10 \
regex-syntax-0.4.2 \
regex-syntax-0.6.25 \
relative-path-1.5.0 \
remove_dir_all-0.5.3 \
reqwest-0.11.4 \
ring-0.16.20 \
roxmltree-0.13.1 \
rust-stemmers-1.2.0 \
rustls-0.19.1 \
ryu-1.0.5 \
safemem-0.3.3 \
same-file-1.0.6 \
sass-rs-0.2.2 \
sass-sys-0.4.22 \
schannel-0.1.19 \
scoped_threadpool-0.1.9 \
scopeguard-1.1.0 \
sct-0.6.1 \
security-framework-2.3.1 \
security-framework-sys-2.3.0 \
serde-1.0.129 \
serde_derive-1.0.129 \
serde_json-1.0.66 \
serde_urlencoded-0.7.0 \
serde_yaml-0.8.19 \
sha-1-0.8.2 \
sha2-0.9.5 \
siphasher-0.3.6 \
slab-0.4.4 \
slotmap-1.0.5 \
slug-0.1.4 \
smallvec-1.6.1 \
socket2-0.4.1 \
spin-0.5.2 \
static_assertions-1.1.0 \
string_cache-0.8.1 \
string_cache_codegen-0.5.1 \
strsim-0.8.0 \
strum-0.21.0 \
strum_macros-0.21.1 \
svg_metadata-0.4.2 \
syn-1.0.75 \
syntect-4.6.0 \
tempfile-3.2.0 \
tendril-0.4.2 \
tera-1.12.1 \
termcolor-1.1.2 \
test-case-1.2.0 \
textwrap-0.11.0 \
thread_local-1.1.3 \
tiff-0.6.1 \
time-0.1.43 \
tinystr-0.3.4 \
tinyvec-1.3.1 \
tinyvec_macros-0.1.0 \
tokio-1.10.0 \
tokio-native-tls-0.3.0 \
tokio-rustls-0.22.0 \
tokio-util-0.6.7 \
toml-0.5.8 \
tower-service-0.3.1 \
tracing-0.1.26 \
tracing-core-0.1.19 \
try-lock-0.2.3 \
typenum-1.13.0 \
ucd-trie-0.1.3 \
unic-char-property-0.9.0 \
unic-char-range-0.9.0 \
unic-common-0.9.0 \
unic-langid-0.9.0 \
unic-langid-impl-0.9.0 \
unic-segment-0.9.0 \
unic-ucd-segment-0.9.0 \
unic-ucd-version-0.9.0 \
unicase-2.6.0 \
unicode-bidi-0.3.6 \
unicode-normalization-0.1.19 \
unicode-segmentation-1.8.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.2 \
untrusted-0.7.1 \
url-2.2.2 \
utf-8-0.7.6 \
utf8-ranges-1.0.4 \
vcpkg-0.2.15 \
vec_map-0.8.2 \
version_check-0.9.3 \
walkdir-2.3.2 \
want-0.3.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.10.2+wasi-snapshot-preview1 \
wasm-bindgen-0.2.76 \
wasm-bindgen-backend-0.2.76 \
wasm-bindgen-futures-0.4.26 \
wasm-bindgen-macro-0.2.76 \
wasm-bindgen-macro-support-0.2.76 \
wasm-bindgen-shared-0.2.76 \
web-sys-0.3.53 \
webp-0.1.3 \
webpki-0.21.4 \
webpki-roots-0.21.1 \
weezl-0.1.5 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winreg-0.7.0 \
ws-0.9.1 \
ws2_32-sys-0.2.1 \
xml-rs-0.8.4 \
xml5ever-0.16.1 \
xmlparser-0.13.3 \
yaml-rust-0.4.5
MAKE_ENV= CARGO_PROFILE_RELEASE_LTO=off
PLIST_FILES= bin/zola \
etc/bash_completion.d/zola.bash \
share/fish/completions/zola.fish \
share/zsh/site-functions/_zola
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/zola
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \
${STAGEDIR}${PREFIX}/share/fish/completions \
${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/completions/zola.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/completions/zola.fish \
${STAGEDIR}${PREFIX}/share/fish/completions
${INSTALL_DATA} ${WRKSRC}/completions/_zola \
${STAGEDIR}${PREFIX}/share/zsh/site-functions
post-install-DOCS-on:
@cd ${WRKSRC}/docs && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>