aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ebd-fpw/Makefile
blob: a7d1e22333cb9fd5e4a80adc52b30c694f7774b0 (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=   ebd-fpw
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   http://openlab.ring.gr.jp/edict/fpw/dist/ebd/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Easton's 1897 Bible Dictionary (EPWING V1 format)

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

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>