2004-07-31 20:24:18 +02:00
|
|
|
# New ports collection makefile for: KCachegrind
|
|
|
|
# Date created: Jun 3 2004
|
|
|
|
# Whom: Simon Barner <barner@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kcachegrind
|
|
|
|
PORTVERSION= 0.4.5
|
|
|
|
CATEGORIES= devel kde
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= kcachegrind
|
|
|
|
|
|
|
|
MAINTAINER= barner@gmx.de
|
|
|
|
COMMENT= Profiling Visualization Tool
|
|
|
|
|
2004-09-01 18:27:21 +02:00
|
|
|
RUN_DEPENDS= callgrind:${PORTSDIR}/devel/callgrind
|
2004-07-31 20:24:18 +02:00
|
|
|
|
2004-08-02 12:45:40 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2004-07-31 20:24:18 +02:00
|
|
|
CONFLICTS= kdesdk3-[0-9]*
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2004-09-01 18:27:21 +02:00
|
|
|
OPTIONS= DOT "Use GraphViz/dot to render call graphs" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined (WITH_DOT)
|
|
|
|
RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
|
|
|
|
.endif
|
|
|
|
|
2004-07-31 20:24:18 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
2004-09-01 18:27:21 +02:00
|
|
|
.include <bsd.port.post.mk>
|