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

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Free On-line Dictionary of Computing (EPWING V1 format)

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

NO_STAGE=   yes
do-install:
    ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
    ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
    ${INSTALL_DATA} ${WRKSRC}/foldoc/data/honmon ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
    ${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
    ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/foldoc-fpw
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>