1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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 <alfix86@gmail.com>
Approved by:	Alfonso S. Siciliano (maintainer)
This commit is contained in:
Mateusz Piotrowski 2020-02-26 23:26:58 +00:00
parent ce665cfca8
commit 7c321d4cf2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527226
4 changed files with 20 additions and 17 deletions

View File

@ -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 <bsd.port.post.mk>

View File

@ -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

View File

@ -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/

View File

@ -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