Created attachment 188006 [details] new port patch
Created attachment 188007 [details] new port (fix portlint errors) $ portlint -ac looks fine.
Thank you for your submission! Are both of these really needed: > bitflags-0.7.0 \ > bitflags-0.9.1 \ ? Yuri
(In reply to Yuri Victorovich from comment #2) According to Cargo.lock — yes. Pretty common on rust projects to have multiple version of the same crate.
(In reply to Andrey Cherkashin from comment #3) Ok, thanks!
A commit references this bug: Author: tobik Date: Wed Nov 15 12:41:38 UTC 2017 New revision: 454236 URL: https://svnweb.freebsd.org/changeset/ports/454236 Log: New port: sysutils/fd fd is a simple, fast and user-friendly alternative to find. While it does not seek to mirror all of find's powerful functionality, it provides sensible (opinionated) defaults for 80% of the use cases. WWW: https://github.com/sharkdp/fd PR: 223674 Submitted by: Andrey Cherkashin <andoriyu@gmail.com> Changes: head/sysutils/Makefile head/sysutils/fd/ head/sysutils/fd/Makefile head/sysutils/fd/distinfo head/sysutils/fd/pkg-descr
Committed. Thanks! A couple of changes were necessary: - Patching build.rs like what textproc/ripgrep does is not needed as fd already provides a nice alternative for us via SHELL_COMPLETIONS_DIR. In ripgrep we need to patch build.rs because OUT_DIR is generated by Cargo itself with non-deterministic directory names and then passed to the build and we cannot override it in the port. - GH_TAGNAME basically defaults to ${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}, so setting it directly is only necessary in very specific cases. - The port conflicts with shells/fd as both install /usr/local/bin/fd and unfortunately both have the same package name. In Cargo.toml the project is named fd-find, so a -find package name suffix seems like an acceptable fix.
(In reply to Tobias Kortkamp from comment #6) Whools, totally forgot about DISTVERSIONSUFFIX.