head	1.22;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.19
	RELEASE_4_EOL:1.19
	RELEASE_6_2_0:1.19
	RELEASE_6_1_0:1.17
	RELEASE_5_5_0:1.17
	RELEASE_6_0_0:1.17
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.17
	RELEASE_5_3_0:1.17
	RELEASE_4_10_0:1.17
	RELEASE_5_2_1:1.16
	RELEASE_5_2_0:1.16
	RELEASE_4_9_0:1.16
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.11
	RELEASE_4_6_2:1.10
	RELEASE_4_6_1:1.10
	RELEASE_4_6_0:1.10
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.8
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.1.1.1
	v1_0:1.1.1.1
	WOJU:1.1.1;
locks; strict;
comment	@# @;


1.22
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2011.02.22.06.18.50;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2007.08.04.11.40.42;	author gabor;	state Exp;
branches;
next	1.19;

1.19
date	2006.08.12.23.56.55;	author leeym;	state Exp;
branches;
next	1.18;

1.18
date	2006.05.03.23.38.33;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2004.01.26.04.08.36;	author leeym;	state Exp;
branches;
next	1.16;

1.16
date	2003.07.30.10.15.15;	author leeym;	state Exp;
branches;
next	1.15;

1.15
date	2003.07.28.12.25.36;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2003.05.04.10.36.29;	author leeym;	state Exp;
branches;
next	1.13;

1.13
date	2003.02.26.14.23.42;	author foxfair;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.04.03.05.44;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2002.08.19.08.01.28;	author leeym;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.16.19.40.00;	author sada;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.17.07.35.43;	author clive;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.10.02.45.07;	author foxfair;	state Exp;
branches;
next	1.7;

1.7
date	2000.10.08.23.20.54;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.04.15.35.36;	author kevlo;	state Exp;
branches;
next	1.5;

1.5
date	2000.10.03.14.31.22;	author kevlo;	state Exp;
branches;
next	1.4;

1.4
date	2000.08.05.16.41.57;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	2000.04.13.08.28.16;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	99.08.25.04.58.01;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	99.04.03.01.36.11;	author steve;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.04.03.01.36.11;	author steve;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Switch exporter over
@
text
@# New ports collection makefile for:	telnet8
# Date created:		13 Feb 1999
# Whom:			Ching-Hong Wu <woju@@freebsd.ntu.edu.tw>
#
# $FreeBSD: head/chinese/telnet/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	telnet
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	chinese
MASTER_SITES=	# none
DISTFILES=	# none

MAINTAINER=	leeym@@FreeBSD.org
COMMENT=	8bit compatible telnet client for Chinese input

MAN1=		zh-telnet.1
PLIST_FILES=	bin/zh-telnet

.include <bsd.port.pre.mk>

.if exists (${SRC_BASE}/contrib/telnet/telnet)
SRCDIR=		${SRC_BASE}/contrib/telnet/telnet
CONTRIB_TELNET=	yes
.elif exists (${SRC_BASE}/usr.bin/telnet)
SRCDIR=		${SRC_BASE}/usr.bin/telnet
.else
IGNORE=		need to build this port with the source code of telnet
.endif

do-extract:
	@@${MKDIR} ${WRKDIR}
	@@${CP} -R ${SRCDIR} ${WRKSRC}
.if defined(CONTRIB_TELNET)
	@@${CP} -R ${SRCDIR}/../libtelnet ${SRCDIR}/../../../usr.bin/telnet/Makefile ${WRKSRC}
	@@${CP} ${SRCDIR}/../arpa/telnet.h ${SRCDIR}/../../../lib/libtelnet/Makefile ${WRKSRC}/libtelnet
.else
	@@${CP} -R ${SRCDIR}/../../lib/libtelnet ${WRKSRC}
.endif

pre-patch:
.if defined(CONTRIB_TELNET)
	@@${REINPLACE_CMD} -e 's,/../../contrib/telnet,,g' ${WRKSRC}/Makefile ${WRKSRC}/libtelnet/Makefile
	@@${REINPLACE_CMD} -e 's,${TELNETDIR}/telnet,${TELNETDIR},g' ${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's,/arpa,,g' ${WRKSRC}/libtelnet/Makefile
.endif
	@@${REINPLACE_CMD} -e 's,/../../lib,,g' ${WRKSRC}/Makefile

pre-build:
	@@cd ${WRKSRC}/libtelnet && ${MAKE}

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet
	@@${INSTALL_MAN} ${WRKSRC}/telnet.1 ${MAN1PREFIX}/man/man1/${MAN1}

.include <bsd.port.post.mk>
@


1.21
log
@Catch up with usage of SRC_BASE introduced in bsd.port.mk r1.662.  This
should fix the builds on pointyhat-west.

Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d23 2
a24 3
SRCBASE?=	${PORTSDIR}/../src
.if exists (${SRCBASE}/contrib/telnet/telnet)
SRCDIR=		${SRCBASE}/contrib/telnet/telnet
d26 2
a27 2
.elif exists (${SRCBASE}/usr.bin/telnet)
SRCDIR=		${SRCBASE}/usr.bin/telnet
@


1.19
log
@- Respect DESTDIR
- Respect MAN1PREFIX

PR:		101936
Submitted by:	gslin at gslin.org
Approved by:	leeym
@
text
@d55 1
a55 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/telnet ${TARGETDIR}/bin/zh-telnet
@


1.18
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d30 1
a30 1
IGNORE=		"You need to build this port with the source code of telnet"
d55 2
a56 2
	@@${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet
	@@${INSTALL_MAN} ${WRKSRC}/telnet.1 ${PREFIX}/man/man1/${MAN1}
@


1.17
log
@- use PLIST_FILES
- make portlint happier
@
text
@a17 2
USE_REINPLACE=	yes

@


1.16
log
@telnet is moved to src/contrib/telnet, so update the port correspondingly.

PR:		55005
Submitted by:	Kang Liu <lazykang@@hotmail.com>
@
text
@d21 1
d23 5
a27 2
.if exists (/usr/src/contrib/telnet/telnet)
SRCDIR=		/usr/src/contrib/telnet/telnet
d29 2
a30 2
.elif exists (/usr/src/usr.bin/telnet)
SRCDIR=		/usr/src/usr.bin/telnet
a38 1
	@@echo CONTRIB_TELNET
a46 1
	@@echo CONTRIB_TELNET
d60 1
a60 1
.include <bsd.port.mk>
@


1.15
log
@BROKEN: Fails to patch
@
text
@d10 1
a17 3
BROKEN=		"Fails to patch"

SRCDIR=		/usr/src/usr.bin/telnet
d22 9
a31 1
.if exists (${SRCDIR})
d34 4
a37 2
	@@${MKDIR} ${WRKSRC}/lib
	@@${CP} -R /usr/src/lib/libtelnet ${WRKSRC}/lib
d39 1
a39 1
IGNORE=	"You need to build this port with ${SRCDIR}"
d43 7
a49 1
	@@${REINPLACE_CMD} -e 's,/../..,,g' ${WRKSRC}/Makefile
d52 1
a52 1
	@@cd ${WRKSRC}/lib/libtelnet && ${MAKE}
@


1.14
log
@1. simplify the patch
2. stop trying when /usr/src/usr.bin/telnet doesn't exists

Submitted by:	1. ijliao
@
text
@d17 2
@


1.13
log
@pkg-comment police: Purge them in this category while I'm here.
@
text
@d29 1
a29 1
BROKEN=	"You need to build this port with ${SRCDIR}"
@


1.12
log
@PERL -> REINPLACE
and russian/mod_ssl has USE_PERL5=yes

Notices on: bento
@
text
@d15 1
@


1.11
log
@change my email address to leeym@@FreeBSD.org

Reviewed by:	ijliao (mentor)
Approved by:	ijliao (mentor)
@
text
@d17 1
d32 1
a32 1
	@@${PERL} -pi -e 's,/../..,,g' ${WRKSRC}/Makefile
@


1.10
log
@- fix missing header file problem.
- change maintainer's email address.
PR:	ports/37538
Submitted by:	maintainer
@
text
@d14 1
a14 1
MAINTAINER=	leeym@@leeym.com
@


1.9
log
@Unbreak this port with some modification against original PR.

PR: ports/28175
Submitted by: MAINTAINER
Approved by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.8 2000/10/10 02:45:07 foxfair Exp $
d14 1
a14 1
MAINTAINER=	leeym@@cae.ce.ntu.edu.tw
d18 1
a19 1
.include <bsd.port.pre.mk>
a23 1
.if ${OSVERSION} > 500000
a25 1
.endif
a29 3
MAN1=		zh-telnet.1

.if ${OSVERSION} > 500000
d31 1
a31 1
	@@${PERL} -pi -e 's,/../..,,' ${WRKSRC}/Makefile
d34 1
a34 3
	@@cd ${WRKSRC}/lib/libtelnet; \
	${MAKE}
.endif
d37 2
a38 4
	@@cd ${WRKSRC}; \
	${CP} telnet.1 ${MAN1}; \
	${INSTALL_PROGRAM} ${WRKSRC}/telnet ${PREFIX}/bin/zh-telnet; \
	${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
d40 1
a40 1
.include <bsd.port.post.mk>
@


1.8
log
@Quick fix this port after new ports world built, change the program
name (after make) to zh-telnet, so as its man page.

Pointed out by: Asami.(-PW-)
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.7 2000/10/08 23:20:54 asami Exp $
d18 2
d24 4
d34 9
d49 1
a49 1
.include <bsd.port.mk>
@


1.7
log
@"${MKDIR} work" -> "${MKDIR} ${WRKDIR}"

Submitted by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.6 2000/10/04 15:35:36 kevlo Exp $
d26 7
a32 1
MAN1=		telnet.1
@


1.6
log
@Change maintainer's e-mail address.

Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.5 2000/10/03 14:31:22 kevlo Exp $
d20 1
a20 1
	@@${MKDIR} work
@


1.5
log
@- Update ports to work more smoothly
- Change maintainer

PR: 21721
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.4 2000/08/05 16:41:57 kevlo Exp $
d14 1
a14 1
MAINTAINER=	leeym@@caece.net
@


1.4
log
@Update MASTER_SITES
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.3 2000/04/13 08:28:16 asami Exp $
d11 2
a12 3
MASTER_SITES=	ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/
DISTNAME=	telnet8-${PORTVERSION}
EXTRACT_SUFX=	.tgz
d14 13
a26 1
MAINTAINER=	woju@@freebsd.ntu.edu.tw
@


1.3
log
@Convert to PORTNAME/PORTVERSION.

Anomalies found:
 - autoconvert was missing "zh-" in front of PKGNAME
 - xcin (both 2.3 and 2.5) had invalid version strings
 - neither of xcin ports had NO_LATEST_LINK
 - telnet8-1.0 thinks PKGNAME is zh-telnet-1.0

Fixed all except the last (I wasn't sure if it was intentional).
@
text
@d5 1
a5 1
# $FreeBSD: ports/chinese/telnet/Makefile,v 1.2 1999/08/25 04:58:01 obrien Exp $
d11 1
a11 2
MASTER_SITES=	ftp://freebsd.ntu.edu.tw/freebsd/woju/source/ \
		ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/
@


1.2
log
@Change Id->FreeBSD.
@
text
@a1 1
# Version required:	1.0
d5 1
a5 1
# $FreeBSD$
d8 2
a9 2
DISTNAME=	telnet8-1.0
PKGNAME=	zh-telnet-1.0
d13 1
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1999/02/12 16:39:39 foxfair Exp $
@


1.1.1.1
log
@Import of zh-telnet version 1.0.
8bit compatible telnet client for Chinese input

PR:		10063
Submitted by:	Ching-Hong Wu <woju@@freebsd.ntu.edu.tw>
@
text
@@
