diff options
author | cheusov <cheusov@pkgsrc.org> | 2016-05-29 07:06:35 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2016-05-29 07:06:35 +0000 |
commit | b72ca6fbce7e0d7b54a15dbc3a849cdbea7944e1 (patch) | |
tree | 16fd0836fa2c42aaffb81cd132501f2985dc0732 | |
parent | 108b7da13e805604ff9b62d7b91cdb9cda2785ef (diff) | |
download | pkgsrc-b72ca6fbce7e0d7b54a15dbc3a849cdbea7944e1.tar.gz |
jrep -- renamed jgrep
jrep is a command-line grep-like utility written in Java.
Features:
-- Java regular expressions
(https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html)
-- Support for RE2J
(https://github.com/google/re2)
-- POSIX options (excluding -E and -G)
(http://pubs.opengroup.org/onlinepubs/009604499/utilities/grep.html)
-- most GNU grep(1) options
(https://www.gnu.org/software/grep/)
-- Extensions over GNU grep(1):
options -O, -2 and -8
-rw-r--r-- | textproc/jrep/DESCR | 12 | ||||
-rw-r--r-- | textproc/jrep/Makefile | 32 | ||||
-rw-r--r-- | textproc/jrep/PLIST | 9 | ||||
-rw-r--r-- | textproc/jrep/distinfo | 6 |
4 files changed, 59 insertions, 0 deletions
diff --git a/textproc/jrep/DESCR b/textproc/jrep/DESCR new file mode 100644 index 00000000000..bc4865f4f97 --- /dev/null +++ b/textproc/jrep/DESCR @@ -0,0 +1,12 @@ +jrep is a command-line grep-like utility written in Java. +Features: + -- Java regular expressions + (https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html) + -- Support for RE2J + (https://github.com/google/re2) + -- POSIX options (excluding -E and -G) + (http://pubs.opengroup.org/onlinepubs/009604499/utilities/grep.html) + -- most GNU grep(1) options + (https://www.gnu.org/software/grep/) + -- Extensions over GNU grep(1): + options -O, -2 and -8 diff --git a/textproc/jrep/Makefile b/textproc/jrep/Makefile new file mode 100644 index 00000000000..2ead8eca42c --- /dev/null +++ b/textproc/jrep/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1 2016/05/29 07:06:35 cheusov Exp $ +# + +DISTNAME= jrep-0.6.0 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/} +GITHUB_PROJECT= jrep +#GITHUB_RELEASE= ${DISTNAME} + +MAINTAINER= cheusov@NetBSD.org +HOMEPAGE= https://github.com/cheusov/jrep +COMMENT= Command-line grep-like utility written in Java + +TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven +SUPERSEDES+= jgrep-[0-9]* + +LICENSE= apache-2.0 + +USE_LANGUAGES= c +USE_JAVA= yes + +TEST_TARGET= test + +MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} + +MAVEN_FLAGS+= -Duser.home=${FAKEHOMEDIR} +MAVEN_FLAGS+= -Dmaven.repo.local=${WRKDIR}/deps +MAVEN_FLAGS+= --offline + +.include "../../devel/mk-configure/mk-c.mk" +.include "../../mk/java-vm.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/jrep/PLIST b/textproc/jrep/PLIST new file mode 100644 index 00000000000..72618d94f23 --- /dev/null +++ b/textproc/jrep/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2016/05/29 07:06:35 cheusov Exp $ +bin/jrep +lib/jrep/jrep-0.1-jar-with-dependencies.jar +lib/libjrep_jni.so +man/man1/jrep.1 +share/jrep/LICENSE +share/jrep/NEWS +share/jrep/README +share/jrep/TODO diff --git a/textproc/jrep/distinfo b/textproc/jrep/distinfo new file mode 100644 index 00000000000..5672781d8af --- /dev/null +++ b/textproc/jrep/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/05/29 07:06:35 cheusov Exp $ + +SHA1 (jrep-0.6.0.tar.gz) = 520fe2390ee15423ffd6d77e7ee247a82520e7fa +RMD160 (jrep-0.6.0.tar.gz) = 304ca8b44294d10ee046ab97e72ecb60e8b37158 +SHA512 (jrep-0.6.0.tar.gz) = b0613288f2df1eacbf2dae8dce2565ceeccde9237c7333c0f60c94c7321d8e722d8d76d280d670e0168e61643f2732d4837f7299f0db4a80adece69edb83c3e8 +Size (jrep-0.6.0.tar.gz) = 20886 bytes |