From 909ee58a5d20f92b29496c55d673196536be9100 Mon Sep 17 00:00:00 2001 From: taoka Date: Wed, 25 Aug 1999 01:37:58 +0000 Subject: Laptop battery status display for WindowMaker --- sysutils/wmapm/Makefile | 32 ++++++++++++++++++++++++++++++++ sysutils/wmapm/distinfo | 1 + sysutils/wmapm/files/patch-aa | 10 ++++++++++ sysutils/wmapm/pkg-comment | 1 + sysutils/wmapm/pkg-descr | 13 +++++++++++++ sysutils/wmapm/pkg-plist | 1 + 6 files changed, 58 insertions(+) create mode 100644 sysutils/wmapm/Makefile create mode 100644 sysutils/wmapm/distinfo create mode 100644 sysutils/wmapm/files/patch-aa create mode 100644 sysutils/wmapm/pkg-comment create mode 100644 sysutils/wmapm/pkg-descr create mode 100644 sysutils/wmapm/pkg-plist (limited to 'sysutils') diff --git a/sysutils/wmapm/Makefile b/sysutils/wmapm/Makefile new file mode 100644 index 000000000000..5ee23048d001 --- /dev/null +++ b/sysutils/wmapm/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: wmapm +# Version required: 3.01 +# Date created: 99/07/02 +# Whom: Satoshi TAOKA +# +# $Id: $ +# + +DISTNAME= wmapm-3.01 +CATEGORIES= sysutils windowmaker +MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/ + +MAINTAINER= taoka@FreeBSD.org + +WRKSRC= ${WRKDIR}/${DISTNAME}/wmapm +USE_GMAKE= yes +ONLY_FOR_ARCHS= i386 +USE_X_PREFIX= yes + +BINMODE= 2755 +BINGRP= operator + +pre-build: + cd ${WRKDIR}/${DISTNAME}/wmapm; ${GMAKE} clean + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wmapm ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/wmapm.1 ${PREFIX}/man/man1 + +MAN1= wmapm.1 + +.include diff --git a/sysutils/wmapm/distinfo b/sysutils/wmapm/distinfo new file mode 100644 index 000000000000..dba2f58632ce --- /dev/null +++ b/sysutils/wmapm/distinfo @@ -0,0 +1 @@ +MD5 (wmapm-3.01.tar.gz) = 36f58c8125f5faabe3c9d16474d81cd3 diff --git a/sysutils/wmapm/files/patch-aa b/sysutils/wmapm/files/patch-aa new file mode 100644 index 000000000000..0eb740b7ed53 --- /dev/null +++ b/sysutils/wmapm/files/patch-aa @@ -0,0 +1,10 @@ +--- Makefile.~1~ Tue Dec 15 23:58:08 1998 ++++ Makefile Fri Jul 2 23:01:51 1999 +@@ -1,6 +1,6 @@ + CC = gcc + CFLAGS = -O2 -Wall +-INCDIR = -I/usr/X11R6/include/X11 ++INCDIR = -I/usr/X11R6/include + DESTDIR= /usr/X11R6 + LIBDIR = -L/usr/X11R6/lib + LIBS = -lXpm -lX11 -lXext diff --git a/sysutils/wmapm/pkg-comment b/sysutils/wmapm/pkg-comment new file mode 100644 index 000000000000..b48b9c06b9b3 --- /dev/null +++ b/sysutils/wmapm/pkg-comment @@ -0,0 +1 @@ +Laptop battery status display for WindowMaker diff --git a/sysutils/wmapm/pkg-descr b/sysutils/wmapm/pkg-descr new file mode 100644 index 000000000000..b4d73e00c9a0 --- /dev/null +++ b/sysutils/wmapm/pkg-descr @@ -0,0 +1,13 @@ +WMAPM is an APM/Battery Monitor. It is used to visually +display and interpret details of APM/Battery status from +the system's BIOS via Linux and FreeBSD kernels. + +WMAPM is dockable using WindowMaker and AfterStep window- +managers; under other window-managers, WMAPM appears as a +nicely-sized 64x64 application. + +NOTE: You need APM driver in your kernel. And enable it to edit + file /etc/rc.conf at `apm_enable=NO' to `YES'. + +NOTE2: You should add your acount name to operetor in /etc/group, if +you resume or suspend your PC by clicking the button in wmapm. diff --git a/sysutils/wmapm/pkg-plist b/sysutils/wmapm/pkg-plist new file mode 100644 index 000000000000..b7b4ce1748f7 --- /dev/null +++ b/sysutils/wmapm/pkg-plist @@ -0,0 +1 @@ +bin/wmapm -- cgit