aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/CGdic-fpw/Makefile
blob: 60286877a09818f3cde4a694e1b0d8d3fc8523db (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
# New ports collection makefile for:    CG Japanese Dictionary - JIS X 4081 version
# Date created:         2000.11.28
# Whom:         Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   CGdic-fpw
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   http://openlab.ring.gr.jp/edict/fpw/dist/CGdic1.5h/
DISTNAME=   CGdic1.5h-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Japanese dictionary for CG (EPWING V1 format)

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

do-install:
    ${MKDIR} ${PREFIX}/share/dict/CGdic-fpw/cg/data
    ${INSTALL_DATA} ${WRKSRC}/cg/data/honmon ${PREFIX}/share/dict/CGdic-fpw/cg/data
    ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/CGdic-fpw
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in readme
    ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>