summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/asapm/Makefile18
-rw-r--r--sysutils/asapm/distinfo1
-rw-r--r--sysutils/asapm/files/patch-aa11
-rw-r--r--sysutils/asapm/pkg-comment1
-rw-r--r--sysutils/asapm/pkg-descr8
-rw-r--r--sysutils/asapm/pkg-plist2
6 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
new file mode 100644
index 000000000000..a1bdf86583dd
--- /dev/null
+++ b/sysutils/asapm/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: asapm
+# Version required: 1.4
+# Date created: 6 Aug 1998
+# Whom: Brian Handy <handy@physics.montana.edu>
+#
+# $Id:$
+#
+
+DISTNAME= asapm-1.4
+CATEGORIES= sysutils x11
+MASTER_SITES= http://bewoner.dma.be/Albert/linux/software/
+
+MAINTAINER= handy@physics.montana.edu
+
+USE_X_PREFIX= yes
+MAN1= asapm.1x
+
+.include <bsd.port.mk>
diff --git a/sysutils/asapm/distinfo b/sysutils/asapm/distinfo
new file mode 100644
index 000000000000..2f4e8c202d43
--- /dev/null
+++ b/sysutils/asapm/distinfo
@@ -0,0 +1 @@
+MD5 (asapm-1.4.tar.gz) = 08c11f5b6cfe7e354d43916711a7a646
diff --git a/sysutils/asapm/files/patch-aa b/sysutils/asapm/files/patch-aa
new file mode 100644
index 000000000000..2b54c74f0cf1
--- /dev/null
+++ b/sysutils/asapm/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.orig Thu Aug 6 16:53:24 1998
++++ Makefile Thu Aug 6 16:54:18 1998
+@@ -1,6 +1,6 @@
+ # The locations where this program should be installed
+-INSTALL_X_DIR=/usr/X11R6/bin
+-MAN_DIR=/usr/X11R6/man/man1
++INSTALL_X_DIR=${PREFIX}/bin
++MAN_DIR=${PREFIX}/man/man1
+
+ # The location and names of the X11 libraries
+ LDIR = -L/usr/X11R6/lib
diff --git a/sysutils/asapm/pkg-comment b/sysutils/asapm/pkg-comment
new file mode 100644
index 000000000000..6aa13166171d
--- /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 000000000000..e51e3c1b5117
--- /dev/null
+++ b/sysutils/asapm/pkg-descr
@@ -0,0 +1,8 @@
+'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.
+
+NOTE: You need APM driver in your kernel. And enable it to edit
+ file /etc/sysconfig at `apm_enable=NO' to `YES'.
diff --git a/sysutils/asapm/pkg-plist b/sysutils/asapm/pkg-plist
new file mode 100644
index 000000000000..068520e74874
--- /dev/null
+++ b/sysutils/asapm/pkg-plist
@@ -0,0 +1,2 @@
+bin/asapm
+man/man1/asapm.1x.gz