pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ugrep: Import v5.0.0 from pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Thu Mar 21 17:43:33 2024 -0700
Changeset:	65ee044deb1623630863c9300ad30a49eb476017

Modified Files:
	Makefile
Added Files:
	ugrep/DESCR
	ugrep/Makefile
	ugrep/PLIST
	ugrep/distinfo
	ugrep/options.mk

Log Message:
ugrep: Import v5.0.0 from pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=65ee044deb1623630863c9300ad30a49eb476017

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |   1 +
 ugrep/DESCR      |   7 ++
 ugrep/Makefile   |  28 ++++++++
 ugrep/PLIST      | 206 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ugrep/distinfo   |   5 ++
 ugrep/options.mk |  19 +++++
 6 files changed, 266 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d261b27247..0c317b0294 100644
--- a/Makefile
+++ b/Makefile
@@ -5549,6 +5549,7 @@ SUBDIR+=	uebimiau
 SUBDIR+=	ufc
 SUBDIR+=	uffizi
 SUBDIR+=	uget
+SUBDIR+=	ugrep
 SUBDIR+=	uhd-git
 SUBDIR+=	ulfius
 SUBDIR+=	umix
diff --git a/ugrep/DESCR b/ugrep/DESCR
new file mode 100644
index 0000000000..a6e0ed0dcc
--- /dev/null
+++ b/ugrep/DESCR
@@ -0,0 +1,7 @@
+Ultra fast grep with interactive query UI: search file systems, source
+code, text, binary files, archives (cpio/tar/pax/zip), compressed
+files (gz/Z/bz2/lzma/xz/lz4), documents, fuzzy search, and more.
+A faster, user-friendly replacement for GNU/BSD grep.
+
+It also supports Unicode, as well as having regular expressions
+patterns helpful for searching many types of source code files.
diff --git a/ugrep/Makefile b/ugrep/Makefile
new file mode 100644
index 0000000000..51fc671b15
--- /dev/null
+++ b/ugrep/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.75 2024/03/02 12:48:48 adam Exp $
+
+DISTNAME=	ugrep-5.0.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Genivia/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Genivia/ugrep
+COMMENT=	Fast grep with many enhancements including Unicode support
+LICENSE=	modified-bsd
+
+.include "options.mk"
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	bash:run gmake pkg-config
+GNU_CONFIGURE=	yes
+
+REPLACE_BASH+=	bin/ug+
+REPLACE_BASH+=	bin/ugrep+
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/pcre2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ugrep/PLIST b/ugrep/PLIST
new file mode 100644
index 0000000000..be9e00c6dd
--- /dev/null
+++ b/ugrep/PLIST
@@ -0,0 +1,206 @@
+@comment $NetBSD: PLIST,v 1.3 2024/01/11 13:12:02 adam Exp $
+bin/ug
+bin/ug+
+bin/ugrep
+bin/ugrep+
+man/man1/ug.1
+man/man1/ugrep.1
+share/bash-completion/completions/ug
+share/bash-completion/completions/ug+
+share/bash-completion/completions/ugrep
+share/bash-completion/completions/ugrep+
+share/fish/vendor_completions.d/ug+.fish
+share/fish/vendor_completions.d/ug.fish
+share/fish/vendor_completions.d/ugrep+.fish
+share/fish/vendor_completions.d/ugrep.fish
+share/ugrep/patterns/README.md
+share/ugrep/patterns/c++/README.md
+share/ugrep/patterns/c++/classes
+share/ugrep/patterns/c++/comments
+share/ugrep/patterns/c++/defines
+share/ugrep/patterns/c++/directives
+share/ugrep/patterns/c++/doc_comments
+share/ugrep/patterns/c++/enums
+share/ugrep/patterns/c++/functions
+share/ugrep/patterns/c++/includes
+share/ugrep/patterns/c++/names
+share/ugrep/patterns/c++/namespaces
+share/ugrep/patterns/c++/strings
+share/ugrep/patterns/c++/structs
+share/ugrep/patterns/c++/typedefs
+share/ugrep/patterns/c++/zap_commands
+share/ugrep/patterns/c++/zap_comments
+share/ugrep/patterns/c++/zap_directives
+share/ugrep/patterns/c++/zap_strings
+share/ugrep/patterns/c/README.md
+share/ugrep/patterns/c/comments
+share/ugrep/patterns/c/defines
+share/ugrep/patterns/c/directives
+share/ugrep/patterns/c/doc_comments
+share/ugrep/patterns/c/enums
+share/ugrep/patterns/c/functions
+share/ugrep/patterns/c/includes
+share/ugrep/patterns/c/names
+share/ugrep/patterns/c/strings
+share/ugrep/patterns/c/structs
+share/ugrep/patterns/c/typedefs
+share/ugrep/patterns/c/zap_commands
+share/ugrep/patterns/c/zap_comments
+share/ugrep/patterns/c/zap_directives
+share/ugrep/patterns/c/zap_strings
+share/ugrep/patterns/cpp/README.md
+share/ugrep/patterns/cpp/classes
+share/ugrep/patterns/cpp/comments
+share/ugrep/patterns/cpp/defines
+share/ugrep/patterns/cpp/directives
+share/ugrep/patterns/cpp/doc_comments
+share/ugrep/patterns/cpp/enums
+share/ugrep/patterns/cpp/functions
+share/ugrep/patterns/cpp/includes
+share/ugrep/patterns/cpp/names
+share/ugrep/patterns/cpp/namespaces
+share/ugrep/patterns/cpp/strings
+share/ugrep/patterns/cpp/structs
+share/ugrep/patterns/cpp/typedefs
+share/ugrep/patterns/cpp/zap_commands
+share/ugrep/patterns/cpp/zap_comments
+share/ugrep/patterns/cpp/zap_directives
+share/ugrep/patterns/cpp/zap_strings
+share/ugrep/patterns/cs/README.md
+share/ugrep/patterns/cs/classes
+share/ugrep/patterns/cs/comments
+share/ugrep/patterns/cs/doc_comments
+share/ugrep/patterns/cs/enums
+share/ugrep/patterns/cs/functions
+share/ugrep/patterns/cs/names
+share/ugrep/patterns/cs/strings
+share/ugrep/patterns/cs/zap_comments
+share/ugrep/patterns/cs/zap_strings
+share/ugrep/patterns/html/README.md
+share/ugrep/patterns/html/comments
+share/ugrep/patterns/html/href
+share/ugrep/patterns/html/img
+share/ugrep/patterns/html/link
+share/ugrep/patterns/html/meta
+share/ugrep/patterns/html/pre
+share/ugrep/patterns/html/script
+share/ugrep/patterns/html/src
+share/ugrep/patterns/html/style
+share/ugrep/patterns/html/zap_comments
+share/ugrep/patterns/java/README.md
+share/ugrep/patterns/java/classes
+share/ugrep/patterns/java/comments
+share/ugrep/patterns/java/doc_comments
+share/ugrep/patterns/java/enums
+share/ugrep/patterns/java/imports
+share/ugrep/patterns/java/methods
+share/ugrep/patterns/java/names
+share/ugrep/patterns/java/strings
+share/ugrep/patterns/java/zap_comments
+share/ugrep/patterns/java/zap_strings
+share/ugrep/patterns/js/README.md
+share/ugrep/patterns/js/classes
+share/ugrep/patterns/js/comments
+share/ugrep/patterns/js/dom
+share/ugrep/patterns/js/functions
+share/ugrep/patterns/js/names
+share/ugrep/patterns/js/strings
+share/ugrep/patterns/js/zap_comments
+share/ugrep/patterns/js/zap_strings
+share/ugrep/patterns/json/README.md
+share/ugrep/patterns/json/keys
+share/ugrep/patterns/json/keys_and_values
+share/ugrep/patterns/json/values
+share/ugrep/patterns/markdown/README.md
+share/ugrep/patterns/markdown/code
+share/ugrep/patterns/markdown/codeblocks
+share/ugrep/patterns/markdown/images
+share/ugrep/patterns/markdown/links
+share/ugrep/patterns/markdown/sections
+share/ugrep/patterns/perl/README.md
+share/ugrep/patterns/perl/comments
+share/ugrep/patterns/perl/formats
+share/ugrep/patterns/perl/names
+share/ugrep/patterns/perl/strings
+share/ugrep/patterns/perl/subs
+share/ugrep/patterns/perl/zap_comments
+share/ugrep/patterns/perl/zap_formats
+share/ugrep/patterns/perl/zap_strings
+share/ugrep/patterns/php/README.md
+share/ugrep/patterns/php/comments
+share/ugrep/patterns/php/functions
+share/ugrep/patterns/php/names
+share/ugrep/patterns/php/strings
+share/ugrep/patterns/php/zap_comments
+share/ugrep/patterns/php/zap_html
+share/ugrep/patterns/php/zap_strings
+share/ugrep/patterns/python/README.md
+share/ugrep/patterns/python/comments
+share/ugrep/patterns/python/defs
+share/ugrep/patterns/python/doc_strings
+share/ugrep/patterns/python/imports
+share/ugrep/patterns/python/names
+share/ugrep/patterns/python/strings
+share/ugrep/patterns/python/zap_comments
+share/ugrep/patterns/python/zap_strings
+share/ugrep/patterns/ruby/README.md
+share/ugrep/patterns/ruby/classes
+share/ugrep/patterns/ruby/comments
+share/ugrep/patterns/ruby/defs
+share/ugrep/patterns/ruby/modules
+share/ugrep/patterns/ruby/names
+share/ugrep/patterns/ruby/strings
+share/ugrep/patterns/ruby/zap_comments
+share/ugrep/patterns/ruby/zap_strings
+share/ugrep/patterns/rust/README.md
+share/ugrep/patterns/rust/comments
+share/ugrep/patterns/rust/crates
+share/ugrep/patterns/rust/enums
+share/ugrep/patterns/rust/fns
+share/ugrep/patterns/rust/impls
+share/ugrep/patterns/rust/macros
+share/ugrep/patterns/rust/mods
+share/ugrep/patterns/rust/names
+share/ugrep/patterns/rust/strings
+share/ugrep/patterns/rust/structs
+share/ugrep/patterns/rust/traits
+share/ugrep/patterns/rust/unions
+share/ugrep/patterns/rust/uses
+share/ugrep/patterns/rust/zap_comments
+share/ugrep/patterns/rust/zap_strings
+share/ugrep/patterns/scala/README.md
+share/ugrep/patterns/scala/classes
+share/ugrep/patterns/scala/comments
+share/ugrep/patterns/scala/defs
+share/ugrep/patterns/scala/imports
+share/ugrep/patterns/scala/names
+share/ugrep/patterns/scala/objects
+share/ugrep/patterns/scala/packages
+share/ugrep/patterns/scala/strings
+share/ugrep/patterns/scala/zap_comments
+share/ugrep/patterns/scala/zap_strings
+share/ugrep/patterns/swift/README.md
+share/ugrep/patterns/swift/classes
+share/ugrep/patterns/swift/comments
+share/ugrep/patterns/swift/enums
+share/ugrep/patterns/swift/funcs
+share/ugrep/patterns/swift/imports
+share/ugrep/patterns/swift/names
+share/ugrep/patterns/swift/strings
+share/ugrep/patterns/swift/structs
+share/ugrep/patterns/swift/zap_comments
+share/ugrep/patterns/swift/zap_strings
+share/ugrep/patterns/xml/README.md
+share/ugrep/patterns/xml/attributes
+share/ugrep/patterns/xml/attributes_and_values
+share/ugrep/patterns/xml/comments
+share/ugrep/patterns/xml/elements
+share/ugrep/patterns/xml/pis
+share/ugrep/patterns/xml/tags
+share/ugrep/patterns/xml/zap_comments
+share/ugrep/patterns/xml/zap_pis
+share/ugrep/patterns/xml/zap_strings
+share/zsh/site-functions/_ug
+share/zsh/site-functions/_ug+
+share/zsh/site-functions/_ugrep
+share/zsh/site-functions/_ugrep+
diff --git a/ugrep/distinfo b/ugrep/distinfo
new file mode 100644
index 0000000000..b0e0af6b78
--- /dev/null
+++ b/ugrep/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.69 2024/03/02 12:48:48 adam Exp $
+
+BLAKE2s (ugrep-5.0.0.tar.gz) = 39a0c14453cb01de3f10af7e8888bb23d97687a244e1bb107baa8dc23fbdc326
+SHA512 (ugrep-5.0.0.tar.gz) = 424ba96674c0a4ac67a1cea14308627936e14eb822f4180a04239b43623def0d010a7ae8a4471db335dd059f09f11075a22ad28096041ab67918051374ab8147
+Size (ugrep-5.0.0.tar.gz) = 6243737 bytes
diff --git a/ugrep/options.mk b/ugrep/options.mk
new file mode 100644
index 0000000000..348ec41031
--- /dev/null
+++ b/ugrep/options.mk
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.2 2022/07/01 19:35:45 adam Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.ugrep
+PKG_SUPPORTED_OPTIONS=	cpu-optimization boost-libs
+PKG_SUGGESTED_OPTIONS=	cpu-optimization boost-libs
+
+.include "../../mk/bsd.options.mk"
+
+# XXX don't build with cpu optimizations detected during configure
+.if empty(PKG_OPTIONS:Mcpu-optimization)
+CONFIGURE_ARGS+=	--disable-avx
+CONFIGURE_ARGS+=	--disable-sse2
+CONFIGURE_ARGS+=	--disable-neon
+.endif
+
+.if !empty(PKG_OPTIONS:Mboost-libs)
+CONFIGURE_ARGS+=	--with-boost-regex
+.include "../../devel/boost-libs/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index