1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

add txt2regex

A Regular Expression "wizard"
This commit is contained in:
Ying-Chieh Liao 2001-06-14 07:51:23 +00:00
parent 3a26ce1394
commit 21e9cf1799
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43977
6 changed files with 41 additions and 0 deletions

View File

@ -163,6 +163,7 @@
SUBDIR += tkrunit
SUBDIR += ttyrec
SUBDIR += tvguide
SUBDIR += txt2regex
SUBDIR += uf-view
SUBDIR += uk-phone
SUBDIR += uk-postcodes

30
misc/txt2regex/Makefile Normal file
View File

@ -0,0 +1,30 @@
# ex:ts=8
# New ports collection makefile for: txt2regex
# Date created: Jun 14, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= txt2regex
PORTVERSION= 0.3
CATEGORIES= misc
MASTER_SITES= http://txt2regex.sourceforge.net/
EXTRACT_SUFX= .tgz
MAINTAINER= ijliao@FreeBSD.org
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
gseq:${PORTSDIR}/misc/sh-utils
NO_BUILD= yes
post-patch:
@${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
s,\`seq,\`gseq,g" ${WRKSRC}/txt2regex-0.3.sh
@${PERL} -pi -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/txt2regex-0.3.sh ${PREFIX}/bin/txt2regex
.include <bsd.port.mk>

1
misc/txt2regex/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (txt2regex-0.3.tgz) = bcf6c5e1b27edd3d80c63d269aa96fa0

View File

@ -0,0 +1 @@
A Regular Expression "wizard"

7
misc/txt2regex/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
^txt2regex$ is a Regular Expression "wizard", all written with bash2 builtins,
that converts human sentences to RegExs. with a simple interface, you just
answer to questions and build your own RegEx for a large variety of programs,
like awk, ed, emacs, grep, perl, php, python, sed, tcl and vim. there are 18
supported programs now.
WWW: http://txt2regex.sourceforge.net/

1
misc/txt2regex/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/txt2regex