aboutsummaryrefslogtreecommitdiff
path: root/japanese/foldoc-fpw/Makefile
blob: 70e9be88f91150578f2579c916bc58879f9ee9f7 (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
# New ports collection makefile for:	foldoc - JIS X 4081 format version
# Date created:        	01/08/23
# Whom:			Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#

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

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

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

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} ${PREFIX}/share/doc/foldoc-fpw
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/foldoc-fpw
.endif

.include <bsd.port.mk>