From 7c321d4cf2529f78d8603c1ea77fa9fdd8dc0a27 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Wed, 26 Feb 2020 23:26:58 +0000 Subject: [PATCH] Update to 2.0 Changelog: https://gitlab.com/alfix/sysctlview/-/blob/master/CHANGELOG - Update COMMENT, pkg-descr, and DESKTOP_ENTRIES. Also, while here: - Pet portclippy & portfmt. - Simplify do-install. - Update installation path for manpages. PR: 244367 Submitted by: Alfonso S. Siciliano Approved by: Alfonso S. Siciliano (maintainer) --- deskutils/sysctlview/Makefile | 24 ++++++++++++------------ deskutils/sysctlview/distinfo | 6 +++--- deskutils/sysctlview/pkg-descr | 5 ++++- deskutils/sysctlview/pkg-plist | 2 +- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/deskutils/sysctlview/Makefile b/deskutils/sysctlview/Makefile index be41b60ac80f..a9d7339a1495 100644 --- a/deskutils/sysctlview/Makefile +++ b/deskutils/sysctlview/Makefile @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= sysctlview -PORTVERSION= 1.6 +PORTVERSION= 2.0 CATEGORIES= deskutils MAINTAINER= alfix86@gmail.com -COMMENT= Show sysctl MIB Tree +COMMENT= Graphical sysctl MIB explorer LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libsysctlmibinfo2.so:devel/libsysctlmibinfo2 +RUN_DEPENDS= xdg-open:devel/xdg-utils USES= compiler:c++11-lang gettext-runtime gnome pkgconfig -USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glib20 glibmm glibmm \ - gtk30 gtkmm30 libsigc++20 pango pangomm - USE_GITLAB= yes GL_ACCOUNT= alfix -GL_COMMIT= 83999ba6dd03f6c96bff8c617e98ca9cf8d4fe45 +GL_COMMIT= c567a2f79bb9349b6b7c1a078ed448462e2eff70 +USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 \ + libsigc++20 pango pangomm INSTALLS_ICONS= yes DESKTOP_ENTRIES= "Sysctlview" \ - "Show kernel state" \ + "Show and set the kernel state" \ "sysctlview" \ "sysctlview" \ "System;" \ @@ -46,14 +46,14 @@ IGNORE= not supported on anything but FreeBSD do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1 .for i in 16 22 24 32 36 48 64 72 96 128 192 256 - @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ && \ - ${MV} ${WRKSRC}/icon/sysctlview-${i}.png \ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ + ${INSTALL_DATA} ${WRKSRC}/icon/sysctlview-${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/sysctlview.png .endfor - ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ && \ - ${MV} ${WRKSRC}/icon/sysctlview.svg \ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ + ${INSTALL_DATA} ${WRKSRC}/icon/sysctlview.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/sysctlview.svg .include diff --git a/deskutils/sysctlview/distinfo b/deskutils/sysctlview/distinfo index c3b670eca5ef..4ecbb2628cb4 100644 --- a/deskutils/sysctlview/distinfo +++ b/deskutils/sysctlview/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1574725632 -SHA256 (alfix-sysctlview-83999ba6dd03f6c96bff8c617e98ca9cf8d4fe45_GL0.tar.gz) = 41266ad07688a3a2c32af7221bcd38eae0f61780b00944bd7c4ae7292bf7c8af -SIZE (alfix-sysctlview-83999ba6dd03f6c96bff8c617e98ca9cf8d4fe45_GL0.tar.gz) = 434144 +TIMESTAMP = 1582497693 +SHA256 (alfix-sysctlview-c567a2f79bb9349b6b7c1a078ed448462e2eff70_GL0.tar.gz) = d8d36664f5ad58e1af3b1951c1414fc85ab4ffdc0f5a387e0f61b6f7608ad6eb +SIZE (alfix-sysctlview-c567a2f79bb9349b6b7c1a078ed448462e2eff70_GL0.tar.gz) = 437338 diff --git a/deskutils/sysctlview/pkg-descr b/deskutils/sysctlview/pkg-descr index 4c05f44a48e6..3b8bae342ef0 100644 --- a/deskutils/sysctlview/pkg-descr +++ b/deskutils/sysctlview/pkg-descr @@ -1,3 +1,6 @@ -sysctlview is a gtk frontend for the sysctl mib. +The sysctlview utility is a graphical sysctl MIB explorer, +each object represents a parameter of the kernel. +The sysctlview explorer shows the properties of an object +and can get or set its value. WWW: https://gitlab.com/alfix/sysctlview/ diff --git a/deskutils/sysctlview/pkg-plist b/deskutils/sysctlview/pkg-plist index d3235a06d01c..b607982be88d 100644 --- a/deskutils/sysctlview/pkg-plist +++ b/deskutils/sysctlview/pkg-plist @@ -1,5 +1,5 @@ bin/sysctlview -man/man1/sysctlview.1.gz +share/man/man1/sysctlview.1.gz share/icons/hicolor/16x16/apps/sysctlview.png share/icons/hicolor/192x192/apps/sysctlview.png share/icons/hicolor/22x22/apps/sysctlview.png