# $FreeBSD$ PORTNAME= miniserve DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 CATEGORIES= www MAINTAINER= tobik@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 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= ring crate not ported to other architectures USES= cargo USE_GITHUB= yes GH_ACCOUNT= svenstaro GH_TUPLE= la10736:rstest:4e37b85016998b9bcdd9a873cf04b30cff17bb77:rstest CARGO_CRATES= actix-0.7.9 \ actix-net-0.2.6 \ actix-web-0.7.19 \ actix_derive-0.3.2 \ adler32-1.0.3 \ aho-corasick-0.7.3 \ alphanumeric-sort-1.0.6 \ ansi_term-0.11.0 \ arc-swap-0.3.11 \ argon2rs-0.2.5 \ arrayvec-0.4.10 \ assert_cmd-0.11.1 \ assert_fs-0.11.3 \ atty-0.2.11 \ autocfg-0.1.4 \ backtrace-0.3.31 \ backtrace-sys-0.1.28 \ base64-0.10.1 \ base64-0.9.3 \ bit-set-0.4.0 \ bit-vec-0.4.4 \ bitflags-1.1.0 \ blake2-rfc-0.2.18 \ block-buffer-0.7.3 \ block-padding-0.1.4 \ brotli-sys-0.3.2 \ brotli2-0.3.2 \ bstr-0.1.4 \ build_const-0.2.1 \ byte-tools-0.3.1 \ byteorder-1.3.2 \ bytes-0.4.12 \ bytesize-1.0.0 \ cc-1.0.37 \ cfg-if-0.1.9 \ chrono-0.4.6 \ chrono-humanize-0.0.11 \ clap-2.33.0 \ cloudabi-0.0.3 \ constant_time_eq-0.1.3 \ cookie-0.11.1 \ cookie-0.12.0 \ cookie_store-0.7.0 \ core-foundation-0.6.4 \ core-foundation-sys-0.6.2 \ crc-1.8.1 \ crc32fast-1.2.0 \ crossbeam-channel-0.3.8 \ crossbeam-deque-0.7.1 \ crossbeam-epoch-0.7.1 \ crossbeam-queue-0.1.2 \ crossbeam-utils-0.6.5 \ ctor-0.1.9 \ debug_unreachable-0.1.1 \ difference-2.0.0 \ digest-0.8.0 \ dirs-1.0.5 \ dtoa-0.4.4 \ either-1.5.2 \ 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.17 \ error-chain-0.12.1 \ error-chain-0.8.1 \ escargot-0.4.0 \ failure-0.1.5 \ failure_derive-0.1.5 \ fake-simd-0.1.2 \ filetime-0.2.6 \ flate2-1.0.9 \ float-cmp-0.4.0 \ fnv-1.0.6 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ fuchsia-cprng-0.1.1 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ futf-0.1.4 \ futures-0.1.27 \ futures-cpupool-0.1.8 \ generic-array-0.12.0 \ globset-0.4.3 \ globwalk-0.5.0 \ h2-0.1.24 \ heck-0.3.1 \ hex-0.3.2 \ hostname-0.1.5 \ html5ever-0.18.0 \ htmlescape-0.3.1 \ http-0.1.17 \ http-body-0.1.0 \ httparse-1.3.3 \ hyper-0.12.30 \ hyper-tls-0.3.2 \ idna-0.1.5 \ ignore-0.4.7 \ indexmap-1.0.2 \ iovec-0.1.2 \ ipconfig-0.1.9 \ itoa-0.4.4 \ kernel32-sys-0.2.2 \ language-tags-0.2.2 \ lazy_static-0.2.11 \ lazy_static-1.3.0 \ lazycell-1.2.1 \ libc-0.2.58 \ libflate-0.1.23 \ linked-hash-map-0.5.2 \ literalext-0.1.1 \ lock_api-0.1.5 \ log-0.3.9 \ log-0.4.6 \ lru-cache-0.1.2 \ mac-0.1.1 \ markup5ever-0.3.2 \ matches-0.1.8 \ maud-0.20.0 \ maud_htmlescape-0.17.0 \ maud_macros-0.20.0 \ memchr-2.2.0 \ memoffset-0.2.1 \ mime-0.3.13 \ mime_guess-2.0.0-alpha.6 \ miniz-sys-0.1.12 \ miniz_oxide-0.2.1 \ miniz_oxide_c_api-0.2.1 \ mio-0.6.19 \ mio-uds-0.6.7 \ miow-0.2.1 \ nanoid-0.2.0 \ native-tls-0.2.3 \ net2-0.2.33 \ new_debug_unreachable-1.0.3 \ nodrop-0.1.13 \ nom-4.2.3 \ normalize-line-endings-0.2.2 \ num-integer-0.1.41 \ num-traits-0.2.8 \ num_cpus-1.10.1 \ numtoa-0.1.0 \ opaque-debug-0.2.2 \ openssl-0.10.23 \ openssl-probe-0.1.2 \ openssl-sys-0.9.47 \ output_vt100-0.1.2 \ owning_ref-0.4.0 \ parking_lot-0.7.1 \ parking_lot_core-0.4.0 \ percent-encoding-1.0.1 \ phf-0.7.24 \ phf_codegen-0.7.24 \ phf_generator-0.7.24 \ phf_shared-0.7.24 \ pkg-config-0.3.14 \ port_check-0.1.0 \ precomputed-hash-0.1.1 \ predicates-1.0.1 \ predicates-core-1.0.0 \ predicates-tree-1.0.0 \ pretty_assertions-0.6.1 \ proc-macro2-0.4.30 \ publicsuffix-1.5.2 \ quick-error-1.2.2 \ quote-0.3.15 \ quote-0.6.12 \ rand-0.4.6 \ rand-0.5.6 \ rand-0.6.5 \ rand_chacha-0.1.1 \ rand_core-0.3.1 \ rand_core-0.4.0 \ rand_hc-0.1.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 \ rdrand-0.4.0 \ redox_syscall-0.1.54 \ redox_termios-0.1.1 \ redox_users-0.3.0 \ regex-1.1.7 \ regex-syntax-0.6.7 \ remove_dir_all-0.5.2 \ reqwest-0.9.18 \ resolv-conf-0.6.2 \ ring-0.13.5 \ rustc-demangle-0.1.15 \ rustc-serialize-0.3.24 \ rustc_version-0.2.3 \ ryu-0.2.8 \ safemem-0.3.0 \ same-file-1.0.4 \ schannel-0.1.15 \ scoped_threadpool-0.1.9 \ scopeguard-0.3.3 \ security-framework-0.3.1 \ security-framework-sys-0.3.1 \ select-0.4.2 \ semver-0.9.0 \ semver-parser-0.7.0 \ serde-1.0.93 \ serde_derive-1.0.93 \ serde_json-1.0.39 \ serde_urlencoded-0.5.5 \ sha1-0.6.0 \ sha2-0.8.0 \ signal-hook-0.1.9 \ signal-hook-registry-1.0.1 \ simplelog-0.6.0 \ siphasher-0.2.3 \ slab-0.4.2 \ smallvec-0.6.10 \ socket2-0.3.9 \ stable_deref_trait-1.1.1 \ string-0.2.0 \ string_cache-0.6.2 \ string_cache_codegen-0.4.2 \ string_cache_shared-0.3.0 \ strsim-0.8.0 \ structopt-0.2.16 \ structopt-derive-0.2.16 \ strum-0.15.0 \ strum_macros-0.15.0 \ syn-0.11.11 \ syn-0.15.38 \ synom-0.11.3 \ synstructure-0.10.2 \ tar-0.4.26 \ tempfile-3.0.8 \ tendril-0.3.1 \ term-0.5.2 \ termion-1.5.3 \ textwrap-0.11.0 \ thread_local-0.3.6 \ time-0.1.42 \ tokio-0.1.21 \ tokio-buf-0.1.1 \ tokio-codec-0.1.1 \ tokio-current-thread-0.1.6 \ tokio-executor-0.1.7 \ tokio-fs-0.1.6 \ tokio-io-0.1.12 \ tokio-reactor-0.1.9 \ tokio-signal-0.2.7 \ tokio-sync-0.1.6 \ tokio-tcp-0.1.3 \ tokio-threadpool-0.1.14 \ tokio-timer-0.2.11 \ tokio-trace-core-0.2.0 \ tokio-udp-0.1.3 \ tokio-uds-0.2.5 \ tower-service-0.1.0 \ treeline-0.1.0 \ trust-dns-proto-0.5.0 \ trust-dns-proto-0.6.3 \ trust-dns-resolver-0.10.3 \ try-lock-0.2.2 \ try_from-0.3.2 \ typenum-1.10.0 \ ucd-util-0.1.3 \ unicase-1.4.2 \ unicase-2.4.0 \ unicode-bidi-0.3.4 \ unicode-normalization-0.1.8 \ unicode-segmentation-1.3.0 \ unicode-width-0.1.5 \ unicode-xid-0.0.4 \ unicode-xid-0.1.0 \ unreachable-0.1.1 \ untrusted-0.6.2 \ url-1.7.2 \ utf-8-0.7.5 \ utf8-ranges-1.0.3 \ uuid-0.7.4 \ v_escape-0.7.2 \ v_escape_derive-0.5.3 \ v_htmlescape-0.4.3 \ vcpkg-0.2.6 \ vec_map-0.8.1 \ version_check-0.1.5 \ void-1.0.2 \ walkdir-2.2.8 \ want-0.0.6 \ widestring-0.2.2 \ winapi-0.2.8 \ winapi-0.3.7 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.2 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ winreg-0.5.1 \ winutil-0.1.1 \ ws2_32-sys-0.2.1 \ xattr-0.2.2 \ yansi-0.5.0 CARGO_USE_GITHUB= yes # maud_macros depends on literalext crate which 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