Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 08:53:03 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480791 - head/sysutils/xfce4-systemload-plugin
Message-ID:  <201809270853.w8R8r37j077096@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Sep 27 08:53:03 2018
New Revision: 480791
URL: https://svnweb.freebsd.org/changeset/ports/480791

Log:
  - Add UPOWER option to xfce4-systemload-plugin, enabled by default
    since it was mandatory before [1]
  - While here cleanup and silence one portlint warning
  
  PR:		231731 [1]
  Submitted by:	Ali Abdallah <aliovx@gmail.com>

Modified:
  head/sysutils/xfce4-systemload-plugin/Makefile

Modified: head/sysutils/xfce4-systemload-plugin/Makefile
==============================================================================
--- head/sysutils/xfce4-systemload-plugin/Makefile	Thu Sep 27 08:50:01 2018	(r480790)
+++ head/sysutils/xfce4-systemload-plugin/Makefile	Thu Sep 27 08:53:03 2018	(r480791)
@@ -12,19 +12,23 @@ COMMENT=	System Load plugin for Xfce4 panel
 
 LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	libupower-glib.so:sysutils/upower
+USES=		gettext-tools gmake libtool pkgconfig tar:bzip2 xfce:gtk3
+USE_GNOME=	gtk30 intltool cairo gdkpixbuf2
+USE_XFCE=	panel
 
 SSP_UNSAFE=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		gettext-tools gmake libtool pkgconfig tar:bzip2 xfce:gtk3
-USE_GNOME=	gtk30 intltool cairo gdkpixbuf2
-USE_XFCE=	panel
 
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS UPOWER
+OPTIONS_DEFAULT=UPOWER
+UPOWER_DESC=	Use upower for adapting update interval to power state
 OPTIONS_SUB=	yes
 
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=	gettext-runtime
+
+UPOWER_CONFIGURE_ENABLE=upower
+UPOWER_LIB_DEPENDS=	libupower-glib.so:sysutils/upower
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809270853.w8R8r37j077096>