freebsd-ports/misc/txt2regex/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

30 lines
644 B
Makefile

# ex:ts=8
# New ports collection makefile for: txt2regex
# Date created: Jun 14, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= txt2regex
PORTVERSION= 0.7
CATEGORIES= misc
MASTER_SITES= http://txt2regex.sourceforge.net/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
USE_REINPLACE= yes
NO_BUILD= yes
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
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex
.include <bsd.port.mk>