2018-05-11 i3status 2.12 • fix NULL value on OpenBSD when there is no acpitz0 • show IP address when address has a label • man: explicitly use format_up/format_down in ethernet, wireless conf • man: remove SLOC comment • treat zero battery capacity as "not available" • add IPv6 address when IPv4 isn't available • call tzset at each time print to pick up time zone changes • doc: fixed minor typos • be more cautious about handling invalid battery measurements. • Makefile: make PKG_CONFIG overridable • fix CPU unit tests • use local timezone for battery %emptytime • fix memory leak/use BEGINS_WITH macro • _first_: add check for virtual ethernet devices • add battery capacity parsing • multiple CPU support for cpu_usage • remove useless checks (we use char, not unsigned char) to fix compilation warnings • disk: sanitize trailing slashes • plug an fd leak in the OpenBSD-specific code for • suppress printing :00 seconds of remaining battery lifetime, as apm(4)'s estimate only has a granularity of minutes. • fix the deciKelvin to Celsius conversion on FreeBSD • make first_eth_interface() work on OpenBSD • include sys/select.h on OpenBSD 2017-01-21 i3status 2.11 • re-add forgotten wakeup call from SIGUSR1 handler • disk_info: bugfix: check format_not_mounted is not NULL before using it • revert back to using nanosleep • man: give more descriptive symbols to battery format • battery: removes the 'remaining' time when the battery is full • add separator and separator_block_width as universal module options • man: fix link to contrib • cpu_temperature: add glob check • battery: add status_unk • reconnect to PluseAudio when connection is lost • wireless: add ifdef to compile on macOS • order default configuration paths the same as in i3 • add version files for release tarball • man: make tztime example config match the context • cpu_usage: add color thresholds • battery: support multiple batteries • disk: use empty string for not mounted disks • default config: remove DHCP, VPN • wireless: fix FTBFS on hurd and kFreeBSD • parse uevent file to detect network device type • allow pulse device to be specified by name • battery: find batteries using glob • tztime: support locales • wireless: use blank padding for quality • add unit tests • fix compilation with -fno-common
32 lines
908 B
Makefile
32 lines
908 B
Makefile
# $NetBSD: Makefile,v 1.9 2019/03/14 11:55:29 wiz Exp $
|
|
|
|
DISTNAME= i3status-2.12
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://i3wm.org/i3status/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://i3wm.org/i3status/
|
|
COMMENT= Small program for generating a status bar
|
|
LICENSE= modified-bsd
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/${PKGBASE}/i3status.conf ${PKG_SYSCONFDIR}/i3status.conf
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
MAKE_ENV+= MANDIR=${PKGMANDIR}
|
|
MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
MAKE_ENV+= DEBUG=0
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_STAGE.fix-paths= pre-configure
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= i3status.conf
|
|
SUBST_SED.fix-paths+= -e 's,/var,${VARBASE},g'
|
|
|
|
.include "../../devel/confuse/buildlink3.mk"
|
|
.include "../../devel/yajl/buildlink3.mk"
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|