aboutsummaryrefslogtreecommitdiffstats
path: root/devel/callgrind/Makefile
blob: c6c10deffe39a701a9c73e4d2bed1b7ddfc22f23 (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@gmx.de
COMMENT=    Valgrind skin for cache simulation and call tracing

RUN_DEPENDS=    valgrind:${PORTSDIR}/devel/valgrind
BUILD_DEPENDS=  valgrind:${PORTSDIR}/devel/valgrind

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>