1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

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.

WWW:	http://i3wm.org/i3status/

Feature safe:	yes
This commit is contained in:
Baptiste Daroussin 2011-12-08 12:57:59 +00:00
parent d8be07e9b6
commit 9ef2fff876
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287063
4 changed files with 50 additions and 0 deletions

View File

@ -109,6 +109,7 @@
SUBDIR += hs-X11-xft
SUBDIR += hs-xmobar
SUBDIR += i3lock
SUBDIR += i3status
SUBDIR += iceauth
SUBDIR += ico
SUBDIR += idesk

39
x11/i3status/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: i3status
# Date created: 2011-12-08
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= i3status
PORTVERSION= 2.3
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/i3status/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Small program for generating a status bar
LICENSE= BSD
LIB_DEPENDS= confuse.0:${PORTSDIR}/devel/libconfuse
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_BZIP2= yes
USE_GMAKE= yes
PLIST_FILES= bin/i3status \
etc/i3status/config.sample
PLIST_DIRSTRY= etc/i3status
MAN1= i3status.1
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/i3status.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/i3status ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/man/i3status.1 ${MANPREFIX}/man/man1
${MKDIR} ${PREFIX}/etc/i3status
${INSTALL_MAN} ${WRKSRC}/i3status.conf ${PREFIX}/etc/i3status/config.sample
.include <bsd.port.mk>

2
x11/i3status/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (i3status-2.3.tar.bz2) = 552dac4649f4e142c88ad3c42faace1fc372515c1b9dd979ebca58d36fa4bb1a
SIZE (i3status-2.3.tar.bz2) = 24814

8
x11/i3status/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
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.
WWW: http://i3wm.org/i3status/