2000-01-25 13:02:37 +00:00
|
|
|
# New ports collection makefile for: EDICT - SDICT format version
|
|
|
|
# Date created: 00/01/14
|
|
|
|
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= edict-sdic
|
2000-08-24 13:36:20 +00:00
|
|
|
PORTVERSION= 20000622
|
2000-01-25 13:02:37 +00:00
|
|
|
CATEGORIES= japanese
|
|
|
|
MASTER_SITES= ftp://pine.kuee.kyoto-u.ac.jp/pub/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/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= sdic-2.1.2
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
edict.gz \
|
2000-08-24 13:36:20 +00:00
|
|
|
edict_doc.txt
|
2000-04-11 14:15:53 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2000-01-25 13:02:37 +00:00
|
|
|
|
|
|
|
MAINTAINER= taoka@FreeBSD.org
|
|
|
|
|
|
|
|
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
|
2000-01-27 13:36:37 +00:00
|
|
|
|
2000-01-25 13:02:37 +00:00
|
|
|
post-extract:
|
2000-01-27 13:36:37 +00:00
|
|
|
${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}
|
2000-08-24 13:36:20 +00:00
|
|
|
${CP} -f ${DISTDIR}/edict_doc.txt ${WRKSRC}
|
2000-01-25 13:02:37 +00:00
|
|
|
${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
|
2000-08-24 13:36:20 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/edict_doc.txt ${PREFIX}/share/doc/edict
|
2000-01-25 13:02:37 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|