blob: 252b92f5a6973b0c8f2f5bd6de48a3cb131cf12e (
plain) (
blame)
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
|
PORTNAME= xfce4-netload-plugin
PORTVERSION= 1.5.0
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Network Load plugin for Xfce4
WWW= https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gettext-tools gnome meson pkgconfig \
tar:xz xfce
USE_GNOME= gtk30
USE_XFCE= libmenu panel
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
post-patch:
@${REINPLACE_CMD} -e 's/ || defined \{0,1\}(__FreeBSD_kernel__)//' \
${WRKSRC}/panel-plugin/net.c \
${WRKSRC}/panel-plugin/net.h \
${WRKSRC}/panel-plugin/os.h
post-patch-NLS-off:
@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>
|