aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/roget-fpw/Makefile
blob: b6f9b1a2769a62857f8a6d3ee2c35dd4012e0a27 (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
# New ports collection makefile for:    Roget's Thesaurus - JIS X 4081 version
# Date created:         2000.11.28
# Whom:         Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= taoka@FreeBSD.org
COMMENT=    Roget's Thesaurus (EPWING V1 format)

USE_ZIP=    yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/roget
EXTRACT_BEFORE_ARGS=    -qL

do-install:
    ${MKDIR} ${PREFIX}/share/dict/roget-fpw/roget/data
    ${MKDIR} ${PREFIX}/share/dict/roget-fpw/roget/gaiji
    ${INSTALL_DATA} ${WRKSRC}/roget/data/honmon ${PREFIX}/share/dict/roget-fpw/roget/data
    ${INSTALL_DATA} ${WRKSRC}/roget/gaiji/gai16h ${PREFIX}/share/dict/roget-fpw/roget/gaiji
    ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/roget-fpw
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/roget-fpw
.for i in readme.pkg readme.txt
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/roget-fpw
.endfor
.endif

.include <bsd.port.mk>