pkgsrc/comms/kermit/Makefile
darcy 2c00ca0486 After discussion with package maintainer (Hubert Feyrer) I am updating
to version 8.0.209.  The previous package has been removed from the
Columbia site and this version was symlinked to it anyway so the checksum
was failing.

From the change message:

This is a minor update of C-Kermit 8.0 that fixes several bugs.
2003-04-11 11:49:53 +00:00

81 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2003/04/11 11:49:53 darcy Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
#
DISTNAME= cku209
PKGNAME= kermit-8.0.209
WRKSRC= ${WRKDIR}
CATEGORIES= comms
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.columbia.edu/kermit/
COMMENT= Network and serial communication, file transfer, and scripting utility
LICENSE= kermit-license
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
ALL_TARGET= macosx10
.else
ALL_TARGET= netbsd
.endif
BUILD_DEFS+= KFLAGS LIBS KERMIT_SUID_UUCP
MAKE_ENV+= KFLAGS="${KFLAGS}" LIBS="${LIBS}"
MAKEFILE= makefile
PLIST_SRC= ${WRKDIR}/PLIST
#KFLAGS+= -DNODEBUG -DNOOLDMODEMS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${PREFIX}/bin/kermit
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kermit
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/kermit
no-manpage-in-beta-release:
for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
case $$OPT in \
catinstall) \
nroff -man ${WRKSRC}/ckuker.nr > ${WRKSRC}/kermit.0; \
${INSTALL_MAN} ${WRKSRC}/kermit.0 ${PREFIX}/man/cat1/kermit.0; \
${ECHO} man/cat1/kermit.0 >>${PLIST_SRC}; \
;; \
maninstall) \
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1; \
${ECHO} man/man1/kermit.1 >>${PLIST_SRC}; \
;; \
esac; \
done
.if defined(KERMIT_SUID_UUCP)
.if ${KERMIT_SUID_UUCP} == "yes" || ${KERMIT_SUID_UUCP} == "YES"
BINOWN= uucp
BINMODE= 4555
.endif
.endif
.for __tmp__ in NetBSD-1.3*
.if ${MACHINE_PLATFORM:M${__tmp__}} != ""
LIBS+= -ltermcap
.endif
.endfor
# XXX This needs to be tested. XXX
#
# Include SOCKS firewall support
.if defined(USE_SOCKS)
.if ${USE_SOCKS} == 4
DEPENDS+= socks4-2.2:../../net/socks4
KFLAGS+= -DSOCKS
LIBS+= -L${PREFIX}/lib -lsocks4
.elif ${USE_SOCKS} == 5
DEPENDS+= socks5-1.0.2:../../net/socks5
KFLAGS+= -DSOCKS -DCK_SOCKS5
LIBS+= -L${PREFIX}/lib -lsocks5
.endif
.endif
.include "../../mk/bsd.pkg.mk"