aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/chm2html/Makefile
blob: c858073e6991cd20111fc29c282acc437a66e35a (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
# New ports collection makefile for:    zh-chm2html
# Date created:     16 April 2003
# Whom:         Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   chm2html
PORTVERSION=    0.1a
CATEGORIES= chinese
MASTER_SITES=   http://www.geocities.com/labourvanity/pub/ \
        ftp://freebsd.sinica.edu.tw/pub/statue/chm2html/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    CHM Tools package

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-extract:
        @cd ${WRKSRC} && ${TAR} zxvf chmtools.tar.gz
        @cd ${WRKSRC} && ${TAR} zxvf utf-converter-1.0.tar.gz

do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/chm2html ${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/hhc2bookmark.pl ${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/hhc2html.pl ${PREFIX}/bin
        ${INSTALL_SCRIPT} ${FILESDIR}/chm.sh ${PREFIX}/bin

.include <bsd.port.mk>