78ca0c056e
Another directory has code for sparc if anyone wishes to take that on, in the meantime set ONLY_FOR_ARCHS. PR: 53472 Submitted by: Mark Linimon <linimon@lonesome.com>
38 lines
960 B
Makefile
38 lines
960 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ltrace
|
|
# Date created: Mon Oct 15, 2001
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ltrace
|
|
PORTVERSION= 0.3.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://utopia.knoware.nl/users/driehuis/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-fbsd
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Dynamic Library Tracer -- similar to strace, but it traces library calls
|
|
|
|
# Although there is sparc code under the Linux/ directory, there is nothing
|
|
# other than i386 in the FreeBSD/ directory as of 2003-18-06.
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
MAN1= ltrace.1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e 's|"/etc/ltrace.conf"|"${PREFIX}/etc/ltrace.conf"|g' \
|
|
${WRKSRC}/ltrace.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ltrace ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
|
|
${INSTALL_MAN} ${WRKSRC}/ltrace.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|