# New ports collection makefile for:	strace
# Date created:		Tue May 15 22:29:27 MSD 2001
# Whom:			Alex Semenyaka <alex@rinet.ru>
#
# $FreeBSD$
#

PORTNAME=	strace
PORTVERSION=	4.5.1
PORTREVISION=	1
CATEGORIES=	devel sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	alex@rinet.ru
COMMENT=	A portable process tracer

USE_BZIP2=	yes
USE_PERL5=	yes # for strace-graph
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	i386

MAN1=		strace.1

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

post-patch:
	${REINPLACE_CMD} 's,/usr/bin/perl,${PERL},' ${WRKSRC}/strace-graph

do-install:
	${MKDIR} ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin
	${MKDIR} ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/strace.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in AUTHORS COPYRIGHT CREDITS ChangeLog NEWS PORTING \
	README README-freebsd README-svr4 TODO
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
d>
<td class='main'><a href='/~lantw44/cgit/cgit.cgi/'>index</a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'/><select name='h' onchange='this.form.submit();'>
<option value='master'>master</option>
<option value='mesa-next' selected='selected'>mesa-next</option>
<option value='wayland'>wayland</option>
<option value='xorg-server-1.19.6'>xorg-server-1.19.6</option>
<option value='xserver-next'>xserver-next</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/refs/?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_mp3'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/tree/www/mod_mp3?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/www/mod_mp3?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/diff/www/mod_mp3?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/www/mod_mp3'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_mp3'>
<input type='hidden' name='id' value='f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>www</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_mp3?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c'>mod_mp3</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_mp3?id=f36a1f50e39beb8ca5730e72da77d8c7dfc3672c&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/www/mod_mp3?id=2337392a14140750c76cb1635e35abe7ae7994fa'>- Fix MASTER_SITES</a></td><td>clement</td><td><span title='2005-05-22 21:45:59 +0800'>2005-05-22</span>