mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 18:36:28 -04:00
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
This commit is contained in:
parent
e1538d5247
commit
5d2f0b41ef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467820
4 changed files with 41 additions and 0 deletions
|
@ -1446,6 +1446,7 @@
|
|||
SUBDIR += redland-bindings
|
||||
SUBDIR += refdb
|
||||
SUBDIR += reflex
|
||||
SUBDIR += regex2dfa
|
||||
SUBDIR += replaceit
|
||||
SUBDIR += resume
|
||||
SUBDIR += resume-extensions
|
||||
|
|
34
textproc/regex2dfa/Makefile
Normal file
34
textproc/regex2dfa/Makefile
Normal file
|
@ -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>
|
3
textproc/regex2dfa/distinfo
Normal file
3
textproc/regex2dfa/distinfo
Normal file
|
@ -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
|
3
textproc/regex2dfa/pkg-descr
Normal file
3
textproc/regex2dfa/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
|||
python/JS/C++/CLI interface for converting regexes to AT&T FSTs
|
||||
|
||||
WWW: https://github.com/kpdyer/regex2dfa
|
Loading…
Add table
Reference in a new issue