aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorfernape <fernape@FreeBSD.org>2019-03-26 01:15:59 +0800
committerfernape <fernape@FreeBSD.org>2019-03-26 01:15:59 +0800
commit654a14831d763cba9f6e11b04fcc4f8d65696566 (patch)
tree7e4e7e825a48c13b81b29ee1d968d5c22cc2ba8e /deskutils
parent33b01c8d56505b3d8986119ebf99d73ed1d4cb98 (diff)
downloadfreebsd-ports-gnome-654a14831d763cba9f6e11b04fcc4f8d65696566.tar.gz
freebsd-ports-gnome-654a14831d763cba9f6e11b04fcc4f8d65696566.tar.zst
freebsd-ports-gnome-654a14831d763cba9f6e11b04fcc4f8d65696566.zip
deskutils/sysctlview: update to 0.2
From ChangeLog: https://gitlab.com/alfix/sysctlview/blob/master/CHANGELOG * change C GTK -> C++ GTKmm * add menu * add "node dialog" when a row is * clicked * add manual page "sysctlview.1" * add TreeView "Main" * delete * TreeView "description" * delete TreeView "values" * delete TreeView "info" * delete sysctlmibinfo.c/h (dynamic linking) * delete sysctlview.window.xml PR: 236762 Submitted by: alfix86@gmail.com (maintainer)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/sysctlview/Makefile17
-rw-r--r--deskutils/sysctlview/distinfo6
-rw-r--r--deskutils/sysctlview/files/patch-main.c11
3 files changed, 11 insertions, 23 deletions
diff --git a/deskutils/sysctlview/Makefile b/deskutils/sysctlview/Makefile
index c94458a6293e..db29ed2047b7 100644
--- a/deskutils/sysctlview/Makefile
+++ b/deskutils/sysctlview/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= sysctlview
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= deskutils
MAINTAINER= alfix86@gmail.com
@@ -10,12 +10,15 @@ COMMENT= Show sysctl mib
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo
+
USES= pkgconfig gettext-runtime gnome
-USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20
+USE_GNOME= gtkmm30 atkmm glibmm pangomm glibmm gtk30 pango atk \
+ cairo glib20 cairomm libsigc++20 gdkpixbuf2 glib20
USE_GITLAB= yes
GL_ACCOUNT= alfix
-GL_COMMIT= 4f35c02f0c9fa3d27fbfbc4e654272b1c2d7d54d
+GL_COMMIT= b5f2b0071945b4324c3f1e9202f7580cd94baf56
DESKTOP_ENTRIES="Sysctlview" "Show kernel state" "" \
"sysctlview" "System;" false
@@ -27,14 +30,10 @@ NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
PLIST_FILES= bin/sysctlview \
- ${DATADIR}/sysctlview.window.xml
-
-post-patch:
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
+ man/man1/sysctlview.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${DATADIR}
- ${CP} ${WRKSRC}/sysctlview.window.xml ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/deskutils/sysctlview/distinfo b/deskutils/sysctlview/distinfo
index d871e1ee36d0..945e51405bbe 100644
--- a/deskutils/sysctlview/distinfo
+++ b/deskutils/sysctlview/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1549083799
-SHA256 (alfix-sysctlview-4f35c02f0c9fa3d27fbfbc4e654272b1c2d7d54d_GL0.tar.gz) = 60289d811c13b5066bfef686b431e3b2cb046a241bf542fcbca671bdc1bbceb7
-SIZE (alfix-sysctlview-4f35c02f0c9fa3d27fbfbc4e654272b1c2d7d54d_GL0.tar.gz) = 304472
+TIMESTAMP = 1553373201
+SHA256 (alfix-sysctlview-b5f2b0071945b4324c3f1e9202f7580cd94baf56_GL0.tar.gz) = 93645d5992403e262639cbdb3b21e01984e858a69b8ae2bc2409869d2255d004
+SIZE (alfix-sysctlview-b5f2b0071945b4324c3f1e9202f7580cd94baf56_GL0.tar.gz) = 561149
diff --git a/deskutils/sysctlview/files/patch-main.c b/deskutils/sysctlview/files/patch-main.c
deleted file mode 100644
index b6990d6e248e..000000000000
--- a/deskutils/sysctlview/files/patch-main.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.c.orig 2018-12-26 11:57:59 UTC
-+++ main.c
-@@ -27,7 +27,7 @@
-
- #include "trees.h"
-
--#define DATADIR "./"
-+#define DATADIR "%%PREFIX%%/share/sysctlview/"
-
- int
- main (int argc, char *argv[])