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

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Roget's Thesaurus (EPWING V1 format)

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

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/data
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/gaiji
    ${INSTALL_DATA} ${WRKSRC}/roget/data/honmon \
        ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/data
    ${INSTALL_DATA} ${WRKSRC}/roget/gaiji/gai16h \
        ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/gaiji
    ${INSTALL_DATA} ${WRKSRC}/catalogs \
        ${STAGEDIR}${PREFIX}/share/dict/roget-fpw
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} readme.pkg readme.txt \
        ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>