# New ports collection makefile for: C-Kermit # Date created: Oct 27, 1994 # Whom: Paul Traina # # $FreeBSD$ # PORTNAME= kermit PORTVERSION= 8.0.211 CATEGORIES= comms MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \ ftp://ftp.icm.edu.pl/pub/kermit/archives/ DISTNAME= cku211 MAINTAINER= danfe@FreeBSD.org COMMENT= Combined network and serial communication package USE_OPENSSL= yes NO_WRKSUBDIR= yes MAKEFILE= makefile ALL_TARGET= krbmit PLIST_FILES= bin/kermit PORTDOCS= * PORTEXAMPLES= * MAN1= kermit.1 MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \ CFLAGS="${CFLAGS} -I${OPENSSLINC} -DBSD44 \ -DCK_NCURSES -DCK_NEWTERM -DHERALD=\"\\\" ${HERALD}\\\"\" \ -DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \ -funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \ -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \ -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \ LIBS="-L${OPENSSLLIB} \ -lssl -lcrypto -lncurses -lcrypt -lutil -lm" .include # Derive correct version of our beloved OS; default routine is not robust # enough to handle all cases correctly. HERALD!= ${UNAME} -sr | ${CUT} -d - -f 1 post-patch: # FreeBSD has hexdump(3) in libutil, which conflicts with local macro. # Prepend the latter with two underscores to avoid the clash. @${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 # Catch up with recent replacement by .if ${OSVERSION} > 900006 @${REINPLACE_CMD} -e 's,ut\.ut_name,ut.ut_user,g' \ -e 's,sizeof(struct utmp),sizeof(ut),' \ -e 's,UNIXWARE,FREEBSD4,' ${WRKSRC}/ckufio.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit ${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${DOCSDIR}/READ.ME .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 .endif .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc ${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc .endif .include inimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats