summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron>1998-02-16 19:40:11 +0000
committertron <tron>1998-02-16 19:40:11 +0000
commit78bc7526234aad73647b7b7748a9986468ec31cc (patch)
treec350ed4499b76c7b8ac99f6a24515b6e1a6f8273 /sysutils
parentf58d959e99fca8a20510c12a25c3e068bf8a5b91 (diff)
downloadpkgsrc-78bc7526234aad73647b7b7748a9986468ec31cc.tar.gz
Get "make reinstall" to work.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/top/Makefile9
-rw-r--r--sysutils/top/patches/patch-ac15
2 files changed, 20 insertions, 4 deletions
diff --git a/sysutils/top/Makefile b/sysutils/top/Makefile
index ca7f9ade5af..22e4182172d 100644
--- a/sysutils/top/Makefile
+++ b/sysutils/top/Makefile
@@ -3,7 +3,7 @@
# Date created: 25 Sep 1994
# Whom: swallace
#
-# $NetBSD: Makefile,v 1.6 1998/02/16 12:17:14 agc Exp $
+# $NetBSD: Makefile,v 1.7 1998/02/16 19:40:11 tron Exp $
# FreeBSD Id: Makefile,v 1.14 1997/04/30 23:49:14 asami Exp
#
@@ -15,6 +15,10 @@ MAINTAINER= agc@netbsd.org
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+
+MAKE_ENV+= INSTALL_MAN="${INSTALL_MAN}" \
+ COPY="${COPY}" STRIPFLAG="${STRIPFLAG}"
+
MAN1= top.1
OPSYS!= uname -s
@@ -36,7 +40,4 @@ pre-configure:
.endif
chmod a-x ${WRKSRC}/install
-post-install:
- strip ${PREFIX}/bin/top
-
.include <bsd.port.mk>
diff --git a/sysutils/top/patches/patch-ac b/sysutils/top/patches/patch-ac
new file mode 100644
index 00000000000..fdd5bab2105
--- /dev/null
+++ b/sysutils/top/patches/patch-ac
@@ -0,0 +1,15 @@
+--- Makefile.X.orig Wed Nov 20 03:19:24 1996
++++ Makefile.X Mon Feb 16 20:31:17 1998
+@@ -100,10 +100,10 @@
+ install: top top.1 install-top install-$(MANSTY)
+
+ install-top:
+- $(INSTALL) -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
++ ${INSTALL} ${COPY} ${STRIPFLAG} -o $(OWNER) -m $(MODE) -g $(GROUP) top $(BINDIR)
+
+ install-man:
+- $(INSTALL) top.1 $(MANDIR)/top.$(MANEXT)
++ ${INSTALL_MAN} top.1 $(MANDIR)/top.$(MANEXT)
+
+ install-catman:
+ tbl top.1 | nroff -man > $(MANDIR)/top.$(MANEXT)