PORTNAME= meilisearch DISTVERSIONPREFIX= v DISTVERSION= 1.0.2 CATEGORIES= textproc MASTER_SITES= https://github.com/meilisearch/mini-dashboard/releases/download/v${DASHBOARD_VERSION}/build.zip?dummy=/:mini_dashboard_assets \ SF/mecab/mecab-ipadic/2.7.0-20070801/:mecab_ipadic DISTFILES= ${MINIDASHBOARDFILE}:mini_dashboard_assets \ mecab-ipadic-2.7.0-20070801.tar.gz:mecab_ipadic MAINTAINER= ashish@FreeBSD.org COMMENT= Powerful, fast, and an easy to use search engine WWW= https://www.meilisearch.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo pkgconfig USE_GITHUB= yes # Following is generated with following: # curl -s https://api.github.com/repos/meilisearch/meilisearch/commits/$(make -V GH_TAGNAME) | \ # jq -r '.sha, .commit.committer.date' REPO_COMMIT_SHA= 572608c121d960cdf48c2c289a6dfd3dc834873a REPO_COMMIT_TS= 2023-02-23T13:52:56Z GH_TUPLE= meilisearch:lmdb:6a01c0a:lmdb/../lmdb-rs-501aa34a1ab7f092e3ff54a6c22ff6c55931a2d8/lmdb-sys/lmdb DASHBOARD_VERSION= 0.2.5 MINIDASHBOARDFILE= meilisearch-mini-dashboard-build-${DASHBOARD_VERSION}.zip CARGO_INSTALL_PATH= meilisearch CARGO_CRATES= actix-codec-0.5.0 \ actix-cors-0.6.4 \ actix-http-3.2.2 \ actix-macros-0.2.3 \ actix-router-0.5.1 \ actix-rt-2.7.0 \ actix-server-2.1.1 \ actix-service-2.0.2 \ actix-tls-3.0.3 \ actix-utils-3.0.1 \ actix-web-4.2.1 \ actix-web-codegen-4.1.0 \ addr2line-0.19.0 \ adler-1.0.2 \ aes-0.7.5 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ alloc-no-stdlib-2.0.4 \ alloc-stdlib-0.2.2 \ anyhow-1.0.68 \ assert-json-diff-2.0.2 \ async-stream-0.3.3 \ async-stream-impl-0.3.3 \ async-trait-0.1.61 \ atomic-polyfill-0.1.11 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.67 \ base64-0.13.1 \ base64-0.21.0 \ base64ct-1.5.3 \ big_s-1.0.2 \ bimap-0.6.2 \ bincode-1.3.3 \ bitflags-1.3.2 \ block-buffer-0.10.3 \ brotli-3.3.4 \ brotli-decompressor-2.3.2 \ bstr-0.2.17 \ bstr-1.1.0 \ build_const-0.2.2 \ bumpalo-3.11.1 \ byte-unit-4.0.18 \ bytecount-0.6.3 \ bytemuck-1.12.3 \ bytemuck_derive-1.3.0 \ byteorder-1.4.3 \ bytes-1.3.0 \ bytestring-1.2.0 \ bzip2-0.4.4 \ bzip2-sys-0.1.11+1.0.8 \ cargo_toml-0.13.3 \ cc-1.0.78 \ cedarwood-0.4.6 \ cfg-if-1.0.0 \ change-detection-1.2.0 \ charabia-0.7.0 \ cipher-0.3.0 \ clap-3.2.23 \ clap-4.0.32 \ clap_derive-3.2.18 \ clap_derive-4.0.21 \ clap_lex-0.2.4 \ clap_lex-0.3.0 \ concat-arrays-0.1.2 \ console-0.15.4 \ constant_time_eq-0.1.5 \ convert_case-0.4.0 \ convert_case-0.5.0 \ convert_case-0.6.0 \ cookie-0.16.2 \ core-foundation-sys-0.8.3 \ cow-utils-0.1.2 \ cpufeatures-0.2.5 \ crc-1.8.1 \ crc32fast-1.3.2 \ critical-section-1.1.1 \ crossbeam-0.8.2 \ crossbeam-channel-0.5.6 \ crossbeam-deque-0.8.2 \ crossbeam-epoch-0.9.13 \ crossbeam-queue-0.3.8 \ crossbeam-utils-0.8.14 \ crypto-common-0.1.6 \ csv-1.1.6 \ csv-core-0.1.10 \ darling-0.14.2 \ darling_core-0.14.2 \ darling_macro-0.14.2 \ derive_builder-0.11.2 \ derive_builder_core-0.11.2 \ derive_builder_macro-0.11.2 \ derive_more-0.99.17 \ deserr-0.3.0 \ deserr-internal-0.3.0 \ deunicode-1.3.3 \ digest-0.10.6 \ dirs-next-1.0.2 \ dirs-sys-next-0.1.2 \ either-1.8.0 \ encode_unicode-0.3.6 \ 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.31 \ encoding_rs_io-0.1.7 \ enum-iterator-1.2.0 \ enum-iterator-derive-1.1.0 \ env_logger-0.9.3 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ fastrand-1.8.0 \ faux-0.1.9 \ faux_macros-0.1.9 \ filetime-0.2.19 \ flate2-1.0.25 \ fnv-1.0.7 \ form_urlencoded-1.1.0 \ fst-0.4.7 \ futures-0.3.25 \ futures-channel-0.3.25 \ futures-core-0.3.25 \ futures-executor-0.3.25 \ futures-io-0.3.25 \ futures-macro-0.3.25 \ futures-sink-0.3.25 \ futures-task-0.3.25 \ futures-util-0.3.25 \ fxhash-0.2.1 \ generic-array-0.14.6 \ geoutils-0.5.1 \ getrandom-0.2.8 \ getset-0.1.2 \ gimli-0.27.0 \ git2-0.15.0 \ glob-0.3.1 \ grenad-0.4.4 \ h2-0.3.15 \ hash32-0.2.1 \ hashbrown-0.12.3 \ heapless-0.7.16 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hex-0.4.3 \ hmac-0.12.1 \ http-0.2.8 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ humantime-2.1.0 \ hyper-0.14.23 \ hyper-rustls-0.23.2 \ ident_case-1.0.1 \ idna-0.3.0 \ indexmap-1.9.2 \ insta-1.26.0 \ instant-0.1.12 \ io-lifetimes-1.0.3 \ ipnet-2.7.1 \ is-terminal-0.4.2 \ itertools-0.10.5 \ itoa-0.4.8 \ itoa-1.0.5 \ jieba-rs-0.6.7 \ jobserver-0.1.25 \ js-sys-0.3.60 \ jsonwebtoken-8.2.0 \ language-tags-0.3.2 \ lazy_static-1.4.0 \ levenshtein_automata-0.2.1 \ libc-0.2.139 \ libgit2-sys-0.14.1+1.5.0 \ libm-0.2.6 \ libmimalloc-sys-0.1.30 \ libz-sys-1.1.8 \ lindera-0.17.0 \ lindera-cc-cedict-builder-0.17.0 \ lindera-core-0.17.0 \ lindera-decompress-0.17.0 \ lindera-dictionary-0.17.0 \ lindera-ipadic-0.17.0 \ lindera-ipadic-builder-0.17.0 \ lindera-ko-dic-0.17.0 \ lindera-ko-dic-builder-0.17.0 \ lindera-unidic-builder-0.17.0 \ linked-hash-map-0.5.6 \ linux-raw-sys-0.1.4 \ local-channel-0.1.3 \ local-waker-0.1.3 \ lock_api-0.4.9 \ log-0.4.17 \ logging_timer-1.1.0 \ logging_timer_proc_macros-1.1.0 \ lzma-rs-0.2.0 \ manifest-dir-macros-0.1.16 \ maplit-1.0.2 \ md5-0.7.0 \ memchr-2.5.0 \ memmap2-0.5.8 \ memoffset-0.7.1 \ mimalloc-0.1.34 \ mime-0.3.16 \ mime_guess-2.0.4 \ minimal-lexical-0.2.1 \ miniz_oxide-0.6.2 \ mio-0.8.5 \ nom-7.1.2 \ nom_locate-4.0.0 \ ntapi-0.4.0 \ num-bigint-0.4.3 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ object-0.30.2 \ obkv-0.2.0 \ once_cell-1.17.0 \ opaque-debug-0.3.0 \ ordered-float-3.4.0 \ os_str_bytes-6.4.1 \ page_size-0.4.2 \ page_size-0.5.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.5 \ password-hash-0.4.2 \ paste-1.0.11 \ path-matchers-1.0.2 \ path-slash-0.1.5 \ pbkdf2-0.11.0 \ pem-1.1.0 \ percent-encoding-2.2.0 \ pest-2.5.3 \ pest_derive-2.5.3 \ pest_generator-2.5.3 \ pest_meta-2.5.3 \ phf-0.11.1 \ phf_codegen-0.11.1 \ phf_generator-0.11.1 \ phf_shared-0.11.1 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pinyin-0.9.0 \ pkg-config-0.3.26 \ platform-dirs-0.3.0 \ ppv-lite86-0.2.17 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.49 \ procfs-0.14.2 \ prometheus-0.13.3 \ protobuf-2.28.0 \ quote-1.0.23 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.4 \ rayon-1.6.1 \ rayon-core-1.10.1 \ redox_syscall-0.2.16 \ redox_users-0.4.3 \ regex-1.7.1 \ regex-automata-0.1.10 \ regex-syntax-0.6.28 \ remove_dir_all-0.5.3 \ reqwest-0.11.13 \ retain_mut-0.1.7 \ ring-0.16.20 \ roaring-0.10.1 \ rstar-0.9.3 \ rustc-demangle-0.1.21 \ rustc_version-0.4.0 \ rustix-0.36.6 \ rustls-0.20.7 \ rustls-pemfile-1.0.2 \ rustversion-1.0.11 \ ryu-1.0.12 \ same-file-1.0.6 \ scopeguard-1.1.0 \ sct-0.7.0 \ segment-0.2.2 \ semver-1.0.16 \ serde-1.0.152 \ serde-cs-0.2.4 \ serde_derive-1.0.152 \ serde_json-1.0.91 \ serde_urlencoded-0.7.1 \ sha-1-0.10.1 \ sha1-0.10.5 \ sha2-0.10.6 \ signal-hook-registry-1.4.0 \ similar-2.2.1 \ simple_asn1-0.6.2 \ siphasher-0.3.10 \ slab-0.4.7 \ slice-group-by-0.3.0 \ smallstr-0.3.0 \ smallvec-1.10.0 \ smartstring-1.0.1 \ socket2-0.4.7 \ spin-0.5.2 \ spin-0.9.4 \ stable_deref_trait-1.2.0 \ static-files-0.2.3 \ static_assertions-1.1.0 \ strsim-0.10.0 \ subtle-2.4.1 \ syn-1.0.107 \ synchronoise-1.0.1 \ synstructure-0.12.6 \ sysinfo-0.26.9 \ tar-0.4.38 \ temp-env-0.3.1 \ tempfile-3.3.0 \ termcolor-1.1.3 \ textwrap-0.16.0 \ thiserror-1.0.38 \ thiserror-impl-1.0.38 \ time-0.3.17 \ time-core-0.1.0 \ time-macros-0.2.6 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.0 \ tokio-1.24.1 \ tokio-macros-1.8.2 \ tokio-rustls-0.23.4 \ tokio-stream-0.1.11 \ tokio-util-0.7.4 \ toml-0.5.10 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-core-0.1.30 \ try-lock-0.2.4 \ typenum-1.16.0 \ ucd-trie-0.1.5 \ unicase-2.6.0 \ unicode-bidi-0.3.8 \ unicode-ident-1.0.6 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.0 \ unicode-xid-0.2.4 \ untrusted-0.7.1 \ url-2.3.1 \ urlencoding-2.1.2 \ utf8-width-0.1.6 \ uuid-0.8.2 \ uuid-1.2.2 \ vcpkg-0.2.15 \ vergen-7.5.0 \ version_check-0.9.4 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.83 \ wasm-bindgen-backend-0.2.83 \ wasm-bindgen-futures-0.4.33 \ wasm-bindgen-macro-0.2.83 \ wasm-bindgen-macro-support-0.2.83 \ wasm-bindgen-shared-0.2.83 \ web-sys-0.3.60 \ webpki-0.22.0 \ webpki-roots-0.22.6 \ whatlang-0.16.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.42.0 \ windows_aarch64_gnullvm-0.42.0 \ windows_aarch64_msvc-0.42.0 \ windows_i686_gnu-0.42.0 \ windows_i686_msvc-0.42.0 \ windows_x86_64_gnu-0.42.0 \ windows_x86_64_gnullvm-0.42.0 \ windows_x86_64_msvc-0.42.0 \ winreg-0.10.1 \ xattr-0.2.3 \ yada-0.5.0 \ yaml-rust-0.4.5 \ yaup-0.2.1 \ zerocopy-0.3.0 \ zerocopy-derive-0.2.0 \ zip-0.6.3 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.5+zstd.1.5.2 \ lmdb-rkv-sys@git+https://github.com/meilisearch/lmdb-rs\#501aa34a1ab7f092e3ff54a6c22ff6c55931a2d8 \ actix-web-static-files@git+https://github.com/kilork/actix-web-static-files.git?rev=2d3b6160\#2d3b6160f0de4ba061c5d76b5704f34fb677f6df \ nelson@git+https://github.com/meilisearch/nelson.git?rev=675f13885548fb415ead8fbb447e9e6d9314000a\#675f13885548fb415ead8fbb447e9e6d9314000a \ filter-parser,flatten-serde-json,json-depth-checker,milli@git+https://github.com/meilisearch/milli.git?tag=v0.41.3\#e021bc119effbfad3fb8ec2ae57c99c1f45cb08b \ heed,heed-traits,heed-types@git+https://github.com/meilisearch/heed?tag=v0.12.4\#7a4542bc72dd60ef0f508c89900ea292218223fb PLIST_FILES= bin/${PORTNAME} post-patch: ${REINPLACE_CMD} -e 's,%%MINIDASHBOARDFILE%%,${DISTDIR}/${MINIDASHBOARDFILE},' \ -e 's,%%COMMIT_SHA%%,${REPO_COMMIT_SHA},' \ -e 's,%%COMMIT_TS%%,${REPO_COMMIT_TS},' \ ${WRKSRC}/meilisearch/build.rs ${GREP} -F -R -l %%WRKDIR%% ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's,%%WRKDIR%%,${WRKDIR},' .include