freebsd-ports/japanese/edict-fpw/Makefile
Satoshi Taoka 45a3734328 Updated to version 1.2.1
- Names of distfiles (the original dictonary) were changed.

 - Previous dictonary is only Japanese-English one.
   This version's dictonary includes English-Japanese one, too.
2000-08-24 13:42:10 +00:00

52 lines
1.6 KiB
Makefile

# New ports collection makefile for: EDICT - JIS X 4081 format version
# Date created: 00/01/14
# Whom: Satoshi Taoka <taoka@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= edict-fpw
PORTVERSION= 1.2.1
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/freepwing/fpwbooks/edict/ \
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= ${PORTNAME}${PORTVERSION}-src
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
edict.gz \
edict_doc.txt
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= taoka@FreeBSD.org
BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
catdump:${PORTSDIR}/japanese/epwutil \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
post-extract:
${MKDIR} ${WRKSRC}/source
${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}/source
${CP} -f ${DISTDIR}/edict_doc.txt ${WRKSRC}/source
${GZIP_CMD} -d ${WRKSRC}/source/edict.gz
do-build:
cd ${WRKSRC}; fpwmake > /dev/null; \
fpwmake catalogs
do-install:
${MKDIR} ${PREFIX}/share/dict/edict-fpw/edict/data
${INSTALL_DATA} ${WRKSRC}/honmon ${PREFIX}/share/dict/edict-fpw/edict/data
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/edict-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/edict-fpw
${INSTALL_DATA} ${WRKSRC}/source/edict_doc.txt ${PREFIX}/share/doc/edict-fpw
${INSTALL_DATA} ${WRKSRC}/README.PKG ${PREFIX}/share/doc/edict-fpw
.endif
.include <bsd.port.mk>