summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-12-03 13:35:47 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-12-03 13:35:47 +0000
commit75092287816aaac9ea402bf0cd4b76d351a1bb90 (patch)
tree222ea5d3e2c9cabdcdc4d9ab5adeee4ac66268e3 /sysutils
parent8740a9206fa00c6222b2756ea26bd3212ca8a3f6 (diff)
downloadpkgsrc-75092287816aaac9ea402bf0cd4b76d351a1bb90.tar.gz
Initial addition of asapm-2.3, a Laptop battery status display for X11.
Provided in pr 6523 by Johnny C. Lam.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/asapm/Makefile21
-rw-r--r--sysutils/asapm/files/md53
-rw-r--r--sysutils/asapm/patches/patch-aa18
-rw-r--r--sysutils/asapm/pkg/COMMENT1
-rw-r--r--sysutils/asapm/pkg/DESCR5
-rw-r--r--sysutils/asapm/pkg/MESSAGE2
-rw-r--r--sysutils/asapm/pkg/PLIST3
7 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
new file mode 100644
index 00000000000..89ecaecd9df
--- /dev/null
+++ b/sysutils/asapm/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/12/03 13:35:47 frueauf Exp $
+# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
+#
+
+DISTNAME= asapm-2.3
+CATEGORIES= sysutils x11
+MASTER_SITES= http://bewoner.dma.be/Albert/linux/software/
+
+MAINTAINER= lamj@stat.cmu.edu
+HOMEPAGE= http://bewoner.dma.be/Albert/linux/
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+ONLY_FOR_ARCHS= i386 # needs apm support
+
+GNU_CONFIGURE= yes
+USE_X11= yes
+
+INSTALL_TARGET= install install.man
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/asapm/files/md5 b/sysutils/asapm/files/md5
new file mode 100644
index 00000000000..5d4f12f662c
--- /dev/null
+++ b/sysutils/asapm/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/12/03 13:35:47 frueauf Exp $
+
+MD5 (asapm-2.3.tar.gz) = d67da77bafad15cd1f16b344998f34dd
diff --git a/sysutils/asapm/patches/patch-aa b/sysutils/asapm/patches/patch-aa
new file mode 100644
index 00000000000..0c6590b2326
--- /dev/null
+++ b/sysutils/asapm/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 1998/12/03 13:35:47 frueauf Exp $
+
+--- autoconf/Makefile.common.in.orig Wed Dec 2 16:02:51 1998
++++ autoconf/Makefile.common.in Thu Dec 3 05:03:19 1998
+@@ -11,11 +11,11 @@
+ $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+
+ install.man:
+- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
++ $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1
+
+ uninstall:
+ $(RMF) $(AFTER_BIN_DIR)/$(PROG)
+- $(RMF) $(AFTER_MAN_DIR)/$(PROG).1x
++ $(RMF) $(AFTER_MAN_DIR)/$(PROG).1
+
+ clean:
+ $(RMF) $(PROG) *.o *~ *% *.bak \#* core
diff --git a/sysutils/asapm/pkg/COMMENT b/sysutils/asapm/pkg/COMMENT
new file mode 100644
index 00000000000..c1ee1414783
--- /dev/null
+++ b/sysutils/asapm/pkg/COMMENT
@@ -0,0 +1 @@
+Laptop battery status display for X11.
diff --git a/sysutils/asapm/pkg/DESCR b/sysutils/asapm/pkg/DESCR
new file mode 100644
index 00000000000..77272e3473c
--- /dev/null
+++ b/sysutils/asapm/pkg/DESCR
@@ -0,0 +1,5 @@
+'asapm' is an X11 client which displays a battery status of your
+notebook computer equiped with APM (Advanced Power Management) BIOS.
+The status displayed consists remaining battery life, an AC line
+status, a charging status and a digital readout with (a) Percent
+battery remaining and (b) estimated time to dead.
diff --git a/sysutils/asapm/pkg/MESSAGE b/sysutils/asapm/pkg/MESSAGE
new file mode 100644
index 00000000000..a7336d727c9
--- /dev/null
+++ b/sysutils/asapm/pkg/MESSAGE
@@ -0,0 +1,2 @@
+You need the APM driver enabled in your kernel,
+see man apm(4) for details.
diff --git a/sysutils/asapm/pkg/PLIST b/sysutils/asapm/pkg/PLIST
new file mode 100644
index 00000000000..1fa5e6c1585
--- /dev/null
+++ b/sysutils/asapm/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/03 13:35:47 frueauf Exp $
+bin/asapm
+man/man1/asapm.1