pkgsrc/devel/etrace/Makefile
gdt 6abd6d9b92 etrace: A run-time tracing tool
-------------------------------
These source files comprise a simple but efficient utility that allows the
display of a function call tree in a C program at run-time. It is also
possible to dump the results of a program execution to an ASCII file for
later examination.

* ptrace.c compiles your code to enable this run-time tracing
* etrace is a Python script that will perform the run-time tracing by
displaying the function names as they are called
* etrace.pl is a Perl script that will perform the run-time tracing by
displaying the function names as they are called. Moreover, etrace.pl
can be used to trace dynamic libraries.
2006-10-13 23:45:15 +00:00

35 lines
974 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $
#
DISTNAME= etrace-2.1
CATEGORIES= devel
MASTER_SITES= http://ndevilla.free.fr/etrace/
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://ndevilla.free.fr/etrace/
COMMENT= Function call tracing
USE_TOOLS+= perl
NO_BUILD= yes
SHAREDIR= ${PREFIX}/share/etrace
DOCDIR= ${PREFIX}/share/doc/etrace
EXAMPLEDIR= ${PREFIX}/share/examples/etrace
BINDIR= ${PREFIX}/bin
REPLACE_PERL= src/etrace.pl
# python script uses /usr/bin/env; let it slide pending wondering if
# we really want to depend on python and use a pyNN- prefix.
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${BINDIR}
${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${BINDIR}
${INSTALL_DATA_DIR} ${SHAREDIR}
${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${SHAREDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLEDIR}
.include "../../mk/bsd.pkg.mk"