1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/www/zola/Makefile

342 lines
7.1 KiB
Makefile

# $FreeBSD$
PORTNAME= zola
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
PORTREVISION= 7
CATEGORIES= www
MAINTAINER= tobik@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= adler32-1.0.4 \
aho-corasick-0.7.8 \
ammonia-3.0.0 \
ansi_term-0.11.0 \
anyhow-1.0.26 \
assert-json-diff-1.0.1 \
atty-0.2.14 \
autocfg-0.1.7 \
autocfg-1.0.0 \
base64-0.10.1 \
base64-0.11.0 \
bincode-1.2.1 \
bitflags-1.2.1 \
block-buffer-0.7.3 \
block-padding-0.1.5 \
bstr-0.2.11 \
bumpalo-3.2.0 \
byte-tools-0.3.1 \
bytemuck-1.2.0 \
byteorder-1.3.4 \
bytes-0.4.12 \
bytes-0.5.4 \
c2-chacha-0.2.3 \
cc-1.0.50 \
cfg-if-0.1.10 \
chrono-0.4.10 \
chrono-tz-0.5.1 \
clap-2.33.0 \
cloudabi-0.0.3 \
color_quant-1.0.1 \
colored-1.9.2 \
core-foundation-0.6.4 \
core-foundation-sys-0.6.2 \
crc32fast-1.2.0 \
crossbeam-channel-0.4.0 \
crossbeam-deque-0.7.2 \
crossbeam-epoch-0.8.0 \
crossbeam-queue-0.2.1 \
crossbeam-utils-0.7.0 \
csv-1.1.3 \
csv-core-0.1.10 \
ct-logs-0.6.0 \
ctrlc-3.1.3 \
deflate-0.7.20 \
deunicode-0.4.3 \
difference-2.0.0 \
digest-0.8.1 \
dtoa-0.4.5 \
either-1.5.3 \
elasticlunr-rs-2.3.6 \
encoding_rs-0.8.22 \
fake-simd-0.1.2 \
filetime-0.2.8 \
flate2-1.0.13 \
fnv-1.0.6 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
fs_extra-1.1.0 \
fsevent-0.4.0 \
fsevent-sys-2.0.1 \
fuchsia-cprng-0.1.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futf-0.1.4 \
futures-channel-0.3.4 \
futures-core-0.3.4 \
futures-io-0.3.4 \
futures-macro-0.3.4 \
futures-sink-0.3.4 \
futures-task-0.3.4 \
futures-util-0.3.4 \
generic-array-0.12.3 \
getopts-0.2.21 \
getrandom-0.1.14 \
gif-0.10.3 \
glob-0.3.0 \
globset-0.4.4 \
globwalk-0.7.1 \
h2-0.2.1 \
heck-0.3.1 \
hermit-abi-0.1.6 \
html5ever-0.24.1 \
http-0.2.0 \
http-body-0.3.1 \
httparse-1.3.4 \
humansize-1.1.0 \
humantime-1.3.0 \
hyper-0.13.2 \
hyper-rustls-0.19.1 \
hyper-staticfile-0.5.1 \
hyper-tls-0.4.1 \
idna-0.2.0 \
ignore-0.4.11 \
image-0.23.0 \
indexmap-1.3.2 \
inflate-0.4.5 \
inotify-0.7.0 \
inotify-sys-0.1.3 \
iovec-0.1.4 \
itoa-0.4.5 \
jpeg-decoder-0.1.18 \
js-sys-0.3.35 \
kernel32-sys-0.2.2 \
lazy_static-1.4.0 \
lazycell-1.2.1 \
libc-0.2.66 \
line-wrap-0.1.1 \
linked-hash-map-0.5.2 \
log-0.4.8 \
lzw-0.10.0 \
mac-0.1.1 \
maplit-1.0.2 \
markup5ever-0.9.0 \
matches-0.1.8 \
memchr-2.3.2 \
memoffset-0.5.3 \
mime-0.3.16 \
mime_guess-2.0.1 \
miniz_oxide-0.3.6 \
mio-0.6.21 \
mio-extras-2.0.6 \
miow-0.2.1 \
mockito-0.23.1 \
native-tls-0.2.3 \
net2-0.2.33 \
new_debug_unreachable-1.0.4 \
nix-0.14.1 \
nom-4.2.3 \
notify-4.0.15 \
num-integer-0.1.42 \
num-iter-0.1.40 \
num-rational-0.2.3 \
num-traits-0.2.11 \
num_cpus-1.12.0 \
onig-4.3.3 \
onig_sys-69.1.0 \
opaque-debug-0.2.3 \
open-1.3.4 \
openssl-0.10.28 \
openssl-probe-0.1.2 \
openssl-sys-0.9.54 \
parse-zoneinfo-0.2.1 \
percent-encoding-2.1.0 \
pest-2.1.2 \
pest_derive-2.1.0 \
pest_generator-2.1.1 \
pest_meta-2.1.2 \
phf-0.7.24 \
phf_codegen-0.7.24 \
phf_generator-0.7.24 \
phf_shared-0.7.24 \
pin-project-0.4.8 \
pin-project-internal-0.4.8 \
pin-project-lite-0.1.4 \
pin-utils-0.1.0-alpha.4 \
pkg-config-0.3.17 \
plist-0.4.2 \
png-0.15.3 \
ppv-lite86-0.2.6 \
precomputed-hash-0.1.1 \
proc-macro-hack-0.5.11 \
proc-macro-nested-0.1.3 \
proc-macro2-0.4.30 \
proc-macro2-1.0.8 \
pulldown-cmark-0.7.0 \
quick-error-1.2.3 \
quote-0.6.13 \
quote-1.0.2 \
rand-0.6.5 \
rand-0.7.3 \
rand_chacha-0.1.1 \
rand_chacha-0.2.1 \
rand_core-0.3.1 \
rand_core-0.4.2 \
rand_core-0.5.1 \
rand_hc-0.1.0 \
rand_hc-0.2.0 \
rand_isaac-0.1.1 \
rand_jitter-0.1.4 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_xorshift-0.1.1 \
rayon-1.3.0 \
rayon-core-1.7.0 \
rdrand-0.4.0 \
redox_syscall-0.1.56 \
regex-1.3.4 \
regex-automata-0.1.8 \
regex-syntax-0.6.14 \
remove_dir_all-0.5.2 \
reqwest-0.10.1 \
ring-0.16.11 \
rust-stemmers-1.2.0 \
rustc_version-0.2.3 \
rustls-0.16.0 \
rustls-native-certs-0.1.0 \
ryu-1.0.2 \
safemem-0.3.3 \
same-file-1.0.6 \
sass-rs-0.2.2 \
sass-sys-0.4.18 \
schannel-0.1.17 \
scoped_threadpool-0.1.9 \
scopeguard-1.0.0 \
sct-0.6.0 \
security-framework-0.3.4 \
security-framework-sys-0.3.3 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.104 \
serde_derive-1.0.104 \
serde_json-1.0.48 \
serde_urlencoded-0.6.1 \
sha-1-0.8.2 \
siphasher-0.2.3 \
slab-0.4.2 \
slotmap-0.4.0 \
slug-0.1.4 \
smallvec-1.2.0 \
sourcefile-0.1.4 \
spin-0.5.2 \
string_cache-0.7.5 \
string_cache_codegen-0.4.4 \
string_cache_shared-0.3.0 \
strsim-0.8.0 \
strum-0.15.0 \
strum_macros-0.15.0 \
syn-0.15.44 \
syn-1.0.14 \
syntect-3.2.0 \
tempfile-3.1.0 \
tendril-0.4.1 \
tera-1.0.2 \
termcolor-1.1.0 \
textwrap-0.11.0 \
thread_local-1.0.1 \
tiff-0.4.0 \
time-0.1.42 \
tokio-0.2.11 \
tokio-macros-0.2.4 \
tokio-rustls-0.12.2 \
tokio-tls-0.3.0 \
tokio-util-0.2.0 \
toml-0.5.6 \
tower-service-0.3.0 \
try-lock-0.2.2 \
typenum-1.11.2 \
ucd-trie-0.1.2 \
unic-char-property-0.9.0 \
unic-char-range-0.9.0 \
unic-common-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.4 \
unicode-normalization-0.1.12 \
unicode-segmentation-1.6.0 \
unicode-width-0.1.7 \
unicode-xid-0.1.0 \
unicode-xid-0.2.0 \
untrusted-0.7.0 \
url-2.1.1 \
utf-8-0.7.5 \
vcpkg-0.2.8 \
vec_map-0.8.1 \
version_check-0.1.5 \
version_check-0.9.1 \
void-1.0.2 \
walkdir-2.3.1 \
want-0.3.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.58 \
wasm-bindgen-backend-0.2.58 \
wasm-bindgen-futures-0.4.8 \
wasm-bindgen-macro-0.2.58 \
wasm-bindgen-macro-support-0.2.58 \
wasm-bindgen-shared-0.2.58 \
wasm-bindgen-webidl-0.2.58 \
web-sys-0.3.35 \
webpki-0.21.2 \
webpki-roots-0.17.0 \
weedle-0.10.0 \
winapi-0.2.8 \
winapi-0.3.8 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.3 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winreg-0.6.2 \
ws-0.9.1 \
ws2_32-sys-0.2.1 \
xml-rs-0.8.0 \
yaml-rust-0.4.3
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>