Import xstatbar-0.3

xstatbar is a simple system monitor that shows various stats in an X
window that's immovable and not part of your tab-order. It was built to
go with tiling window managers like scrotwm and xmonad where you can
configure a small region of the screen as "off-limits" for windows.
This commit is contained in:
ajacoutot 2010-01-09 13:55:15 +00:00
parent cb52906187
commit b3e0c54f9c
5 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/01/09 13:55:15 ajacoutot Exp $
COMMENT= simple system monitor bar
DISTNAME= xstatbar-0.3
CATEGORIES= sysutils x11
HOMEPAGE= http://www.ryanflannery.net/hacking/xstatbar/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xdmcp Xext Xrender c m
MASTER_SITES= ${HOMEPAGE}files/
EXTRACT_SUFX= .tgz
WRKDIST= ${WRKDIR}/xstatbar
ALL_TARGET= # empty
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (xstatbar-0.3.tgz) = PouIggV/ACWpoDys4+J91A==
RMD160 (xstatbar-0.3.tgz) = oOQPAysQNC6tCeQbC37DAwF2nJs=
SHA1 (xstatbar-0.3.tgz) = NxV+TtxNzXfAaAmO3/K6QfNC66M=
SHA256 (xstatbar-0.3.tgz) = F0qDJ7uWV4VvS8QC0T+x6JVkgkrFJ0RFis5gGLkQwfM=
SIZE (xstatbar-0.3.tgz) = 10301

View File

@ -0,0 +1,33 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2010/01/09 13:55:15 ajacoutot Exp $
--- Makefile.orig Wed Jan 6 22:59:09 2010
+++ Makefile Sat Jan 9 14:46:16 2010
@@ -1,13 +1,13 @@
# where to install stuff
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man/man1
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man1
# build flags
-CC=/usr/bin/cc
-CFLAGS=-c -Wall -O2 -I/usr/X11R6/include
-LDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXrender -lXau -lXdmcp -lm
+CC?=/usr/bin/cc
+CFLAGS+=-c -Wall -I${X11BASE}/include
+LDFLAGS+=-L${X11BASE}/lib -lX11 -lXext -lXrender -lXau -lXdmcp -lm
OBJS=xstatbar.o stats.o
@@ -19,8 +19,8 @@ xstatbar: $(OBJS)
### install xstatbar
install: xstatbar
- /usr/bin/install -c -m 0555 xstatbar $(BINDIR)
- /usr/bin/install -c -m 0444 xstatbar.1 $(MANDIR)
+ /usr/bin/install -c -m 0555 xstatbar $(DESTDIR)$(BINDIR)
+ /usr/bin/install -c -m 0444 xstatbar.1 $(DESTDIR)$(MANDIR)
### uninstall xstatbar
uninstall:

4
sysutils/xstatbar/pkg/DESCR Executable file
View File

@ -0,0 +1,4 @@
xstatbar is a simple system monitor that shows various stats in an X
window that's immovable and not part of your tab-order. It was built to
go with tiling window managers like scrotwm and xmonad where you can
configure a small region of the screen as "off-limits" for windows.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/01/09 13:55:15 ajacoutot Exp $
@bin bin/xstatbar
@man man/man1/xstatbar.1