1997-02-08 00:36:02 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: hc
|
|
|
|
# Date created: Mon Feb 03, 1997
|
|
|
|
# Whom: David O'Brien (obrien@FreeBSD.org)
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1997-02-08 00:36:02 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:23 +00:00
|
|
|
PORTNAME= hc
|
|
|
|
PORTVERSION= 3.0
|
1997-02-08 00:36:02 +00:00
|
|
|
CATEGORIES= chinese
|
|
|
|
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
|
|
|
|
|
2002-11-05 03:38:57 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-02-08 00:36:02 +00:00
|
|
|
|
2002-11-04 05:46:38 +00:00
|
|
|
USE_REINPLACE= yes
|
1997-02-08 00:36:02 +00:00
|
|
|
WRKSRC= ${WRKDIR}/hc3
|
|
|
|
EXTRACT_ONLY= hc-30.tar.gz
|
|
|
|
ALL_TARGET= hc b2g g2b
|
|
|
|
MAN1= hc.1
|
|
|
|
|
2002-01-02 04:16:51 +00:00
|
|
|
pre-patch:
|
2002-11-04 05:46:38 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/hclib.c
|
2002-01-02 04:16:51 +00:00
|
|
|
|
1997-02-08 00:36:02 +00:00
|
|
|
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>
|