summaryrefslogtreecommitdiff
path: root/net/ttcp
diff options
context:
space:
mode:
authortron <tron>1998-02-28 19:03:13 +0000
committertron <tron>1998-02-28 19:03:13 +0000
commit9e2854b89858094359249d93cc4f939bd9f71dbc (patch)
tree87447f4a4641487197f84a138c55ef4dc1d7205b /net/ttcp
parent4123aa0b4fa9c0285488fa9cec20f411bd5f73f7 (diff)
downloadpkgsrc-9e2854b89858094359249d93cc4f939bd9f71dbc.tar.gz
If we create a Makefile anyway it should do all the work.
Diffstat (limited to 'net/ttcp')
-rw-r--r--net/ttcp/Makefile9
-rw-r--r--net/ttcp/patches/patch-aa25
2 files changed, 15 insertions, 19 deletions
diff --git a/net/ttcp/Makefile b/net/ttcp/Makefile
index 5c1e3961d13..1541dd29ed2 100644
--- a/net/ttcp/Makefile
+++ b/net/ttcp/Makefile
@@ -3,7 +3,7 @@
# Date created: 14 December 1997
# Whom: thorpej
#
-# $NetBSD: Makefile,v 1.4 1998/02/27 00:02:51 tron Exp $
+# $NetBSD: Makefile,v 1.5 1998/02/28 19:03:13 tron Exp $
#
DISTNAME= ttcp
@@ -18,8 +18,9 @@ WRKSRC= ${WRKDIR}
MAN1= ttcp.1
-real-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
+# MANZ is handled automatically
+.if defined(MANZ)
+MANCOMPRESSED= 1
+.endif
.include <bsd.port.mk>
diff --git a/net/ttcp/patches/patch-aa b/net/ttcp/patches/patch-aa
index 5257b6cb07e..46265baaf2d 100644
--- a/net/ttcp/patches/patch-aa
+++ b/net/ttcp/patches/patch-aa
@@ -1,15 +1,10 @@
-*** /dev/null Sun Dec 14 18:38:40 1997
---- Makefile Sun Dec 14 18:39:35 1997
-***************
-*** 0 ****
---- 1,10 ----
-+ # $NetBSD: patch-aa,v 1.1 1997/12/14 23:59:28 thorpej Exp $
-+
-+ all:
-+ cc -O -o ttcp ttcp.c
-+
-+ # pkgsrc Makefile handles this
-+ install:
-+
-+ clean:
-+ rm -f ttcp
+--- /dev/null Sat Feb 28 19:53:22 1998
++++ Makefile Sat Feb 28 19:54:28 1998
+@@ -0,0 +1,7 @@
++
++PROG= ttcp
++
++BINDIR=${PREFIX}/bin
++MANDIR=${PREFIX}/man
++
++.include <bsd.prog.mk>