View | Details | Raw Unified | Return to bug 73463
Collapse All | Expand All

(-)misc/txt2regex/Makefile (-5 / +7 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	txt2regex
9
PORTNAME=	txt2regex
10
PORTVERSION=	0.7
10
PORTVERSION=	0.8
11
CATEGORIES=	misc
11
CATEGORIES=	misc
12
MASTER_SITES=	http://txt2regex.sourceforge.net/
12
MASTER_SITES=	http://txt2regex.sourceforge.net/
13
EXTRACT_SUFX=	.tgz
13
EXTRACT_SUFX=	.tgz
Lines 15-32 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A Regular Expression "wizard"
16
COMMENT=	A Regular Expression "wizard"
17
17
18
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
18
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
19
19
20
USE_REINPLACE=	yes
20
USE_REINPLACE=	yes
21
NO_BUILD=	yes
21
NO_BUILD=	yes
22
23
MAN1=		txt2regex.1
22
PLIST_FILES=	bin/txt2regex
24
PLIST_FILES=	bin/txt2regex
23
25
24
post-patch:
26
post-patch:
25
	@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
27
	@${REINPLACE_CMD} -e \
26
		s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh
28
		"s,/bin/bash,${LOCALBASE}/bin/bash,g" ${WRKSRC}/${DISTNAME}.sh
27
	@${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
28
29
29
do-install:
30
do-install:
30
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
31
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
32
	${INSTALL_MAN} ${WRKSRC}/txt2regex.man ${MANPREFIX}/man/man1/txt2regex.1
31
33
32
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)misc/txt2regex/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (txt2regex-0.7.tgz) = 5cc7366bd762c8f05fea431d8db1eba9
1
MD5 (txt2regex-0.8.tgz) = 83bc1f95b36fe51ade8d130fab390103
2
SIZE (txt2regex-0.7.tgz) = 39287
2
SIZE (txt2regex-0.8.tgz) = 40514
(-)misc/txt2regex/pkg-descr (-5 / +5 lines)
Lines 1-7 Link Here
1
^txt2regex$ is a Regular Expression "wizard", all written with bash2 builtins,
1
^txt2regex$ is a Regular Expression Wizard that converts human sentences to
2
that converts human sentences to RegExs. with a simple interface, you just
2
regexes. In a simple interactive console interface, the user answer
3
answer to questions and build your own RegEx for a large variety of programs,
3
questions and the program build the regexes for more than 20 programs, like
4
like awk, ed, emacs, grep, perl, php, python, sed, tcl and vim. there are 18
4
Vim, Emacs, Perl, PHP, Python, Procmail and OpenOffice.org. It is a Shell
5
supported programs now.
5
Script 100% written with Bash builtin commands.
6
6
7
WWW: http://txt2regex.sourceforge.net/
7
WWW: http://txt2regex.sourceforge.net/

Return to bug 73463