Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2018 11:53:21 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467820 - in head/textproc: . regex2dfa
Message-ID:  <201804201153.w3KBrL29080502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Fri Apr 20 11:53:21 2018
New Revision: 467820
URL: https://svnweb.freebsd.org/changeset/ports/467820

Log:
  Add regex2dfa 0.1.6, command-line utility that converts regular
  expressions to DFA.
  
  PR:		227419
  Submitted by:	egypcio@googlemail.com
  Differential Revision:	https://reviews.freebsd.org/D15027

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

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Apr 20 10:47:54 2018	(r467819)
+++ head/textproc/Makefile	Fri Apr 20 11:53:21 2018	(r467820)
@@ -1446,6 +1446,7 @@
     SUBDIR += redland-bindings
     SUBDIR += refdb
     SUBDIR += reflex
+    SUBDIR += regex2dfa
     SUBDIR += replaceit
     SUBDIR += resume
     SUBDIR += resume-extensions

Added: head/textproc/regex2dfa/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/regex2dfa/Makefile	Fri Apr 20 11:53:21 2018	(r467820)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	regex2dfa
+DISTVERSION=	0.1.6
+CATEGORIES=	textproc
+
+MAINTAINER=	egypcio@googlemail.com
+COMMENT=	Command-line utility that converts regular expressions to DFA
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake libtool
+USE_GITHUB=	yes
+GH_ACCOUNT=	kpdyer
+
+GNU_CONFIGURE=	yes
+PLIST_FILES=	bin/${PORTNAME} include/${PORTNAME}.h lib/lib${PORTNAME}.a
+
+post-patch:
+	${REINPLACE_CMD} -e 's|-ldl||g' \
+		${WRKSRC}/Makefile.in \
+		${WRKSRC}/third_party/openfst/src/bin/Makefile.in \
+		${WRKSRC}/third_party/openfst/src/extensions/far/Makefile.in \
+		${WRKSRC}/third_party/openfst/src/extensions/linear/Makefile.in \
+		${WRKSRC}/third_party/openfst/src/extensions/pdt/Makefile.in \
+		${WRKSRC}/third_party/openfst/src/test/Makefile.in
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/src/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/.libs/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>

Added: head/textproc/regex2dfa/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/regex2dfa/distinfo	Fri Apr 20 11:53:21 2018	(r467820)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521110724
+SHA256 (kpdyer-regex2dfa-0.1.6_GH0.tar.gz) = 0df50423ff29e5ff25d14b336779bec6a0defc38ed4a2a558fd93fdb54dcde54
+SIZE (kpdyer-regex2dfa-0.1.6_GH0.tar.gz) = 2405175

Added: head/textproc/regex2dfa/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/regex2dfa/pkg-descr	Fri Apr 20 11:53:21 2018	(r467820)
@@ -0,0 +1,3 @@
+python/JS/C++/CLI interface for converting regexes to AT&T FSTs
+
+WWW: https://github.com/kpdyer/regex2dfa



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