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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Biographical dictionary (EPWING V1 format)

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

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>