# New ports collection makefile for: pstack
# Date created: 1 May 2002
# Whom: Peter Edwards <pmedwards@eircom.net>
#
# $FreeBSD: ports/sysutils/pstack/Makefile,v 1.7 2006/09/05 08:19:31 linimon Exp $
# $Id: Makefile,v 1.2 2002/11/26 10:38:28 pmedwards Exp $
#
PORTNAME= pstack
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bsd-pstack
MAINTAINER= ports@FreeBSD.org
COMMENT= Retrieve process/core file stack traces
ONLY_FOR_ARCHS= i386
MANCOMPRESSED= yes
MAN1= pstack.1
PLIST_FILES= bin/pstack
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
post-patch:
${REINPLACE_CMD} -e 's/DT_COUNT/DT_BIND_NOW/' ${WRKSRC}/elf.c
.endif
.include <bsd.port.post.mk>
syntax highlighted by Code2HTML, v. 0.9.1