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

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Virtual Entity of Relevant Aconyms (EPWING V1 format)

USES=       zip
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/vera
EXTRACT_BEFORE_ARGS=    -qL
VERA_VER=   1.8
VERAFPW_VER=    1.0.3

OPTIONS_DEFINE= DOCS

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

.include <bsd.port.mk>