patches for OpenBSD support, which have all been committed upstream already) 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. ok dcoppa@
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/02 07:37:10 jasper Exp $
|
|
|
|
ONLY_FOR_ARCHS= ${APM_ARCHS}
|
|
|
|
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
|
|
|
|
# git snapshot as of 2011-04-08
|
|
DISTNAME= i3status-2.4.0.1
|
|
CATEGORIES= x11 sysutils
|
|
|
|
HOMEPAGE= http://i3wm.org/i3status
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
WANTLIB += c confuse ossaudio yajl
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
BUILD_DEPENDS= textproc/asciidoc
|
|
LIB_DEPENDS= devel/libconfuse \
|
|
devel/libyajl
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
# XXX: Optimizing results in seg. faults on at least amd64.
|
|
CFLAGS+= -O0
|
|
|
|
MAKE_ENV+= A2X=a2x.py \
|
|
SYSCONFDIR=${PREFIX}/share/examples/i3status/
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/i3status ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/i3status
|
|
${INSTALL_DATA} ${WRKSRC}/i3status.conf \
|
|
${PREFIX}/share/examples/i3status/
|
|
${INSTALL_MAN} ${WRKSRC}/man/i3status.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|