summaryrefslogtreecommitdiffstats
path: root/sysutils/wmbattery
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-10-21 04:29:02 +0000
committertaoka <taoka@FreeBSD.org>1999-10-21 04:29:02 +0000
commit7a4fd55aaaece0480d340541bddbb315edeeec6e (patch)
treecbfb28a27874fc5b622e7182ddf89d1028c3dfe5 /sysutils/wmbattery
parent15eb1c8798c2ed24371528f5efdf2aa931b468db (diff)
downloadFreeBSD-ports-7a4fd55aaaece0480d340541bddbb315edeeec6e.zip
FreeBSD-ports-7a4fd55aaaece0480d340541bddbb315edeeec6e.tar.gz
WindowMaker dockapp that displays info about your battery.
Submitted by: Will Andrews <andrews@technologist.com> PR: 13809
Diffstat (limited to 'sysutils/wmbattery')
-rw-r--r--sysutils/wmbattery/Makefile34
-rw-r--r--sysutils/wmbattery/distinfo1
-rw-r--r--sysutils/wmbattery/files/patch-aa32
-rw-r--r--sysutils/wmbattery/pkg-comment1
-rw-r--r--sysutils/wmbattery/pkg-descr16
-rw-r--r--sysutils/wmbattery/pkg-plist20
6 files changed, 104 insertions, 0 deletions
diff --git a/sysutils/wmbattery/Makefile b/sysutils/wmbattery/Makefile
new file mode 100644
index 0000000..d127ed3
--- /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 0000000..cb1a094
--- /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 0000000..0238a05
--- /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 0000000..c953f88
--- /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 0000000..6ef1c9f
--- /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 0000000..091a90a
--- /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
OpenPOWER on IntegriCloud