summaryrefslogtreecommitdiffstats
path: root/chinese/dictd-database/Makefile
blob: 63cef2fd418d354c22853165ef8d5e349c4c7092 (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
# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
# $FreeBSD$

PORTNAME=	dictd-database
PORTVERSION=	1.6
PORTREVISION=	1
CATEGORIES=	chinese textproc
MASTER_SITES=	LOCAL/rafan/chinese/ \
		ftp://freebsd.sinica.edu.tw/pub/statue/dictd-database/
DISTNAME=	dict-zh-${PORTVERSION}

MAINTAINER=	rafan@FreeBSD.org
COMMENT=	Chinese <-> English dictd words database

LICENSE=	GPLv2

RUN_DEPENDS=	${LOCALBASE}/sbin/dictd:${PORTSDIR}/net/dictd

NO_BUILD=	yes
SUB_FILES=	pkg-message

DICTFILES=	cedict pydict moecomp netterm

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/dict
	for f in ${DICTFILES}; do \
	  ${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${STAGEDIR}${PREFIX}/lib/dict; \
	  ${INSTALL_DATA} ${WRKSRC}/$${f}.index ${STAGEDIR}${PREFIX}/lib/dict; \
	done

.include <bsd.port.mk>
OpenPOWER on IntegriCloud