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:
parent
cb52906187
commit
b3e0c54f9c
33
sysutils/xstatbar/Makefile
Normal file
33
sysutils/xstatbar/Makefile
Normal 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>
|
5
sysutils/xstatbar/distinfo
Normal file
5
sysutils/xstatbar/distinfo
Normal 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
|
33
sysutils/xstatbar/patches/patch-Makefile
Normal file
33
sysutils/xstatbar/patches/patch-Makefile
Normal 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
4
sysutils/xstatbar/pkg/DESCR
Executable 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.
|
3
sysutils/xstatbar/pkg/PLIST
Normal file
3
sysutils/xstatbar/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user