i3status is a small program (about 1500 SLOC) for generating a status bar for dzen2, xmobar or similar programs. It is designed to be very efficient by issuing a very small number of system calls, as one generally wants to update such a status line every second. This ensures that even under high load, your status bar is updated correctly. Also, it saves a bit of energy by not hogging your CPU as much as spawning the corresponding amount of shell commands would.
30 lines
896 B
Makefile
30 lines
896 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2011/08/01 14:48:00 pallegra Exp $
|
|
#
|
|
|
|
DISTNAME= i3status-2.3
|
|
CATEGORIES= sysutils wm
|
|
MASTER_SITES= http://i3wm.org/i3status/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pallegra@gmail.com
|
|
HOMEPAGE= http://i3wm.org/i3status/
|
|
COMMENT= Small program for generating a status bar
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/i3status
|
|
CONF_FILES= ${PREFIX}/share/doc/i3status/i3status.conf ${PKG_SYSCONFDIR}/i3status.conf
|
|
|
|
MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
MAKE_ENV+= DEBUG=0
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/i3status ${DESTDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/i3status.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
|
|
${INSTALL_DATA} ${WRKSRC}/i3status.conf ${DESTDIR}${PREFIX}/share/doc/i3status/
|
|
|
|
.include "../../devel/confuse/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|