1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/edict-fpw/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

50 lines
1.5 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.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
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= taoka@FreeBSD.org
BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
catdump:${PORTSDIR}/japanese/epwutil
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
post-extract:
${MKDIR} ${WRKSRC}/source
${CP} -f ${DISTDIR}/edict.gz ${WRKSRC}/source
${CP} -f ${DISTDIR}/edict.doc ${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 ${PREFIX}/share/doc/edict-fpw
${INSTALL_DATA} ${WRKSRC}/README.pkg ${PREFIX}/share/doc/edict-fpw
.endif
.include <bsd.port.mk>