diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-10-21 04:29:02 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-10-21 04:29:02 +0000 |
commit | b18993731fd7ebe4fef62bd420791fd279ae5f38 (patch) | |
tree | 62d53826b179ac66beb643d09a04e0b2d2f63b94 /sysutils | |
parent | Update this puppy to 21.1.7. (diff) |
WindowMaker dockapp that displays info about your battery.
Submitted by: Will Andrews <andrews@technologist.com>
PR: 13809
Notes
Notes:
svn path=/head/; revision=22541
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/wmbattery/Makefile | 34 | ||||
-rw-r--r-- | sysutils/wmbattery/distinfo | 1 | ||||
-rw-r--r-- | sysutils/wmbattery/files/patch-aa | 32 | ||||
-rw-r--r-- | sysutils/wmbattery/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/wmbattery/pkg-descr | 16 | ||||
-rw-r--r-- | sysutils/wmbattery/pkg-plist | 20 |
6 files changed, 104 insertions, 0 deletions
diff --git a/sysutils/wmbattery/Makefile b/sysutils/wmbattery/Makefile new file mode 100644 index 000000000000..d127ed30b328 --- /dev/null +++ b/sysutils/wmbattery/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: wmbattery +# Version required: 1.9 +# Date created: 18 Sep 1999 +# Whom: Will Andrews <andrews@technologist.com> +# +# $FreeBSD$ +# + +DISTNAME= wmbattery +PKGNAME= ${DISTNAME}-1.9 +CATEGORIES= sysutils +MASTER_SITES= http://kitenet.net/programs/code/wmbattery/ + +MAINTAINER= andrews@technologist.com + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm + +USE_X_PREFIX= yes + +USE_GMAKE= YES +MAKE_ENV= PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" +ALL_TARGET= wmbattery +MAN1= wmbattery.1 + +# install additional docs +.if !defined(NOPORTDOCS) +post-install: +.for i in COPYING INSTALL README TODO + @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/wmbattery +.endfor +.endif + +.include <bsd.port.mk> diff --git a/sysutils/wmbattery/distinfo b/sysutils/wmbattery/distinfo new file mode 100644 index 000000000000..cb1a094d7c39 --- /dev/null +++ b/sysutils/wmbattery/distinfo @@ -0,0 +1 @@ +MD5 (wmbattery.tar.gz) = e42cb129ac91d985e39744cd0a39db42 diff --git a/sysutils/wmbattery/files/patch-aa b/sysutils/wmbattery/files/patch-aa new file mode 100644 index 000000000000..0238a054f82b --- /dev/null +++ b/sysutils/wmbattery/files/patch-aa @@ -0,0 +1,32 @@ +--- Makefile Sun Sep 5 13:54:35 1999 ++++ Makefile.new Sat Sep 18 17:23:26 1999 +@@ -1,8 +1,9 @@ +-ICONDIR = /usr/X11R6/share/wmbattery +-BINDIR = /usr/X11R6/bin +-MANDIR = /usr/X11R6/man/man1 +-INCDIR = -I/usr/X11R6/include +-LIBDIR = -L/usr/X11R6/lib ++PREFIX = /usr/X11R6 ++ICONDIR = $(PREFIX)/share/wmbattery/icons ++BINDIR = $(PREFIX)/bin ++MANDIR = $(PREFIX)/man/man1 ++INCDIR = -I$(PREFIX)/include ++LIBDIR = -L$(PREFIX)/lib + LIBS = -lXpm -lXext + CFLAGS = $(INCDIR) -g -DICONDIR=\"$(ICONDIR)\" -O2 -Wall + +@@ -13,10 +14,10 @@ + rm -f wmbattery + + install: wmbattery +- install -c -d $(PREFIX)$(ICONDIR) $(PREFIX)$(BINDIR) $(PREFIX)$(MANDIR) +- install -c -s wmbattery $(PREFIX)$(BINDIR) +- install -c -m 644 wmbattery.1x $(PREFIX)$(MANDIR)/wmbattery.1 +- install -c -m 644 *.xpm $(PREFIX)$(ICONDIR) ++ install -c -d $(ICONDIR) $(BINDIR) $(MANDIR) ++ $(INSTALL_PROGRAM) wmbattery $(BINDIR) ++ $(INSTALL_MAN) wmbattery.1x $(MANDIR)/wmbattery.1 ++ $(INSTALL_DATA) *.xpm $(ICONDIR) + + test: wmbattery + ./wmbattery diff --git a/sysutils/wmbattery/pkg-comment b/sysutils/wmbattery/pkg-comment new file mode 100644 index 000000000000..c953f88661e7 --- /dev/null +++ b/sysutils/wmbattery/pkg-comment @@ -0,0 +1 @@ +WindowMaker dockapp that displays info about your battery diff --git a/sysutils/wmbattery/pkg-descr b/sysutils/wmbattery/pkg-descr new file mode 100644 index 000000000000..6ef1c9fdf77c --- /dev/null +++ b/sysutils/wmbattery/pkg-descr @@ -0,0 +1,16 @@ +wmbattery is a redone wmapm, it has some features that people may find +pleasing over wmapm: + +[quoted from wmbattery website:] + o Improved icon layout. I crammed the same information into less space while + making the icon more elegant and visually pleasing (IMHO). + p Easier to drag onto dock. + o Displays 100% when your battery is full (wmapm is limited to 99% maximum). + o It consumes a little less memory. + o Uses only 8 colors. + o You can run in on a different display via -d (broken in wmapm). + +WWW: http://kitenet.net/programs/wmbattery/ +Author: Joey Hess <joey@kitenet.net> + +- Will <andrews@technologist.com> diff --git a/sysutils/wmbattery/pkg-plist b/sysutils/wmbattery/pkg-plist new file mode 100644 index 000000000000..091a90a51bdd --- /dev/null +++ b/sysutils/wmbattery/pkg-plist @@ -0,0 +1,20 @@ +share/wmbattery/icons/face.xpm +share/wmbattery/icons/battery_high.xpm +share/wmbattery/icons/battery_low.xpm +share/wmbattery/icons/battery_medium.xpm +share/wmbattery/icons/battery_none.xpm +share/wmbattery/icons/charging.xpm +share/wmbattery/icons/dial_bright.xpm +share/wmbattery/icons/dial_dim.xpm +share/wmbattery/icons/nocharging.xpm +share/wmbattery/icons/smallfont.xpm +share/wmbattery/icons/unplugged.xpm +share/wmbattery/icons/plugged.xpm +share/wmbattery/icons/bigfont.xpm +share/wmbattery/COPYING +share/wmbattery/INSTALL +share/wmbattery/README +share/wmbattery/TODO +@dirrm share/wmbattery/icons +@dirrm share/wmbattery +bin/wmbattery |