1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/chinese/hc/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 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)
2002-11-10 16:48:51 +00:00

38 lines
1019 B
Makefile

# ex:ts=8
# Ports collection makefile for: hc
# Date created: Mon Feb 03, 1997
# Whom: David O'Brien (obrien@FreeBSD.org)
#
# $FreeBSD$
#
PORTNAME= hc
PORTVERSION= 3.0
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
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
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>