aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/foldoc-fpw/Makefile
blob: 0f040198763507b16846f5ac55f5f4540c0251d8 (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
# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   foldoc-fpw
PORTVERSION=    1.0.2
PORTREVISION=   0
CATEGORIES= japanese
MASTER_SITES=   http://openlab.ring.gr.jp/edict/fpw/dist/foldoc/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Free On-line Dictionary of Computing (EPWING V1 format)

USES=       zip
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/foldoc
EXTRACT_BEFORE_ARGS=    -qL

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/data
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
    ${INSTALL_DATA} ${WRKSRC}/foldoc/data/honmon \
        ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/data
    ${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h \
        ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
    ${INSTALL_DATA} ${WRKSRC}/catalogs \
        ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>