ports/sysutils/xfce4-netload-plugin/Makefile
Nuno Teixeira 3572ca3e01 */*: Bump consumers of x11-toolkits/gtk30
New version of gtk3 in tree
2023-12-23 18:14:14 +00:00

37 lines
878 B
Makefile

PORTNAME= xfce4-netload-plugin
PORTVERSION= 1.4.1
PORTREVISION= 2
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Network Load plugin for Xfce4
WWW= https://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
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 gdkpixbuf2 gtk30 intltool
USE_XFCE= libmenu panel
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
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
.include <bsd.port.mk>