summaryrefslogtreecommitdiffstats
path: root/net/ztelnet/Makefile
blob: 4adf6c24301387f80a61dea11b1b20782afae84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    ztelnet
# Version required:     1.0p2
# Date created:         15 Mar 1998
# Whom:                 CHOI Junho <junker@jazz.snu.ac.kr>
#
# $Id: Makefile,v 1.4 1998/03/18 19:05:33 obrien Exp $
#
# In this ports..
#   - new compilation diff for FreeBSD(now we can upload!)
#   - linux patch(implied -8 and stairway effect) is applied
# NOTE: in post-patch, we can ignore warnings.

DISTNAME=	ztelnet2
PKGNAME=	ztelnet-1.0p2
CATEGORIES=	net
MASTER_SITES=	ftp://jazz.snu.ac.kr/pub/unix/util/net/
DISTFILES=	ztelnet-linux.tar.gz ztelnet-patch.tar.gz

MAINTAINER=	junker@jazz.snu.ac.kr

NO_WRKSUBDIR=	yes
PATCH_STRIP=	-p1
MAN1=		ztelnet.1

post-patch:
	@( cd ${WRKSRC}/ztelnet && \
	${PATCH} -s -p1 < ${WRKSRC}/ztelnet.patch || \
	true ) > /dev/null 2>&1

do-build:
	@cd ${WRKSRC}/ztelnet && \
	${MAKE} clean && \
	${MAKE} 4.4bsd

do-install:
	@cd ${WRKSRC}/ztelnet; \
	${MKDIR} ${PREFIX}/bin; \
	${INSTALL_PROGRAM} telnet/telnet ${PREFIX}/bin/ztelnet
	${INSTALL_MAN} ${WRKDIR}/ztelnet/telnet/telnet.1 ${PREFIX}/man/man1/ztelnet.1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud