git: c35a29967298 - main - devel/massif-visualizer: new port massif visualizer

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Fri, 14 Apr 2023 08:58:20 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c35a29967298c589d0fc118850e7dc968d612c61

commit c35a29967298c589d0fc118850e7dc968d612c61
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-04-13 12:16:27 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-04-14 08:22:10 +0000

    devel/massif-visualizer: new port massif visualizer
    
    Massif Visualizer is a tool that - who'd guess that - visualizes
    massif data. You run your application in Valgrind with --tool=massif
    and then open the generated massif.out.%pid in the visualizer. Gzip
    or Bzip2 compressed massif files can also be opened transparently.
---
 devel/Makefile                    |  1 +
 devel/massif-visualizer/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/massif-visualizer/distinfo  |  3 +++
 devel/massif-visualizer/pkg-descr |  2 ++
 devel/massif-visualizer/pkg-plist | 11 +++++++++++
 5 files changed, 45 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4f760ae5e1cc..5997168bfb96 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1551,6 +1551,7 @@
     SUBDIR += malloy
     SUBDIR += marisa-trie
     SUBDIR += marl
+    SUBDIR += massif-visualizer
     SUBDIR += mate-common
     SUBDIR += maven
     SUBDIR += maven-wrapper
diff --git a/devel/massif-visualizer/Makefile b/devel/massif-visualizer/Makefile
new file mode 100644
index 000000000000..5d18b80d2ab8
--- /dev/null
+++ b/devel/massif-visualizer/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	massif-visualizer
+DISTVERSION=	0.7.0
+CATEGORIES=	devel kde kde-applications
+
+MAINTAINER=	rodrigo@FreeBSD.org
+COMMENT=	Graphical viewer for Massif data
+WWW=		https://apps.kde.org/massif-visualizer/
+
+LICENSE=		GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libKChart.so:graphics/kdiagram
+
+USES=		cmake compiler:c++11-lang desktop-file-utils gettext \
+			pkgconfig kde:5 qt:5 tar:xz cpe xorg shared-mime-info
+USE_GITHUB=	yes
+GH_ACCOUNT=	kde
+GH_PROJECT=	massif-visualizer
+GH_TAGNAME=	v0.7.0
+USE_KDE= 	archive  auth  auth  codecs  completion  config  config  \
+			configwidgets  coreaddons  i18n  jobwidgets  kio parts  service  \
+			solid sonnet texteditor textwidgets  widgetsaddons  windowsystem  \
+			xmlgui
+USE_QT=		concurrent core dbus gui network printsupport svg widgets xml \
+			buildtools:build qmake:build testlib:build
+USE_XORG=	x11
+
+.include <bsd.port.mk>
diff --git a/devel/massif-visualizer/distinfo b/devel/massif-visualizer/distinfo
new file mode 100644
index 000000000000..266340209e03
--- /dev/null
+++ b/devel/massif-visualizer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681373447
+SHA256 (KDE/release-service/22.12.3/kde-massif-visualizer-0.7.0-v0.7.0_GH0.tar.gz) = 922c1c4e4ece49ba270fdf67c665a63fd6dd171208dc0ed292199320497ac65d
+SIZE (KDE/release-service/22.12.3/kde-massif-visualizer-0.7.0-v0.7.0_GH0.tar.gz) = 543854
diff --git a/devel/massif-visualizer/pkg-descr b/devel/massif-visualizer/pkg-descr
new file mode 100644
index 000000000000..74b45f1d0cd1
--- /dev/null
+++ b/devel/massif-visualizer/pkg-descr
@@ -0,0 +1,2 @@
+massif-visualizer is a graphical viewer for Massif data that is
+often easier to use than ms_print.
diff --git a/devel/massif-visualizer/pkg-plist b/devel/massif-visualizer/pkg-plist
new file mode 100644
index 000000000000..f6c51bbfe156
--- /dev/null
+++ b/devel/massif-visualizer/pkg-plist
@@ -0,0 +1,11 @@
+bin/massif-visualizer
+share/applications/org.kde.massif-visualizer.desktop
+share/config.kcfg/massif-visualizer-settings.kcfg
+share/icons/hicolor/scalable/apps/massif-visualizer.svg
+share/kxmlgui5/massif-visualizer/callgraphtabui.rc
+share/kxmlgui5/massif-visualizer/charttabui.rc
+share/kxmlgui5/massif-visualizer/documentwidgetui.rc
+share/kxmlgui5/massif-visualizer/massif-visualizerui.rc
+%%DATADIR%%/icons/hicolor/%%KDE_APPLICATIONS_VERSION_SHORT%%x%%KDE_APPLICATIONS_VERSION_SHORT%%/actions/shortentemplates.png
+share/metainfo/org.kde.massif-visualizer.appdata.xml
+share/mime/packages/massif.xml