1997-06-04 09:02:45 +00:00
|
|
|
# New ports collection makefile for: ztelnet
|
1998-03-16 07:22:53 +00:00
|
|
|
# Date created: 15 Mar 1998
|
|
|
|
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
|
1997-06-04 09:02:45 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1997-06-04 09:02:45 +00:00
|
|
|
#
|
1998-03-16 07:22:53 +00:00
|
|
|
# In this ports..
|
|
|
|
# - new compilation diff for FreeBSD(now we can upload!)
|
|
|
|
# - linux patch(implied -8 and stairway effect) is applied
|
1998-06-14 16:00:12 +00:00
|
|
|
# - improved sz and rz patch, and new ztelnet manpage(cmascott patch)
|
|
|
|
# Thanks to Carl Mascott <cmascott@world.std.com>
|
|
|
|
# NOTE: in first post-patch, we can ignore warnings.
|
1997-06-04 09:02:45 +00:00
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= ztelnet
|
|
|
|
PORTVERSION= 1.0.p3
|
1998-03-19 06:12:38 +00:00
|
|
|
CATEGORIES= net
|
2000-06-20 14:27:33 +00:00
|
|
|
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/users/cjh/unix-app/net/ztelnet/
|
1998-06-14 16:00:12 +00:00
|
|
|
DISTFILES= ztelnet-linux.tar.gz ztelnet-patch.tar.gz \
|
|
|
|
ztelnet-patch-cmascott.tar.gz
|
1997-06-04 09:02:45 +00:00
|
|
|
|
2000-06-20 14:27:33 +00:00
|
|
|
MAINTAINER= cjh@FreeBSD.org
|
|
|
|
|
1998-03-16 07:22:53 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PATCH_STRIP= -p1
|
1998-03-19 06:12:38 +00:00
|
|
|
MAN1= ztelnet.1
|
1998-03-16 07:22:53 +00:00
|
|
|
|
1997-06-04 09:02:45 +00:00
|
|
|
post-patch:
|
1998-06-14 16:00:12 +00:00
|
|
|
# we can ignore warnings
|
1998-03-16 07:22:53 +00:00
|
|
|
@( cd ${WRKSRC}/ztelnet && \
|
|
|
|
${PATCH} -s -p1 < ${WRKSRC}/ztelnet.patch || \
|
1999-08-23 04:23:59 +00:00
|
|
|
${TRUE} ) > /dev/null 2>&1
|
1998-06-14 16:00:12 +00:00
|
|
|
# but it is not
|
|
|
|
@cd ${WRKSRC}/ztelnet && \
|
|
|
|
${PATCH} -s -p1 < ${WRKSRC}/rz.patch && \
|
|
|
|
${PATCH} -s -p1 < ${WRKSRC}/sz.patch
|
1998-03-16 07:22:53 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC}/ztelnet && \
|
|
|
|
${MAKE} clean && \
|
|
|
|
${MAKE} 4.4bsd
|
1997-06-04 09:02:45 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-03-16 07:22:53 +00:00
|
|
|
@cd ${WRKSRC}/ztelnet; \
|
1997-06-04 09:02:45 +00:00
|
|
|
${MKDIR} ${PREFIX}/bin; \
|
|
|
|
${INSTALL_PROGRAM} telnet/telnet ${PREFIX}/bin/ztelnet
|
1998-06-14 16:00:12 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/ztelnet.1 ${PREFIX}/man/man1/ztelnet.1
|
1997-06-04 09:02:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|