aboutsummaryrefslogtreecommitdiff
path: root/devel/callgrind/Makefile
blob: 0360f4fe2256070aeaed6da74d87796ec83e6c68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	calltree
# Date created:				Jun 3 2004
# Whom:					Simon Barner <barner@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	callgrind
PORTVERSION=	0.9.8
CATEGORIES=	devel
MASTER_SITES=	http://kcachegrind.sourceforge.net/

MAINTAINER=	barner@FreeBSD.org
COMMENT=	Valgrind skin for cache simulation and call tracing

# see http://lists.freebsd.org/pipermail/cvs-ports/2006-December/112797.html
#IGNORE=	Dumps core \(SIGBUS\). \(Also v. 0.9.10\!\)

ONLY_FOR_ARCHS=	i386
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

OPTIONS=	VALGRIND_SNAPSHOT	"Depend on snapshot version of valgrind" off
.include <bsd.port.pre.mk>

.if defined (WITH_VALGRIND_SNAPSHOT)
RUN_DEPENDS=	valgrind:${PORTSDIR}/devel/valgrind-snapshot
BUILD_DEPENDS=	valgrind:${PORTSDIR}/devel/valgrind-snapshot
.else
RUN_DEPENDS=	valgrind:${PORTSDIR}/devel/valgrind
BUILD_DEPENDS=	valgrind:${PORTSDIR}/devel/valgrind
.endif

.include <bsd.port.post.mk>