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

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Japanese <-> English Dictionary (EPWING V1 format)

USES=       zip:infozip
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/edict
EXTRACT_BEFORE_ARGS=    -qL

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>