# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kcachegrind
#	kcachegrind/Makefile
#	kcachegrind/distinfo
#	kcachegrind/pkg-descr
#	kcachegrind/pkg-plist
#	kcachegrind/files
#	kcachegrind/files/patch-aclocal.m4
#
echo c - kcachegrind
mkdir -p kcachegrind > /dev/null 2>&1
echo x - kcachegrind/Makefile
sed 's/^X//' >kcachegrind/Makefile << 'END-of-kcachegrind/Makefile'
X# New ports collection makefile for:	KCachegrind
X# Date created:				Jun 3 2004
X# Whom:					Simon Barner <barner@gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kcachegrind
XPORTVERSION=	0.4.5
XCATEGORIES=	devel kde
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	kcachegrind
X
XMAINTAINER=	barner@gmx.de
XCOMMENT=	Profiling Visualization Tool
X
XBUILD_DEPENDS=	mcopidl:${PORTSDIR}/audio/arts
XRUN_DEPENDS=	calltree:${PORTSDIR}/devel/calltree
X
XCONFLICTS=	kdesdk3-*
X
XUSE_AUTOCONF_VER=259
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	"--with-extra-includes=/usr/include \
X			--with-extra-includes=${LOCALBASE}/include \
X			--with-extra-libs=${LOCALBASE}/lib \
X			--with-extra-libs=/usr/lib"
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
X		LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
XUSE_GMAKE=	yes
XUSE_KDELIBS_VER=3
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/x11/kde3/Makefile.kde"
X.include <bsd.port.post.mk>
END-of-kcachegrind/Makefile
echo x - kcachegrind/distinfo
sed 's/^X//' >kcachegrind/distinfo << 'END-of-kcachegrind/distinfo'
XMD5 (kcachegrind-0.4.5.tar.gz) = d195aa468fd643811ffe09f6e6491e9c
XSIZE (kcachegrind-0.4.5.tar.gz) = 960382
END-of-kcachegrind/distinfo
echo x - kcachegrind/pkg-descr
sed 's/^X//' >kcachegrind/pkg-descr << 'END-of-kcachegrind/pkg-descr'
XKCachegrind is a visualization tool for the profiling data generated by
XCachegrind (which is part of valgrind) and Calltree.
X
XWWW: http://kcachegrind.sourceforge.net
END-of-kcachegrind/pkg-descr
echo x - kcachegrind/pkg-plist
sed 's/^X//' >kcachegrind/pkg-plist << 'END-of-kcachegrind/pkg-plist'
Xbin/dprof2calltree
Xbin/hotshot2calltree
Xbin/kcachegrind
Xbin/op2calltree
Xbin/pprof2calltree
Xshare/applnk/Development/kcachegrind.desktop
Xshare/apps/kcachegrind/icons/hicolor/16x16/actions/fromrec.png
Xshare/apps/kcachegrind/icons/hicolor/16x16/actions/percent.png
Xshare/apps/kcachegrind/icons/hicolor/16x16/actions/recrec.png
Xshare/apps/kcachegrind/icons/hicolor/16x16/actions/torec.png
Xshare/apps/kcachegrind/icons/hicolor/22x22/actions/percent.png
Xshare/apps/kcachegrind/icons/hicolor/32x32/actions/percent.png
Xshare/apps/kcachegrind/kcachegrindui.rc
Xshare/apps/kcachegrind/tips
Xshare/doc/HTML/en/kcachegrind/index.docbook
Xshare/doc/HTML/en/kcachegrind/index.cache.bz2
Xshare/icons/hicolor/32x32/apps/kcachegrind.png
Xshare/icons/hicolor/48x48/apps/kcachegrind.png
Xshare/icons/locolor/16x16/apps/kcachegrind.png
Xshare/icons/locolor/32x32/apps/kcachegrind.png
Xshare/locale/de/LC_MESSAGES/kcachegrind.mo
Xshare/locale/fr/LC_MESSAGES/kcachegrind.mo
Xshare/locale/it/LC_MESSAGES/kcachegrind.mo
Xshare/mimelnk/application/x-kcachegrind.desktop
X@dirrm share/apps/kcachegrind/icons/hicolor/32x32/actions
X@dirrm share/apps/kcachegrind/icons/hicolor/32x32
X@dirrm share/apps/kcachegrind/icons/hicolor/22x22/actions
X@dirrm share/apps/kcachegrind/icons/hicolor/22x22
X@dirrm share/apps/kcachegrind/icons/hicolor/16x16/actions
X@dirrm share/apps/kcachegrind/icons/hicolor/16x16
X@dirrm share/apps/kcachegrind/icons/hicolor
X@dirrm share/apps/kcachegrind/icons
X@dirrm share/apps/kcachegrind
X@dirrm share/doc/HTML/en/kcachegrind
END-of-kcachegrind/pkg-plist
echo c - kcachegrind/files
mkdir -p kcachegrind/files > /dev/null 2>&1
echo x - kcachegrind/files/patch-aclocal.m4
sed 's/^X//' >kcachegrind/files/patch-aclocal.m4 << 'END-of-kcachegrind/files/patch-aclocal.m4'
X--- aclocal.m4.orig	Wed Apr 28 21:47:24 2004
X+++ aclocal.m4	Sat Jul 31 16:24:17 2004
X@@ -2773,7 +2773,7 @@
X         CFLAGS="-g -O2 $CFLAGS"
X       fi
X     else
X-      CFLAGS="-O2 $CFLAGS"
X+      CFLAGS="$CFLAGS"
X     fi
X   fi
X 
X@@ -2815,7 +2815,7 @@
X       if test "$CXX" = "KCC"; then
X         CXXFLAGS="+K3 $CXXFLAGS"
X       else
X-        CXXFLAGS="-O2 $CXXFLAGS"
X+        CXXFLAGS="$CXXFLAGS"
X       fi  
X     fi
X   fi
END-of-kcachegrind/files/patch-aclocal.m4
exit