1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/www/miniserve/Makefile
2021-01-06 10:13:58 +00:00

369 lines
7.6 KiB
Makefile

# $FreeBSD$
PORTNAME= miniserve
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.4
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= mikael@FreeBSD.org
COMMENT= Ad-hoc HTTP server for file sharing
LICENSE= APACHE20 BSD3CLAUSE CC0-1.0 ISCL MIT MPL20 UNLICENSE
LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
USES= cargo ssl:build
USE_GITHUB= yes
GH_ACCOUNT= svenstaro
CARGO_CRATES= actix-codec-0.3.0 \
actix-connect-2.0.0 \
actix-files-0.5.0 \
actix-http-2.2.0 \
actix-macros-0.1.3 \
actix-multipart-0.3.0 \
actix-router-0.2.5 \
actix-rt-1.1.1 \
actix-server-1.0.4 \
actix-service-1.0.6 \
actix-testing-1.0.1 \
actix-threadpool-0.3.3 \
actix-tls-2.0.0 \
actix-utils-2.0.0 \
actix-web-3.3.2 \
actix-web-codegen-0.4.0 \
actix-web-httpauth-0.5.0 \
addr2line-0.14.1 \
adler-0.2.3 \
adler32-1.2.0 \
ahash-0.3.8 \
aho-corasick-0.7.15 \
alphanumeric-sort-1.4.0 \
ansi_term-0.11.0 \
assert_cmd-1.0.2 \
assert_fs-1.0.0 \
async-trait-0.1.42 \
atty-0.2.14 \
autocfg-0.1.7 \
autocfg-1.0.1 \
awc-2.0.3 \
backtrace-0.3.55 \
base-x-0.2.8 \
base64-0.12.3 \
base64-0.13.0 \
beef-0.4.4 \
bit-set-0.5.2 \
bit-vec-0.6.3 \
bitflags-1.2.1 \
block-buffer-0.9.0 \
brotli-sys-0.3.2 \
brotli2-0.3.2 \
bstr-0.2.14 \
buf-min-0.4.0 \
bumpalo-3.4.0 \
byteorder-1.3.4 \
bytes-0.5.6 \
bytesize-1.0.1 \
bytestring-0.1.5 \
bzip2-0.3.3 \
bzip2-sys-0.1.9+1.0.8 \
cc-1.0.66 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chrono-0.4.19 \
chrono-humanize-0.1.1 \
clap-2.33.3 \
cloudabi-0.0.3 \
codemap-0.1.3 \
const_fn-0.4.4 \
cookie-0.14.3 \
copyless-0.1.5 \
cpuid-bool-0.1.2 \
crc32fast-1.2.1 \
crossbeam-utils-0.8.1 \
ctor-0.1.17 \
derive_more-0.99.11 \
difference-2.0.0 \
digest-0.9.0 \
discard-1.0.4 \
doc-comment-0.3.3 \
either-1.6.1 \
encoding_rs-0.8.26 \
enum-as-inner-0.3.3 \
failure-0.1.8 \
failure_derive-0.1.8 \
filetime-0.2.13 \
flate2-1.0.14 \
float-cmp-0.8.0 \
fnv-1.0.7 \
form_urlencoded-1.0.0 \
fuchsia-cprng-0.1.1 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
futf-0.1.4 \
futures-0.3.8 \
futures-channel-0.3.8 \
futures-core-0.3.8 \
futures-executor-0.3.8 \
futures-io-0.3.8 \
futures-macro-0.3.8 \
futures-sink-0.3.8 \
futures-task-0.3.8 \
futures-util-0.3.8 \
fxhash-0.2.1 \
generic-array-0.14.4 \
getrandom-0.1.16 \
gimli-0.23.0 \
globset-0.4.6 \
globwalk-0.7.3 \
grass-0.10.4 \
h2-0.2.7 \
hashbrown-0.8.2 \
hashbrown-0.9.1 \
heck-0.3.2 \
hermit-abi-0.1.17 \
hex-0.4.2 \
hostname-0.3.1 \
html5ever-0.25.1 \
http-0.2.2 \
http-body-0.3.1 \
httparse-1.3.4 \
httpdate-0.3.2 \
hyper-0.13.9 \
hyper-rustls-0.21.0 \
idna-0.2.0 \
ignore-0.4.17 \
indexmap-1.6.1 \
instant-0.1.9 \
iovec-0.1.4 \
ipconfig-0.2.2 \
ipnet-2.3.0 \
itoa-0.4.7 \
js-sys-0.3.46 \
kernel32-sys-0.2.2 \
language-tags-0.2.2 \
lasso-0.3.1 \
lazy_static-1.4.0 \
libc-0.2.81 \
libflate-1.0.3 \
libflate_lz77-1.0.0 \
linked-hash-map-0.5.3 \
lock_api-0.4.2 \
log-0.4.11 \
lru-cache-0.1.2 \
mac-0.1.1 \
markup5ever-0.10.0 \
markup5ever_rcdom-0.1.0 \
match_cfg-0.1.0 \
matches-0.1.8 \
maud-0.22.1 \
maud_htmlescape-0.17.0 \
maud_macros-0.22.1 \
memchr-2.3.4 \
mime-0.3.16 \
mime_guess-2.0.3 \
miniz_oxide-0.3.7 \
miniz_oxide-0.4.3 \
mio-0.6.23 \
mio-uds-0.6.8 \
miow-0.2.2 \
nanoid-0.3.0 \
net2-0.2.37 \
new_debug_unreachable-1.0.4 \
nom-4.2.3 \
normalize-line-endings-0.3.0 \
num-bigint-0.3.1 \
num-integer-0.1.44 \
num-rational-0.3.2 \
num-traits-0.2.14 \
num_cpus-1.13.0 \
object-0.22.0 \
once_cell-1.5.2 \
opaque-debug-0.3.0 \
output_vt100-0.1.2 \
parking_lot-0.11.1 \
parking_lot_core-0.8.2 \
peekmore-0.5.6 \
percent-encoding-2.1.0 \
phf-0.8.0 \
phf_codegen-0.8.0 \
phf_generator-0.8.0 \
phf_macros-0.8.0 \
phf_shared-0.8.0 \
pin-project-0.4.27 \
pin-project-1.0.2 \
pin-project-internal-0.4.27 \
pin-project-internal-1.0.2 \
pin-project-lite-0.1.11 \
pin-project-lite-0.2.0 \
pin-utils-0.1.0 \
pkg-config-0.3.19 \
port_check-0.1.5 \
ppv-lite86-0.2.10 \
precomputed-hash-0.1.1 \
predicates-1.0.6 \
predicates-core-1.0.1 \
predicates-tree-1.0.1 \
pretty_assertions-0.6.1 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro-hack-0.5.19 \
proc-macro-nested-0.1.6 \
proc-macro2-1.0.24 \
qrcodegen-1.6.0 \
quick-error-1.2.3 \
quote-1.0.8 \
rand-0.6.5 \
rand-0.7.3 \
rand_chacha-0.1.1 \
rand_chacha-0.2.2 \
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_pcg-0.2.1 \
rand_xorshift-0.1.1 \
rdrand-0.4.0 \
redox_syscall-0.1.57 \
regex-1.4.2 \
regex-syntax-0.6.21 \
remove_dir_all-0.5.3 \
reqwest-0.10.10 \
resolv-conf-0.7.0 \
ring-0.16.19 \
rle-decode-fast-1.0.1 \
rstest-0.6.4 \
rustc-demangle-0.1.18 \
rustc_version-0.2.3 \
rustls-0.18.1 \
ryu-1.0.5 \
same-file-1.0.6 \
scopeguard-1.1.0 \
sct-0.6.0 \
select-0.5.0 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.118 \
serde_derive-1.0.118 \
serde_json-1.0.61 \
serde_urlencoded-0.7.0 \
sha-1-0.9.2 \
sha1-0.6.0 \
sha2-0.9.2 \
signal-hook-registry-1.3.0 \
simplelog-0.9.0 \
siphasher-0.3.3 \
slab-0.4.2 \
smallvec-1.6.0 \
socket2-0.3.19 \
spin-0.5.2 \
standback-0.2.14 \
stdweb-0.4.20 \
stdweb-derive-0.5.3 \
stdweb-internal-macros-0.2.9 \
stdweb-internal-runtime-0.1.5 \
string_cache-0.8.1 \
string_cache_codegen-0.5.1 \
strsim-0.8.0 \
structopt-0.3.21 \
structopt-derive-0.4.14 \
strum-0.20.0 \
strum_macros-0.20.1 \
syn-1.0.57 \
synstructure-0.12.4 \
tar-0.4.30 \
tempfile-3.1.0 \
tendril-0.4.1 \
termcolor-1.1.2 \
textwrap-0.11.0 \
thiserror-1.0.23 \
thiserror-impl-1.0.23 \
thread_local-1.0.1 \
threadpool-1.8.1 \
time-0.1.44 \
time-0.2.23 \
time-macros-0.1.1 \
time-macros-impl-0.1.1 \
tinyvec-1.1.0 \
tinyvec_macros-0.1.0 \
tokio-0.2.24 \
tokio-rustls-0.14.1 \
tokio-util-0.3.1 \
tower-service-0.3.0 \
tracing-0.1.22 \
tracing-core-0.1.17 \
tracing-futures-0.2.4 \
treeline-0.1.0 \
trust-dns-proto-0.19.6 \
trust-dns-resolver-0.19.6 \
try-lock-0.2.3 \
twoway-0.2.1 \
typenum-1.12.0 \
unchecked-index-0.2.2 \
unicase-2.6.0 \
unicode-bidi-0.3.4 \
unicode-normalization-0.1.16 \
unicode-segmentation-1.7.1 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
untrusted-0.7.1 \
url-2.2.0 \
utf-8-0.7.5 \
v_escape-0.15.0 \
v_escape_derive-0.8.4 \
v_htmlescape-0.12.0 \
vec_map-0.8.2 \
version_check-0.1.5 \
version_check-0.9.2 \
wait-timeout-0.2.0 \
walkdir-2.3.1 \
want-0.3.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.10.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.69 \
wasm-bindgen-backend-0.2.69 \
wasm-bindgen-futures-0.4.19 \
wasm-bindgen-macro-0.2.69 \
wasm-bindgen-macro-support-0.2.69 \
wasm-bindgen-shared-0.2.69 \
web-sys-0.3.46 \
webpki-0.21.4 \
webpki-roots-0.20.0 \
widestring-0.4.3 \
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.6.2 \
winreg-0.7.0 \
ws2_32-sys-0.2.1 \
xattr-0.2.2 \
xml5ever-0.16.1 \
yansi-0.5.0 \
zip-0.5.9
# maud_macros uses feature(proc_macro)
MAKE_ENV= RUSTC_BOOTSTRAP=1
PLIST_FILES= bin/miniserve
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/miniserve
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>