1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00
Masafumi Max NAKANE ff1cefeae2 Disable the build when there's no libtelnet.
PR:		44035
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2002-10-31 02:44:09 +00:00

38 lines
1021 B
Makefile

# New ports collection makefile for: telnetx
# Date created: 22 Sep 1996
# Whom: Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= telnetx
PORTVERSION= 940401
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.sfc.wide.ad.jp/~max/FreeBSD/ports/distfiles/
MASTER_SITE_SUBDIR= asami/LOCAL_PORTS
DISTNAME= telnetx+transit.src.940401
MAINTAINER= max@FreeBSD.org
RUN_DEPENDS+= bp:${PORTSDIR}/comms/bpl+
RUN_DEPENDS+= kermit:${PORTSDIR}/comms/kermit
WRKSRC= ${WRKDIR}/telnetx
MAN1= telnetx.1
ALL_TARGET= bsdi
.if !exists(/usr/lib/libtelnet.a)
IGNORE= "You need to make libtelnet first, which can be done in /usr/src/lib/libtelnet"
.if !exists(/usr/src/lib/libtelnet)
IGNORE+=". Oh dear, you don\'t have the sources installed neither"
.endif
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/telnet/telnet ${PREFIX}/bin/telnetx
${INSTALL_PROGRAM} ${WRKSRC}/transit/transit ${PREFIX}/bin/transit
${INSTALL_MAN} ${WRKSRC}/telnet/telnet.1 ${PREFIX}/man/man1/telnetx.1
.include <bsd.port.mk>