Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 01:00:13 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73463: Update port: misc/txt2regex to 0.8
Message-ID:  <20041104010013.48d3fc34.tkato432@yahoo.com>
Resent-Message-ID: <200411031610.iA3GAMro019080@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73463
>Category:       ports
>Synopsis:       Update port: misc/txt2regex to 0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 03 16:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8

New file:
Remove file:

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/txt2regex/Makefile misc/txt2regex/Makefile
--- /usr/ports/misc/txt2regex/Makefile	Fri Feb  6 10:14:31 2004
+++ misc/txt2regex/Makefile	Wed Nov  3 01:33:54 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	txt2regex
-PORTVERSION=	0.7
+PORTVERSION=	0.8
 CATEGORIES=	misc
 MASTER_SITES=	http://txt2regex.sourceforge.net/
 EXTRACT_SUFX=	.tgz
@@ -15,18 +15,20 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A Regular Expression "wizard"
 
-RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
+RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
 USE_REINPLACE=	yes
 NO_BUILD=	yes
+
+MAN1=		txt2regex.1
 PLIST_FILES=	bin/txt2regex
 
 post-patch:
-	@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
-		s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh
-	@${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		"s,/bin/bash,${LOCALBASE}/bin/bash,g" ${WRKSRC}/${DISTNAME}.sh
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
+	${INSTALL_MAN} ${WRKSRC}/txt2regex.man ${MANPREFIX}/man/man1/txt2regex.1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/txt2regex/distinfo misc/txt2regex/distinfo
--- /usr/ports/misc/txt2regex/distinfo	Fri Jan 30 14:51:02 2004
+++ misc/txt2regex/distinfo	Wed Nov  3 01:09:00 2004
@@ -1,2 +1,2 @@
-MD5 (txt2regex-0.7.tgz) = 5cc7366bd762c8f05fea431d8db1eba9
-SIZE (txt2regex-0.7.tgz) = 39287
+MD5 (txt2regex-0.8.tgz) = 83bc1f95b36fe51ade8d130fab390103
+SIZE (txt2regex-0.8.tgz) = 40514
diff -urN /usr/ports/misc/txt2regex/pkg-descr misc/txt2regex/pkg-descr
--- /usr/ports/misc/txt2regex/pkg-descr	Thu Jun 14 16:51:23 2001
+++ misc/txt2regex/pkg-descr	Wed Nov  3 01:19:59 2004
@@ -1,7 +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.
+^txt2regex$ is a Regular Expression Wizard that converts human sentences to
+regexes. In a simple interactive console interface, the user answer
+questions and the program build the regexes for more than 20 programs, like
+Vim, Emacs, Perl, PHP, Python, Procmail and OpenOffice.org. It is a Shell
+Script 100% written with Bash builtin commands.
 
 WWW: http://txt2regex.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:



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