diff --git a/devel/kcachegrind/Makefile b/devel/kcachegrind/Makefile index c78b2f27d60e..6fd857dd3a6e 100644 --- a/devel/kcachegrind/Makefile +++ b/devel/kcachegrind/Makefile @@ -1,43 +1,46 @@ # New ports collection makefile for: KCachegrind # Date created: Jun 3 2004 # Whom: Simon Barner # # $FreeBSD$ # PORTNAME= kcachegrind PORTVERSION= 0.4.6 PORTREVISION= 4 CATEGORIES= devel kde MASTER_SITES= SF/${PORTNAME}/KCachegrind/KCachegrind%20${PORTVERSION} MAINTAINER= beat@FreeBSD.org COMMENT= Profiling Visualization Tool +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + ONLY_FOR_ARCHS= i386 amd64 CONFLICTS= kdesdk3-[0-9]* USE_AUTOTOOLS= libtool:22 USE_GMAKE= yes USE_KDELIBS_VER=3 INSTALLS_ICONS= yes USE_GETTEXT= yes OPTIONS= DOT "Use GraphViz/dot to render call graphs" on \ - CALLGRIND "Install devel/callgrind" off + VALGRIND "Install devel/valgrind" off .include .if defined (WITH_DOT) RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz .endif -.if defined (WITH_CALLGRIND) -RUN_DEPENDS+= callgrind:${PORTSDIR}/devel/callgrind +.if defined (WITH_VALGRIND) +RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind .endif post-patch: @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} .include