aboutsummaryrefslogtreecommitdiff
path: root/sysutils/asapm
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-12-08 18:49:04 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-12-08 18:49:04 +0000
commitbee44e01df64fceabaef55281f3a676b0ff01e3b (patch)
treef5f4519ce9d96b085c516d12851ec2d609f1cbe5 /sysutils/asapm
parent690975d0f3fcbe89582d5067bfbed575dcff9643 (diff)
downloadports-bee44e01df64fceabaef55281f3a676b0ff01e3b.tar.gz
ports-bee44e01df64fceabaef55281f3a676b0ff01e3b.zip
Upgrade to 2.3.
Notes
Notes: svn path=/head/; revision=15200
Diffstat (limited to 'sysutils/asapm')
-rw-r--r--sysutils/asapm/Makefile10
-rw-r--r--sysutils/asapm/distinfo2
-rw-r--r--sysutils/asapm/files/patch-aa28
-rw-r--r--sysutils/asapm/pkg-descr2
4 files changed, 17 insertions, 25 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
index f3b6be90ba9d..21d6fd785589 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 <handy@physics.montana.edu>
#
-# $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 88afbcf8bbc4..45f918af27f9 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 e1d8a9af0993..d322b11cf356 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 e51e3c1b5117..c9882762507e 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'.