diff options
Diffstat (limited to 'sysutils/asapm')
| -rw-r--r-- | sysutils/asapm/Makefile | 23 | ||||
| -rw-r--r-- | sysutils/asapm/distinfo | 2 | ||||
| -rw-r--r-- | sysutils/asapm/files/patch-Makefile.UNIX | 21 | ||||
| -rw-r--r-- | sysutils/asapm/files/patch-aa | 11 | ||||
| -rw-r--r-- | sysutils/asapm/files/patch-apm_read.c | 29 | ||||
| -rw-r--r-- | sysutils/asapm/files/patch-configure | 34 | ||||
| -rw-r--r-- | sysutils/asapm/pkg-descr | 10 | 
7 files changed, 0 insertions, 130 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile deleted file mode 100644 index 421cf6f08948..000000000000 --- a/sysutils/asapm/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# Created by: Brian Handy <handy@physics.montana.edu> -# $FreeBSD$ - -PORTNAME=	asapm -PORTVERSION=	3.1 -PORTREVISION=	2 -CATEGORIES=	sysutils -MASTER_SITES=	http://www.tigr.net/afterstep/download/asapm/ - -MAINTAINER=	ports@FreeBSD.org -COMMENT=	Laptop battery status display for X11 - -ONLY_FOR_ARCHS=	i386 amd64 - -USE_XORG=	xpm -GNU_CONFIGURE=	yes -INSTALL_TARGET=	install install.man - -MAN1=		asapm.1 -PLIST_FILES=	bin/asapm - -NO_STAGE=	yes -.include <bsd.port.mk> diff --git a/sysutils/asapm/distinfo b/sysutils/asapm/distinfo deleted file mode 100644 index 83fcc2d954c0..000000000000 --- a/sysutils/asapm/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (asapm-3.1.tar.gz) = 641fba8ffce21725ec63e49f03700174436c265aad2babcdfde4508af23a1b7b -SIZE (asapm-3.1.tar.gz) = 63203 diff --git a/sysutils/asapm/files/patch-Makefile.UNIX b/sysutils/asapm/files/patch-Makefile.UNIX deleted file mode 100644 index f7c8e73ca510..000000000000 --- a/sysutils/asapm/files/patch-Makefile.UNIX +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.UNIX.orig	Thu Nov 30 18:55:09 2006 -+++ Makefile.UNIX	Thu Nov 30 18:55:42 2006 -@@ -1,14 +1,14 @@ - #----------------------------------------------------- - # The locations where this program should be installed --INSTALL_DIR=/usr/local/bin --MAN_DIR=/usr/local/man/man1 -+INSTALL_DIR=${LOCALBASE}/bin -+MAN_DIR=${LOCALBASE}/man/man1 -  - # The location and names of the X11 libraries --LDIR = -L/usr/X11R6/lib -+LDIR = -L${LOCALBASE}/lib - LIBS = -lXpm -lX11 -  - # The include path to the X11 files --C_INCLUDE = -I. -I/usr/X11R6/include -+C_INCLUDE = -I. -I${LOCALBASE}/include -  - #----------------------------------------------------- - CC = gcc diff --git a/sysutils/asapm/files/patch-aa b/sysutils/asapm/files/patch-aa deleted file mode 100644 index d322b11cf356..000000000000 --- a/sysutils/asapm/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- autoconf/Makefile.common.in.orig	Wed Dec  9 01:58:10 1998 -+++ autoconf/Makefile.common.in	Wed Dec  9 01:58:19 1998 -@@ -11,7 +11,7 @@ - 		$(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) diff --git a/sysutils/asapm/files/patch-apm_read.c b/sysutils/asapm/files/patch-apm_read.c deleted file mode 100644 index 46bd02a86bb7..000000000000 --- a/sysutils/asapm/files/patch-apm_read.c +++ /dev/null @@ -1,29 +0,0 @@ ---- apm_read.c.orig	Wed Jul 27 08:23:06 2005 -+++ apm_read.c	Wed Jul 27 23:15:33 2005 -@@ -413,6 +413,9 @@ - 	unsigned int remaining_capacity = 0; - 	unsigned int present_rate = 0; -  -+	unsigned int percent; -+	unsigned int time_left; -+ - 	if ( ! acpi_available ) - 		return -1; -  -@@ -617,7 +620,7 @@ - 	 * Calculate the percentage and time to full charge - 	 * or discharge based on the reported rate. - 	 */ --	unsigned int percent =  -+	percent =  - 		last_full_capacity ? - 		(float)remaining_capacity / (float)last_full_capacity * 100 - 		: 0; -@@ -626,7 +629,6 @@ - 		++state.update; - 	} -  --	unsigned int time_left; - 	if ( state.battery_status == BATTERY_CHARGING ) { - 		time_left =  - 			present_rate ? diff --git a/sysutils/asapm/files/patch-configure b/sysutils/asapm/files/patch-configure deleted file mode 100644 index 249601e3cfd6..000000000000 --- a/sysutils/asapm/files/patch-configure +++ /dev/null @@ -1,34 +0,0 @@ ---- configure.orig	Thu Nov 30 19:05:04 2006 -+++ configure	Thu Nov 30 19:04:44 2006 -@@ -1289,6 +1289,7 @@ -   # Look for the header file in a standard set of common directories. - # Check X11 before X11Rn because it is often a symlink to the current release. -   for ac_dir in               \ -+    ${LOCALBASE}/include        \ -     /usr/X11/include          \ -     /usr/X11R6/include        \ -     /usr/X11R5/include        \ -@@ -1364,6 +1365,7 @@ - # First see if replacing the include by lib works. - # Check X11 before X11Rn because it is often a symlink to the current release. - for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ -+    ${LOCALBASE}/lib        \ -     /usr/X11/lib          \ -     /usr/X11R6/lib        \ -     /usr/X11R5/lib        \ -@@ -2289,6 +2291,7 @@ -   rm -rf conftest* -   # Look for the header file in a standard set of common directories. -   for ac_dir in               \ -+    ${LOCALBASE}/include        \ -     /usr/X11/include          \ -     /usr/X11R6/include        \ -     /usr/X11R5/include        \ -@@ -2368,6 +2371,7 @@ - # First see if replacing the include by lib works. - for ac_dir in \ -     `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ -+    ${LOCALBASE}/lib        \ -     /usr/X11/lib          \ -     /usr/X11R6/lib        \ -     /usr/X11R5/lib        \ diff --git a/sysutils/asapm/pkg-descr b/sysutils/asapm/pkg-descr deleted file mode 100644 index 65dafd61d256..000000000000 --- a/sysutils/asapm/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -'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/rc.conf at `apm_enable=NO' to `YES'. - -WWW: http://www.tigr.net/afterstep/view.php?applet=asapm/data  | 
