aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/hc/Makefile
blob: 400525ab2cc57be036ee0cbdc3ca6706160695c3 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:  hc
# Version required:           3.0
# Date created:           Mon Feb 03, 1997
# Whom:               David O'Brien (obrien@FreeBSD.org)
#
# $Id: Makefile,v 1.2 1997/09/22 17:48:33 max Exp $
#

DISTNAME=   hc-3.0
PKGNAME=    zh-hc-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=     obrien@FreeBSD.org

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

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>