2008-07-25 10:34:51 +00:00
|
|
|
# New ports collection makefile for: C-Kermit
|
|
|
|
# Date created: Oct 27, 1994
|
|
|
|
# Whom: Paul Traina <pst@FreeBSD.org>
|
1994-10-28 00:04:24 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1996-11-17 03:01:21 +00:00
|
|
|
#
|
1995-04-15 04:58:59 +00:00
|
|
|
|
2000-04-13 06:35:36 +00:00
|
|
|
PORTNAME= kermit
|
2004-04-14 20:32:44 +00:00
|
|
|
PORTVERSION= 8.0.211
|
1996-12-30 21:33:40 +00:00
|
|
|
CATEGORIES= comms
|
2001-11-06 00:53:05 +00:00
|
|
|
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
|
|
|
|
ftp://ftp.icm.edu.pl/pub/kermit/archives/
|
2004-04-14 20:32:44 +00:00
|
|
|
DISTNAME= cku211
|
1995-04-15 04:58:59 +00:00
|
|
|
|
2008-07-25 10:34:51 +00:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-02-21 12:52:52 +00:00
|
|
|
COMMENT= Serial and network communications package
|
1996-11-17 03:01:21 +00:00
|
|
|
|
2002-02-15 11:08:10 +00:00
|
|
|
USE_OPENSSL= yes
|
1996-11-17 03:01:21 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2001-11-06 00:53:05 +00:00
|
|
|
MAKEFILE= makefile
|
2002-02-15 11:08:10 +00:00
|
|
|
ALL_TARGET= krbmit
|
2003-03-24 12:37:33 +00:00
|
|
|
|
2008-07-25 10:34:51 +00:00
|
|
|
PLIST_FILES= bin/kermit
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
MAN1= kermit.1
|
|
|
|
|
2002-03-03 13:53:57 +00:00
|
|
|
MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
|
2002-02-15 11:08:10 +00:00
|
|
|
CFLAGS="${CFLAGS} -I${OPENSSLINC} \
|
|
|
|
-DBSD44 -DCK_NCURSES -DCK_NEWTERM \
|
2002-01-27 17:31:04 +00:00
|
|
|
-DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \
|
2002-02-15 11:08:10 +00:00
|
|
|
-funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \
|
2003-03-04 15:03:42 +00:00
|
|
|
-DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \
|
2007-04-14 16:20:45 +00:00
|
|
|
-DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \
|
2002-02-15 11:08:10 +00:00
|
|
|
LIBS="-L${OPENSSLLIB} \
|
2003-03-04 15:03:42 +00:00
|
|
|
-lssl -lcrypto -lncurses -lcrypt -lutil -lm"
|
2001-11-06 00:53:05 +00:00
|
|
|
|
2008-08-05 10:11:45 +00:00
|
|
|
post-patch:
|
|
|
|
# FreeBSD has hexdump(3) in libutil, which conflicts with local macro
|
|
|
|
@${REINPLACE_CMD} -E 's,([[:blank:]])(hexdump),\1__\2,' \
|
|
|
|
${WRKSRC}/ck_crp.c ${WRKSRC}/ckcdeb.h ${WRKSRC}/ckcftp.c \
|
|
|
|
${WRKSRC}/ckcnet.c ${WRKSRC}/ckctel.c ${WRKSRC}/ckuath.c \
|
|
|
|
${WRKSRC}/ckutio.c
|
2008-07-24 20:40:52 +00:00
|
|
|
|
2001-11-06 00:53:05 +00:00
|
|
|
do-install:
|
2002-02-15 11:08:10 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit
|
2001-11-06 00:53:05 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
|
2003-04-07 14:17:51 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-11-18 23:14:39 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${DOCSDIR}/READ.ME
|
2008-07-25 10:34:51 +00:00
|
|
|
.for file in COPYING.TXT ckcbwr.txt ckccfg.txt ckcplm.txt ckermit70.txt \
|
|
|
|
ckermit80.txt ckubwr.txt ckuins.txt ckututor.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-04-07 14:17:51 +00:00
|
|
|
.endif
|
2008-07-25 10:34:51 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2001-11-06 00:53:05 +00:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2002-01-27 17:31:04 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
|
2008-07-25 10:34:51 +00:00
|
|
|
.endif
|
1994-10-28 00:04:24 +00:00
|
|
|
|
2008-08-05 10:11:45 +00:00
|
|
|
.include <bsd.port.mk>
|