summaryrefslogtreecommitdiff
path: root/misc/edict/Makefile
blob: 44888b6a62a680a4a771136edca7617d89054cf3 (plain)
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
# $NetBSD: Makefile,v 1.4 2005/01/03 15:44:06 wiz Exp $
#

DISTNAME=	edict
PKGNAME=	edict-2004.003
CATEGORIES=	japanese misc
MASTER_SITES=	ftp://ftp.cc.monash.edu.au/pub/nihongo/ \
		http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \
		ftp://ftp.nrc.ca/pub/packages/nihongo/ \
		http://www.bcit-broadcast.com/monash/ \
		ftp://ftp.sedl.org/pub/mirrors/nihongo/ \
		ftp://ftp.net.usf.edu/pub/monash/ \
		ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/ \
		ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/
EXTRACT_SUFX=	.gz
DISTFILES=	edict.gz edict_doc.txt

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://www.csse.monash.edu.au/~jwb/edict.html
COMMENT=	Japanese-English dictionary file

WRKSRC=		${WRKDIR}
DIST_SUBDIR=	${PKGNAME_NOREV}
EXTRACT_ONLY=	edict.gz

NO_BUILD=	# nothing to do

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/edict
	${INSTALL_DATA} ${WRKSRC}/edict ${PREFIX}/share/edict/
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/edict
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/edict_doc.txt \
		${PREFIX}/share/doc/edict

.include "../../mk/bsd.pkg.mk"