blob: 87e748f95fbb3b1615269bdccaa3f3c106e00c31 (
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
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: EDICT - SDICT format version
# Date created: 00/01/14
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= edict-sdic
PORTVERSION= 20010615
CATEGORIES= japanese
MASTER_SITES= http://www.namazu.org/~tsuchiya/sdic/ \
ftp://ftp.cc.monash.edu.au/pub/nihongo/ \
ftp://ftp.cdrom.com/pub/japanese/monash/ \
ftp://ftp.sedl.org/pub/mirrors/nihongo/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/
DISTNAME= sdic-2.1.3
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
edict.gz \
edict_doc.txt
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= taoka@FreeBSD.org
COMMENT= Japanese <-> English Dictionary (SDIC format)
ALL_TARGET= jedict.sdic eedict.sdic
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=mule \
--with-lispdir=${PREFIX}/share/emacs/site-lisp \
--with-dictdir=${PREFIX}/share/dict
USE_PERL5= yes
post-extract:
${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}
${CP} -f ${DISTDIR}/edict_doc.txt ${WRKSRC}
${GZIP_CMD} -d ${WRKSRC}/edict.gz
do-install:
${MKDIR} ${PREFIX}/share/dict
${INSTALL_DATA} ${WRKSRC}/*.sdic ${PREFIX}/share/dict
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/edict
${INSTALL_DATA} ${WRKSRC}/edict_doc.txt ${PREFIX}/share/doc/edict
.endif
.include <bsd.port.mk>
|