From 2f0907d97dfb74b4568acbe72e5597d2e4d2eec8 Mon Sep 17 00:00:00 2001 From: vanilla Date: Tue, 8 Dec 1998 18:49:04 +0000 Subject: Upgrade to 2.3. --- sysutils/asapm/Makefile | 10 ++++++---- sysutils/asapm/distinfo | 2 +- sysutils/asapm/files/patch-aa | 28 +++++++++------------------- sysutils/asapm/pkg-descr | 2 +- 4 files changed, 17 insertions(+), 25 deletions(-) (limited to 'sysutils/asapm') diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile index f3b6be9..21d6fd7 100644 --- a/sysutils/asapm/Makefile +++ b/sysutils/asapm/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: asapm -# Version required: 2.2 +# Version required: 2.3 # Date created: 6 Aug 1998 # Whom: Brian Handy # -# $Id: Makefile,v 1.4 1998/11/21 07:27:40 steve Exp $ +# $Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp $ # -DISTNAME= asapm-2.2 +DISTNAME= asapm-2.3 CATEGORIES= sysutils MASTER_SITES= http://bewoner.dma.be/Albert/linux/software/ @@ -15,8 +15,10 @@ MAINTAINER= handy@physics.montana.edu LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm USE_X_PREFIX= yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install install.man -MAN1= asapm.1x +MAN1= asapm.1 FETCH_BEFORE_ARGS= -b diff --git a/sysutils/asapm/distinfo b/sysutils/asapm/distinfo index 88afbcf..45f918a 100644 --- a/sysutils/asapm/distinfo +++ b/sysutils/asapm/distinfo @@ -1 +1 @@ -MD5 (asapm-2.2.tar.gz) = 9a19d2fa6d5fa2864d0c9f713fa12720 +MD5 (asapm-2.3.tar.gz) = d67da77bafad15cd1f16b344998f34dd diff --git a/sysutils/asapm/files/patch-aa b/sysutils/asapm/files/patch-aa index e1d8a9a..d322b11 100644 --- a/sysutils/asapm/files/patch-aa +++ b/sysutils/asapm/files/patch-aa @@ -1,21 +1,11 @@ ---- Makefile.orig Fri Oct 16 10:05:01 1998 -+++ Makefile Fri Oct 16 10:05:57 1998 -@@ -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=${PREFIX}/bin -+MAN_DIR=${PREFIX}/man/man1 +--- 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) - # The location and names of the X11 libraries --LDIR = -L/usr/X11R6/lib -+LDIR = -L${PREFIX}/lib - LIBS = -lXpm -lX11 + install.man: +- $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x ++ $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1 - # The include path to the X11 files --C_INCLUDE = -I. -I/usr/X11R6/include -+C_INCLUDE = -I. -I${PREFIX}/include - - #----------------------------------------------------- - CC = gcc + uninstall: + $(RMF) $(AFTER_BIN_DIR)/$(PROG) diff --git a/sysutils/asapm/pkg-descr b/sysutils/asapm/pkg-descr index e51e3c1..c988276 100644 --- a/sysutils/asapm/pkg-descr +++ b/sysutils/asapm/pkg-descr @@ -5,4 +5,4 @@ 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'. + file /etc/rc.conf at `apm_enable=NO' to `YES'. -- cgit v1.1