aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1994-10-28 00:04:24 +0000
committerPaul Traina <pst@FreeBSD.org>1994-10-28 00:04:24 +0000
commitd3c12a74b68fb97b8d48d9ff18c5ce1002f5b340 (patch)
tree815beadc48fb0513bf69743aabc199a655754ed2 /comms
parent409a3a22218f46a39f69292ba0564436c93e79f6 (diff)
downloadports-d3c12a74b68fb97b8d48d9ff18c5ce1002f5b340.tar.gz
ports-d3c12a74b68fb97b8d48d9ff18c5ce1002f5b340.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile11
-rw-r--r--comms/kermit/files/Makefile.sed33
-rw-r--r--comms/kermit/scripts/configure8
3 files changed, 52 insertions, 0 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
new file mode 100644
index 000000000000..b227d5486fed
--- /dev/null
+++ b/comms/kermit/Makefile
@@ -0,0 +1,11 @@
+# New ports collection makefile for: kermit
+# Version required: 5A(189(
+# Date created: Oct 27, 1994
+# Whom: pst
+#
+MASTER_SITES= ftp://kermit.columbia.edu/kermit/bin/
+DISTNAME= cku189
+EXTRACT_SUFX= .tar.Z
+NO_WRKSUBDIR=
+
+.include <bsd.port.mk>
diff --git a/comms/kermit/files/Makefile.sed b/comms/kermit/files/Makefile.sed
new file mode 100644
index 000000000000..4090c5621cb6
--- /dev/null
+++ b/comms/kermit/files/Makefile.sed
@@ -0,0 +1,33 @@
+PROG= kermit
+CFLAGS+= -I${.CURDIR} -DBSD44 -DCK_CURSES -DDYNAMIC -DTCPSOCKET -DTAYLOR_UUCP
+SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
+ ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckcpro.c ckcfns.c ckcfn2.c \
+ ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
+ ckcnet.c
+
+# uncomment these for uucp setuid dialout
+#CFLAGS+= -DSETREUID
+#BINMODE=4510
+#BINOWN= uucp
+#BINGRP= dialer
+
+BINDIR=%%PREFIX%%/bin
+MANDIR=%%PREFIX%%/man/man
+
+CLEANFILES+= ckcpro.c ckcwart.o wart
+
+DPADD= ${LIBCURSES} ${LIBTERM}
+LDADD= -lcurses -ltermcap
+
+.SUFFIXES: .w
+
+.w.c:
+ ./wart ${.IMPSRC} ${.TARGET}
+
+wart: ckwart.c
+ $(CC) -o wart ${.CURDIR}/ckwart.c
+
+ckcpro.c: ckcpro.w
+ckcpro.c: wart
+
+.include <bsd.prog.mk>
diff --git a/comms/kermit/scripts/configure b/comms/kermit/scripts/configure
new file mode 100644
index 000000000000..151f408bb82f
--- /dev/null
+++ b/comms/kermit/scripts/configure
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# shuffle things around for bmake to work right
+#
+mv ${WRKDIR}/makefile ${WRKDIR}/makefile.dist
+mv ${WRKDIR}/ckuker.nr ${WRKDIR}/kermit.1
+sed -e "s@%%PREFIX%%@${PREFIX}@" < ${FILESDIR}/Makefile.sed > ${WRKDIR}/Makefile
+cp ${FILESDIR}/dot.kermrc ${WRKDIR}