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

PORTNAME=   ryaku-fpw
PORTVERSION=    1.0.1
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   http://openlab.ring.gr.jp/edict/fpw/dist/Ryaku/
DISTNAME=   Ryaku-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Abbreviation (alphabet-->Japanese) dictionary (EPWING V1 format)

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

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw/ryaku/data
    ${INSTALL_DATA} ${WRKSRC}/ryaku/data/honmon \
        ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw/ryaku/data
    ${INSTALL_DATA} ${WRKSRC}/catalogs \
        ${STAGEDIR}${PREFIX}/share/dict/ryaku-fpw
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>