2001-06-14 09:51:23 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: txt2regex
|
|
|
|
# Date created: Jun 14, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= txt2regex
|
2002-03-05 03:57:37 +01:00
|
|
|
PORTVERSION= 0.7
|
2001-06-14 09:51:23 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://txt2regex.sourceforge.net/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-08-03 14:16:21 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A Regular Expression "wizard"
|
2001-06-14 09:51:23 +02:00
|
|
|
|
2001-10-09 04:23:18 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
2001-06-14 09:51:23 +02:00
|
|
|
|
2002-06-22 19:23:30 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-06-14 09:51:23 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-22 19:23:30 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \
|
2001-06-27 19:17:46 +02:00
|
|
|
s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh
|
2002-06-22 19:23:30 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile
|
2001-06-14 09:51:23 +02:00
|
|
|
|
|
|
|
do-install:
|
2001-06-27 19:17:46 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
|
2001-06-14 09:51:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|