aboutsummaryrefslogtreecommitdiffstats
path: root/comms/kermit
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-10-28 08:04:24 +0800
committerpst <pst@FreeBSD.org>1994-10-28 08:04:24 +0800
commit698016a6b49d1dfc85637bbe954da8c024a3b3fd (patch)
treee293e1741758274cb96a63e34d89d5df4c910a0c /comms/kermit
parent7902a0fe92f816a0b3673fb094a7da55a0d6b7a7 (diff)
downloadfreebsd-ports-gnome-698016a6b49d1dfc85637bbe954da8c024a3b3fd.tar.gz
freebsd-ports-gnome-698016a6b49d1dfc85637bbe954da8c024a3b3fd.tar.zst
freebsd-ports-gnome-698016a6b49d1dfc85637bbe954da8c024a3b3fd.zip
FreeBSD 2.x port of C-Kermit 5A(189)
Diffstat (limited to 'comms/kermit')
-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}