summaryrefslogblamecommitdiff
path: root/sysutils/ltrace/Makefile
blob: e89013c1ae136e94848777fad50379ff7de00c9d (plain) (tree)



























                                                                         
                                                            

                      
# 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=	obrien@FreeBSD.org

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
MAN1=		ltrace.1

post-patch:
	${PERL} -pi.bak \
		-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>