pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/jgrep New package textproc/jgrep



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45bacd3a03fe
branches:  trunk
changeset: 347572:45bacd3a03fe
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Tue May 24 22:27:49 2016 +0000

description:
New package textproc/jgrep

jgrep 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

diffstat:

 textproc/jgrep/DESCR    |  12 ++++++++++++
 textproc/jgrep/Makefile |  33 +++++++++++++++++++++++++++++++++
 textproc/jgrep/PLIST    |   8 ++++++++
 textproc/jgrep/distinfo |   6 ++++++
 4 files changed, 59 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r cf0059cda6bf -r 45bacd3a03fe textproc/jgrep/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jgrep/DESCR      Tue May 24 22:27:49 2016 +0000
@@ -0,0 +1,12 @@
+jgrep 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 -r cf0059cda6bf -r 45bacd3a03fe textproc/jgrep/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jgrep/Makefile   Tue May 24 22:27:49 2016 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2016/05/24 22:27:49 cheusov Exp $
+#
+
+#PKGNAME=      jgrep-0.4.0
+DISTNAME=      jgrep-0.4.0
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=cheusov/}
+GITHUB_PROJECT= jgrep
+#GITHUB_RELEASE= ${DISTNAME}
+
+MAINTAINER=    cheusov%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/cheusov/jgrep
+COMMENT=       Command-line grep-like utility written in Java
+
+TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven
+
+LICENSE=       mit
+
+USE_LANGUAGES= c
+USE_JAVA=      yes
+
+TEST_TARGET=   test
+
+MAKE_ENV+=     MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_ENV+=     AWK_PROG=${AWK:Q}
+
+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 -r cf0059cda6bf -r 45bacd3a03fe textproc/jgrep/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jgrep/PLIST      Tue May 24 22:27:49 2016 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/24 22:27:49 cheusov Exp $
+bin/jgrep
+lib/jgrep/jgrep-0.1-jar-with-dependencies.jar
+lib/libjgrep_jni.a
+lib/libjgrep_jni.so
+lib/libjgrep_jni.so.0
+lib/libjgrep_jni.so.0.0
+man/man1/jgrep.1
diff -r cf0059cda6bf -r 45bacd3a03fe textproc/jgrep/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/jgrep/distinfo   Tue May 24 22:27:49 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/24 22:27:49 cheusov Exp $
+
+SHA1 (jgrep-0.4.0.tar.gz) = e2e6aac5c2b79915901b1b86e54382b8d6bb1633
+RMD160 (jgrep-0.4.0.tar.gz) = 45052a31c07abd691847704947dbbc16377c7da7
+SHA512 (jgrep-0.4.0.tar.gz) = 04c5d963c8aa01728ed3bd500c96379e777920df4a92fb58b9f0af3b1553da011ea7fc55082e0b85cf55d67cb84a60f212302a628942067a35997c5ca3189eb9
+Size (jgrep-0.4.0.tar.gz) = 20075 bytes



Home | Main Index | Thread Index | Old Index