summaryrefslogtreecommitdiff
path: root/sysutils/xbatt
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-10-31 21:16:07 +0000
committerhubertf <hubertf>1999-10-31 21:16:07 +0000
commit4bc98ac308bfa76d36bac781c3ef30140dfe95b1 (patch)
treed99483212202804702b3b03fed4dda56854ec515 /sysutils/xbatt
parent5c4a533d11067c2739236cb66f4f57a21ff4d8bf (diff)
downloadpkgsrc-4bc98ac308bfa76d36bac781c3ef30140dfe95b1.tar.gz
Displays status of your laptop's battery.
Diffstat (limited to 'sysutils/xbatt')
-rw-r--r--sysutils/xbatt/Makefile23
-rw-r--r--sysutils/xbatt/files/XBatt4
-rw-r--r--sysutils/xbatt/files/md53
-rw-r--r--sysutils/xbatt/files/patch-sum3
-rw-r--r--sysutils/xbatt/patches/patch-aa14
-rw-r--r--sysutils/xbatt/pkg/COMMENT1
-rw-r--r--sysutils/xbatt/pkg/DESCR4
-rw-r--r--sysutils/xbatt/pkg/PLIST5
8 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
new file mode 100644
index 00000000000..e7945a8453c
--- /dev/null
+++ b/sysutils/xbatt/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/31 21:16:07 hubertf Exp $
+#
+
+DISTNAME= xbatt-1.3pr1
+WRKSRC= ${WRKDIR}/xbatt-1.3
+CATEGORIES= sysutils x11
+MASTER_SITES= http://www2.clave.gr.jp/~eto/xbatt/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www2.clave.gr.jp/~eto/xbatt/ # Not really
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+USE_IMAKE= yes
+ALL_TARGET= xbatt
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/XBatt ${X11BASE}/lib/X11/app-defaults/XBatt
+ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/xbatt
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xbatt
+ ${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xbatt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xbatt/files/XBatt b/sysutils/xbatt/files/XBatt
new file mode 100644
index 00000000000..cdbb2d41368
--- /dev/null
+++ b/sysutils/xbatt/files/XBatt
@@ -0,0 +1,4 @@
+# $NetBSD: XBatt,v 1.1.1.1 1999/10/31 21:16:08 hubertf Exp $
+#
+*width: 50
+*height: 50
diff --git a/sysutils/xbatt/files/md5 b/sysutils/xbatt/files/md5
new file mode 100644
index 00000000000..479fbe59881
--- /dev/null
+++ b/sysutils/xbatt/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/10/31 21:16:08 hubertf Exp $
+
+MD5 (xbatt-1.3pr1.tar.gz) = ab1562e8a40b2f1ece672c361549cf99
diff --git a/sysutils/xbatt/files/patch-sum b/sysutils/xbatt/files/patch-sum
new file mode 100644
index 00000000000..b832b295962
--- /dev/null
+++ b/sysutils/xbatt/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/10/31 21:16:08 hubertf Exp $
+
+MD5 (patch-aa) = 36d190dbda5b9251703d41bfe1f3634e
diff --git a/sysutils/xbatt/patches/patch-aa b/sysutils/xbatt/patches/patch-aa
new file mode 100644
index 00000000000..d7cb90437f4
--- /dev/null
+++ b/sysutils/xbatt/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/10/31 21:16:09 hubertf Exp $
+
+--- Imakefile.orig Tue Oct 26 03:09:57 1999
++++ Imakefile Tue Oct 26 03:10:22 1999
+@@ -9,6 +9,9 @@
+ #ifdef FreeBSDArchitecture
+ INSTALLFLAGS=-c -g operator -m 2755
+ #endif
++#ifdef NetBSDArchitecture
++INSTALLFLAGS=-c -m 755
++#endif
+ #ifdef LinuxArchitecture
+ INSTALLFLAGS=-c -m 2755
+ #endif
diff --git a/sysutils/xbatt/pkg/COMMENT b/sysutils/xbatt/pkg/COMMENT
new file mode 100644
index 00000000000..cd22155659d
--- /dev/null
+++ b/sysutils/xbatt/pkg/COMMENT
@@ -0,0 +1 @@
+Displays battery status of your notebook via APM
diff --git a/sysutils/xbatt/pkg/DESCR b/sysutils/xbatt/pkg/DESCR
new file mode 100644
index 00000000000..e0233dd7bd3
--- /dev/null
+++ b/sysutils/xbatt/pkg/DESCR
@@ -0,0 +1,4 @@
+xbatt is an X11 client which displays the battery status of your
+notebook computer equiped with APM (Advanced Power Management)
+BIOS. The status displayed consists of the remaining battery life,
+the AC line status, and the charging status.
diff --git a/sysutils/xbatt/pkg/PLIST b/sysutils/xbatt/pkg/PLIST
new file mode 100644
index 00000000000..925e547ae78
--- /dev/null
+++ b/sysutils/xbatt/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/10/31 21:16:08 hubertf Exp $
+bin/xbatt
+lib/X11/app-defaults/XBatt
+share/doc/xbatt/README
+share/doc/xbatt/README.jp