1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/comms/kermit/Makefile
Alexey Dokuchaev 06e6ff3128 Update to version 9.0.302, which should build and work on all versions of
FreeBSD since 1993 without any patches.  Touch the COMMENT while I'm here.

This is result of collaborative work by Frank da Cruz (C-Kermit original
author and current upstream maintainer) and yours truly.
2011-08-21 18:12:08 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: C-Kermit
# Date created: Oct 27, 1994
# Whom: Paul Traina <pst@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kermit
PORTVERSION= 9.0.302
CATEGORIES= comms
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
ftp://ftp.icm.edu.pl/pub/kermit/archives/
DISTNAME= cku${PORTVERSION:E}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Portable scriptable network and serial communication program
LICENSE= BSD
USE_OPENSSL= yes
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= freebsd+ssl
MAKE_ARGS= CC2=${CC} SSLINC=-I${OPENSSLINC} SSLLIB=-L${OPENSSLLIB}
PLIST_FILES= bin/kermit
PORTDOCS= *
PORTEXAMPLES= *
MAN1= kermit.1
post-patch:
@${REINPLACE_CMD} -e 's,-O2 -pipe,${CFLAGS},' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${MANPREFIX}/man/man1/kermit.1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
${LN} -sf ckaaaa.txt ${DOCSDIR}/READ.ME
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
.endif
.include <bsd.port.mk>