2019-02-12 20:36:52 +01:00
|
|
|
PORTNAME= sysctlview
|
2021-03-13 11:15:12 +01:00
|
|
|
PORTVERSION= 2.1
|
2019-02-12 20:36:52 +01:00
|
|
|
CATEGORIES= deskutils
|
|
|
|
|
|
|
|
MAINTAINER= alfix86@gmail.com
|
2020-02-27 00:26:58 +01:00
|
|
|
COMMENT= Graphical sysctl MIB explorer
|
2019-02-12 20:36:52 +01:00
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2019-12-14 12:17:02 +01:00
|
|
|
LIB_DEPENDS= libsysctlmibinfo2.so:devel/libsysctlmibinfo2
|
2020-02-27 00:26:58 +01:00
|
|
|
RUN_DEPENDS= xdg-open:devel/xdg-utils
|
2019-03-25 18:15:59 +01:00
|
|
|
|
2021-03-13 11:15:12 +01:00
|
|
|
USES= compiler:c++11-lang gnome pkgconfig
|
2019-02-12 20:36:52 +01:00
|
|
|
USE_GITLAB= yes
|
|
|
|
GL_ACCOUNT= alfix
|
2021-03-13 11:15:12 +01:00
|
|
|
GL_COMMIT= 6ef5c821f66d92c2a1ca3fc964b511425dacd18e
|
2020-02-27 00:26:58 +01:00
|
|
|
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 \
|
|
|
|
libsigc++20 pango pangomm
|
2019-02-12 20:36:52 +01:00
|
|
|
|
2019-05-22 23:18:11 +02:00
|
|
|
DESKTOP_ENTRIES= "Sysctlview" \
|
2020-02-27 00:26:58 +01:00
|
|
|
"Show and set the kernel state" \
|
2019-05-22 23:18:11 +02:00
|
|
|
"sysctlview" \
|
|
|
|
"sysctlview" \
|
|
|
|
"System;" \
|
|
|
|
false
|
2019-02-12 20:36:52 +01:00
|
|
|
|
2019-09-24 19:33:50 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OPSYS} != FreeBSD
|
|
|
|
IGNORE= not supported on anything but FreeBSD
|
|
|
|
.endif
|
|
|
|
|
2019-02-12 20:36:52 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin
|
2020-02-27 00:26:58 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/share/man/man1
|
2019-04-10 23:35:29 +02:00
|
|
|
.for i in 16 22 24 32 36 48 64 72 96 128 192 256
|
2020-02-27 00:26:58 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icon/sysctlview-${i}.png \
|
2019-04-10 23:35:29 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/sysctlview.png
|
|
|
|
.endfor
|
2020-02-27 00:26:58 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icon/sysctlview.svg \
|
2019-04-10 23:35:29 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/sysctlview.svg
|
2019-02-12 20:36:52 +01:00
|
|
|
|
2019-09-24 19:33:50 +02:00
|
|
|
.include <bsd.port.post.mk>
|