Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 15:11:23 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487177 - in head/textproc: . crex crex/files
Message-ID:  <201812101511.wBAFBN4E075866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Dec 10 15:11:22 2018
New Revision: 487177
URL: https://svnweb.freebsd.org/changeset/ports/487177

Log:
  New port: textproc/crex
  
  Explore, test, and check regular expressions in the terminal.
  
  Given your regular expression and text, crex will output matches,
  capture groups, and details.  crex has a range of options, allowing
  fine grained control over matching and output.  It uses ECMAScript
  grammar by default, while also accepting posix, extended posix,
  awk, grep, and extended grep grammars.  Input can be received by
  piped stdin, or by using the -s option.  Output options include
  plain, colour, and json formats.
  
  WWW: https://octobanana.com/software/crex

Added:
  head/textproc/crex/
  head/textproc/crex/Makefile   (contents, props changed)
  head/textproc/crex/distinfo   (contents, props changed)
  head/textproc/crex/files/
  head/textproc/crex/files/Makefile   (contents, props changed)
  head/textproc/crex/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Mon Dec 10 14:55:24 2018	(r487176)
+++ head/textproc/Makefile	Mon Dec 10 15:11:22 2018	(r487177)
@@ -100,6 +100,7 @@
     SUBDIR += confetti
     SUBDIR += confget
     SUBDIR += consul-template
+    SUBDIR += crex
     SUBDIR += crimson
     SUBDIR += crunch
     SUBDIR += cs-aspell

Added: head/textproc/crex/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/crex/Makefile	Mon Dec 10 15:11:22 2018	(r487177)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	crex
+DISTVERSION=	0.2.5
+CATEGORIES=	textproc
+
+MAINTAINER=	tobik@FreeBSD.org
+COMMENT=	Explore, test, and check regular expressions in the terminal
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC:H}/LICENSE
+
+USES=		compiler:c++14-lang
+USE_CXXSTD=	c++14
+USE_GITHUB=	yes
+GH_ACCOUNT=	octobanana
+
+MAKEFILE=	${FILESDIR}/Makefile
+PLIST_FILES=	bin/crex
+WRKSRC_SUBDIR=	src
+
+.include <bsd.port.mk>

Added: head/textproc/crex/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/crex/distinfo	Mon Dec 10 15:11:22 2018	(r487177)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1544430692
+SHA256 (octobanana-crex-0.2.5_GH0.tar.gz) = c6a166b7a1e696a7babeaf7c5728eece1624704a18357f827129fc95ef2ecc56
+SIZE (octobanana-crex-0.2.5_GH0.tar.gz) = 78575

Added: head/textproc/crex/files/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/crex/files/Makefile	Mon Dec 10 15:11:22 2018	(r487177)
@@ -0,0 +1,7 @@
+all: crex
+
+crex: main.o crex.o ansi_escape_codes.o
+	${CXX} ${LDFLAGS} -o crex main.o crex.o ansi_escape_codes.o ${LIBS}
+
+install:
+	${BSD_INSTALL_PROGRAM} crex ${DESTDIR}${PREFIX}/bin

Added: head/textproc/crex/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/crex/pkg-descr	Mon Dec 10 15:11:22 2018	(r487177)
@@ -0,0 +1,11 @@
+Explore, test, and check regular expressions in the terminal.
+
+Given your regular expression and text, crex will output matches,
+capture groups, and details.  crex has a range of options, allowing
+fine grained control over matching and output.  It uses ECMAScript
+grammar by default, while also accepting posix, extended posix,
+awk, grep, and extended grep grammars.  Input can be received by
+piped stdin, or by using the -s option.  Output options include
+plain, colour, and json formats.
+
+WWW: https://octobanana.com/software/crex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812101511.wBAFBN4E075866>