1b01e5346b
- Pass maintainer-ship to submitter [1] - Mark it IGNORE on OSVERSION prior 502000 since it depends on PT_SYSCALL ptrace option PR: 102325 [1], 100329 (related) Submitted by: Amnon Aaronsohn <bla@cs.huji.ac.il> [1]
44 lines
973 B
Makefile
44 lines
973 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.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.cs.huji.ac.il/~bla/ports/
|
|
|
|
MAINTAINER= bla@cs.huji.ac.il
|
|
COMMENT= Dynamic Library Tracer -- similar to strace, but trace library calls
|
|
|
|
LIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf
|
|
|
|
# The FreeBSD port exists only for i386
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
PLIST_FILES= bin/ltrace etc/ltrace.conf
|
|
|
|
CONFLICTS= polygraph-2*
|
|
|
|
MAN1= ltrace.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 502000
|
|
IGNORE= depends on PT_SYSCALL ptrace option
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
|
|
|
|
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.post.mk>
|