1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

FreeBSD 2.x port of C-Kermit 5A(189)

This commit is contained in:
Paul Traina 1994-10-28 00:04:24 +00:00
parent 409a3a2221
commit d3c12a74b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285
3 changed files with 52 additions and 0 deletions

11
comms/kermit/Makefile Normal file
View File

@ -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>

View File

@ -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>

8
comms/kermit/scripts/configure vendored Normal file
View File

@ -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}