head	1.17;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.13
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.8
	RELEASE_4_2_0:1.8
	RELEASE_4_1_1:1.8
	RELEASE_4_1_0:1.8
	RELEASE_3_5_0:1.8
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.3
	RELEASE_3_1_0:1.3
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.3
	RELEASE_2_2_7:1.3
	RELEASE_2_2_6:1.3
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	hc_3_0:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.03.23.38.31;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.10.06.06.36.26;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2003.02.20.16.56.53;	author knu;	state Exp;
branches;
next	1.13;

1.13
date	2002.11.10.16.45.17;	author lioux;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.06.22.44.08;	author adamw;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.05.03.38.57;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2002.11.04.05.46.26;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2002.01.02.04.16.33;	author pat;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.13.08.28.03;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.22.00.28.24;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	2000.03.20.02.37.49;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.13.03.25.03;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.08.25.04.57.48;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	97.10.13.07.52.27;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	97.09.22.17.48.33;	author max;	state Exp;
branches;
next	1.1;

1.1
date	97.02.08.00.36.01;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.02.08.00.36.01;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:  hc
# Date created:			  Mon Feb 03, 1997
# Whom:				  David O'Brien (obrien@@FreeBSD.org)
#
# $FreeBSD: head/chinese/hc/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	hc
PORTVERSION=	3.0
CATEGORIES=	chinese
MASTER_SITES=	ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/
DISTFILES=	hc-30.tar.gz hc-supp.tab

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Hanzi Converter -- converts between GB and BIG-5 codes

WRKSRC=		${WRKDIR}/hc3
EXTRACT_ONLY=	hc-30.tar.gz
ALL_TARGET=	hc b2g g2b
MAN1=		hc.1

pre-patch:
	@@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c

do-install:
	@@${MKDIR} ${PREFIX}/share/chinese
	${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/b2g ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/g2b ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/hc.tab ${PREFIX}/share/chinese
	${INSTALL_DATA} ${DISTDIR}/hc-supp.tab ${PREFIX}/share/chinese
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1

.include <bsd.port.mk>
@


1.16
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.15
log
@Remove mastersites that died somewhere between 1997 and 2001.

Source:		distfile survey
@
text
@a17 1
USE_REINPLACE=	yes
@


1.14
log
@De-pkg-comment.
@
text
@d12 2
a13 4
MASTER_SITES=	ftp://ftp.ifcss.org/pub/software/unix/convert/  \
		ftp://ftp.edu.tw/Chinese/ifcss/software/unix/convert/  \
		ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/
DISTFILES=	hc-30.tar.gz  hc-supp.tab
@


1.13
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d18 1
@


1.12
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a18 2
PORTCOMMENT=	Hanzi Converter -- converts between GB and BIG-5 codes

@


1.11
log
@The community as a whole can maintain these better than I can at the moment.
@
text
@d19 2
@


1.10
log
@PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
@
text
@d17 1
a17 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.9
log
@Fix for -CURRENT, malloc.h->stdlib.h

Spotted by:	Bento
@
text
@d19 1
d26 1
a26 1
	@@${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c
@


1.8
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
@d6 1
a6 1
# $FreeBSD: ports/chinese/hc/Makefile,v 1.7 2000/03/22 00:28:24 obrien Exp $
d23 3
@


1.7
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/chinese/hc/Makefile,v 1.6 2000/03/20 02:37:49 obrien Exp $
d9 2
a10 2
DISTNAME=	hc-3.0
PKGNAME=	zh-hc-3.0
@


1.6
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/chinese/hc/Makefile,v 1.5 2000/02/13 03:25:03 obrien Exp $
@


1.5
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  3.0
d6 1
a6 1
# $FreeBSD: ports/chinese/hc/Makefile,v 1.4 1999/08/25 04:57:48 obrien Exp $
@


1.4
log
@Change Id->FreeBSD.
@
text
@d3 1
a3 1
# Version required:     	  3.0
d7 1
a7 1
# $FreeBSD$
d18 1
a18 1
MAINTAINER=     obrien@@FreeBSD.org
@


1.3
log
@Portlint.
Change my email address.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1997/09/22 17:48:33 max Exp $
@


1.2
log
@Use ISO639 language code instead of ISO3166 country code for PKGNAME.
(IE, cn-* -> zh-*.)
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1997/02/08 00:36:01 obrien Exp $
d10 1
d18 1
a18 1
MAINTAINER=     obrien@@NUXI.com
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $
d10 1
a10 1
PKGNAME=	cn-hc-3.0
@


1.1.1.1
log
@This is the Hanzi Converter, which converts between GB and BIG-5 codes.
@
text
@@
