blob: af9fa1f1f6807a3d7dc9e9c7d7ceed75b136485b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= sysctlview
PORTVERSION= 2.1
CATEGORIES= deskutils
MAINTAINER= alfix86@gmail.com
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 gnome pkgconfig
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_COMMIT= 6ef5c821f66d92c2a1ca3fc964b511425dacd18e
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk30 gtkmm30 \
libsigc++20 pango pangomm
DESKTOP_ENTRIES= "Sysctlview" \
"Show and set the kernel state" \
"sysctlview" \
"sysctlview" \
"System;" \
false
.include <bsd.port.pre.mk>
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin
${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/
${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/
${INSTALL_DATA} ${WRKSRC}/icon/sysctlview.svg \
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/sysctlview.svg
.include <bsd.port.post.mk>
|