Bug 255233 - [NEW PORT] textproc/ripgrep-all: extends the searching capacities of ripgrep
Summary: [NEW PORT] textproc/ripgrep-all: extends the searching capacities of ripgrep
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guangyuan Yang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-19 18:16 UTC by Alexis Praga
Modified: 2021-08-17 09:40 UTC (History)
3 users (show)

See Also:


Attachments
Patch file for creating the port (31.17 KB, patch)
2021-04-19 18:16 UTC, Alexis Praga
no flags Details | Diff
Removed pkg-plist and use PLIST_FILES (30.83 KB, patch)
2021-04-20 08:18 UTC, Alexis Praga
no flags Details | Diff
First version, with minor styling issues corrected (30.82 KB, patch)
2021-05-19 17:36 UTC, Alexis Praga
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Praga 2021-04-19 18:16:15 UTC
Created attachment 224261 [details]
Patch file for creating the port

Allows to search pdf, movies subtitles etc. Depends on Rust

I've tested Poudriere and checked the syntax with portlint. Being my first port, please signal me any mistake.
Comment 1 Alexander Vereeken 2021-04-19 21:22:54 UTC
Hello,

if i see it correctly there are only 2 items in the pkg-plist. Its better using PLIST_FILES instead of pkg-plist when installing less than 6 items.
Comment 2 Alexis Praga 2021-04-20 08:18:22 UTC
Created attachment 224282 [details]
Removed pkg-plist and use PLIST_FILES
Comment 3 Alexis Praga 2021-05-19 17:36:14 UTC
Created attachment 225090 [details]
First version, with minor styling issues corrected
Comment 4 Guangyuan Yang freebsd_committer freebsd_triage 2021-08-02 11:43:39 UTC
Just a minor nit, IMO post-install could use a loop from PLIST_FILES. Otherwise looks good to me. Thanks for submitting this and sorry for the wait time!
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-08-17 09:39:11 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a5a105969a2c26b16570d8ad9d68d8f8fe46771

commit 0a5a105969a2c26b16570d8ad9d68d8f8fe46771
Author:     Alexis Praga <alexis.praga@free.fr>
AuthorDate: 2021-08-17 09:38:07 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-08-17 09:38:07 +0000

    textproc/ripgrep-all: New port

    Extends the searching capacities of ripgrep.

    PR:             255233

 textproc/Makefile                    |   1 +
 textproc/ripgrep-all/Makefile (new)  | 186 ++++++++++++++++++++
 textproc/ripgrep-all/distinfo (new)  | 323 +++++++++++++++++++++++++++++++++++
 textproc/ripgrep-all/pkg-descr (new) |   5 +
 4 files changed, 515 insertions(+)