pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   scole
Date:           Sat Aug  1 15:13:59 UTC 2020

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

Log Message:
doc: Added textproc/ugrep version 2.5.0

Fast grep with many enhancements including Unicode


To generate a diff of this commit:
cvs rdiff -u -r1.1160 -r1.1161 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/ugrep/DESCR \
    pkgsrc/textproc/ugrep/Makefile pkgsrc/textproc/ugrep/PLIST \
    pkgsrc/textproc/ugrep/distinfo pkgsrc/textproc/ugrep/options.mk

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

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1160 pkgsrc/textproc/Makefile:1.1161
--- pkgsrc/textproc/Makefile:1.1160     Mon Jul 20 19:47:18 2020
+++ pkgsrc/textproc/Makefile    Sat Aug  1 15:13:59 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1160 2020/07/20 19:47:18 triaxx Exp $
+# $NetBSD: Makefile,v 1.1161 2020/08/01 15:13:59 scole Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1136,6 +1136,7 @@ SUBDIR+=  translate-shell
 SUBDIR+=       translate-toolkit
 SUBDIR+=       troffcvt
 SUBDIR+=       uchardet
+SUBDIR+=       ugrep
 SUBDIR+=       unac
 SUBDIR+=       uncrustify
 SUBDIR+=       uni2ascii

Added files:

Index: pkgsrc/textproc/ugrep/DESCR
diff -u /dev/null pkgsrc/textproc/ugrep/DESCR:1.1
--- /dev/null   Sat Aug  1 15:13:59 2020
+++ pkgsrc/textproc/ugrep/DESCR Sat Aug  1 15:13:59 2020
@@ -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.
Index: pkgsrc/textproc/ugrep/Makefile
diff -u /dev/null pkgsrc/textproc/ugrep/Makefile:1.1
--- /dev/null   Sat Aug  1 15:13:59 2020
+++ pkgsrc/textproc/ugrep/Makefile      Sat Aug  1 15:13:59 2020
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2020/08/01 15:13:59 scole Exp $
+
+GITHUB_PROJECT=        ugrep
+GITHUB_TAG=    v2.5.0
+DISTNAME=      ${GITHUB_TAG}
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Genivia/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+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 "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake pkg-config
+
+CONFIGURE_ARGS+=       --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --with-bzlib
+CONFIGURE_ARGS+=       --with-lz4
+CONFIGURE_ARGS+=       --with-lzma     # lzma & xz files
+CONFIGURE_ARGS+=       --with-zlib
+
+UGREP_PDIR=            share/ugrep/patterns
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${UGREP_PDIR}
+
+.for i in c++ c cpp cs html java js json markdown perl php python \
+       ruby rust scala swift xml
+INSTALLATION_DIRS+=    ${UGREP_PDIR}/${i}
+.endfor
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/ugrep/PLIST
diff -u /dev/null pkgsrc/textproc/ugrep/PLIST:1.1
--- /dev/null   Sat Aug  1 15:13:59 2020
+++ pkgsrc/textproc/ugrep/PLIST Sat Aug  1 15:13:59 2020
@@ -0,0 +1,192 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/01 15:13:59 scole Exp $
+bin/ug
+bin/ugrep
+man/man1/ug.1
+man/man1/ugrep.1
+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
Index: pkgsrc/textproc/ugrep/distinfo
diff -u /dev/null pkgsrc/textproc/ugrep/distinfo:1.1
--- /dev/null   Sat Aug  1 15:13:59 2020
+++ pkgsrc/textproc/ugrep/distinfo      Sat Aug  1 15:13:59 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/01 15:13:59 scole Exp $
+
+SHA1 (ugrep/v2.5.0.tar.gz) = b0b077993c5a7b6f948f889841a314f35ed95912
+RMD160 (ugrep/v2.5.0.tar.gz) = 6087438b5a61389ed5152eb64d3318260d905dc9
+SHA512 (ugrep/v2.5.0.tar.gz) = 4d4ecab89e89cfb4786f016a83b1e657cc18edbd8a757aa604a2a6f23489d3346f462c39ecc74b0b7f869ae67fc00c0d96245059b0f6a69c2c264684827b9dac
+Size (ugrep/v2.5.0.tar.gz) = 4090150 bytes
Index: pkgsrc/textproc/ugrep/options.mk
diff -u /dev/null pkgsrc/textproc/ugrep/options.mk:1.1
--- /dev/null   Sat Aug  1 15:13:59 2020
+++ pkgsrc/textproc/ugrep/options.mk    Sat Aug  1 15:13:59 2020
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2020/08/01 15:13:59 scole Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.ugrep
+PKG_SUPPORTED_OPTIONS= cpu-optimization boost-libs pcre2
+PKG_SUGGESTED_OPTIONS= cpu-optimization boost-libs pcre2
+
+.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
+
+.if !empty(PKG_OPTIONS:Mpcre2)
+CONFIGURE_ARGS+=       --with-pcre2
+.include "../../devel/pcre2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-pcre2
+.endif



Home | Main Index | Thread Index | Old Index