summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-netload-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfce4-netload-plugin/Makefile')
-rw-r--r--sysutils/xfce4-netload-plugin/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/sysutils/xfce4-netload-plugin/Makefile b/sysutils/xfce4-netload-plugin/Makefile
index 6d7baf4ad5c8..252b92f5a697 100644
--- a/sysutils/xfce4-netload-plugin/Makefile
+++ b/sysutils/xfce4-netload-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-netload-plugin
-PORTVERSION= 1.4.2
+PORTVERSION= 1.5.0
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@@ -11,21 +11,15 @@ WWW= https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
-
-USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
- tar:bzip2 xfce
-USE_GNOME= cairo gdkpixbuf gtk30
+USES= compiler:c11 gettext-tools gnome meson pkgconfig \
+ tar:xz xfce
+USE_GNOME= gtk30
USE_XFCE= libmenu panel
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
post-patch:
@${REINPLACE_CMD} -e 's/ || defined \{0,1\}(__FreeBSD_kernel__)//' \
@@ -33,4 +27,7 @@ post-patch:
${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>