ports/sysutils/xfce4-netload-plugin/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

35 lines
760 B
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
PORTNAME= xfce4-netload-plugin
PORTVERSION= 1.4.0
CATEGORIES= sysutils xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Network Load plugin for Xfce4
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
tar:bzip2 xfce
USE_GNOME= cairo gtk30 intltool
USE_XFCE= 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, || __FreeBSD_kernel__,,' \
${WRKSRC}/panel-plugin/net.c \
${WRKSRC}/panel-plugin/net.h \
${WRKSRC}/panel-plugin/os.h
.include <bsd.port.mk>