30 lines
812 B
Makefile
30 lines
812 B
Makefile
# Created by: Satoshi Taoka <taoka@FreeBSD.org>
|
|
|
|
PORTNAME= edict-fpw
|
|
PORTVERSION= 1.2.2
|
|
PORTREVISION= 0
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/edict/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Japanese <-> English Dictionary (EPWING V1 format)
|
|
|
|
USES= zip
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/edict
|
|
EXTRACT_BEFORE_ARGS= -qL
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/edict-fpw/edict/data
|
|
${INSTALL_DATA} ${WRKSRC}/edict/data/honmon \
|
|
${STAGEDIR}${PREFIX}/share/dict/edict-fpw/edict/data
|
|
${INSTALL_DATA} ${WRKSRC}/catalogs \
|
|
${STAGEDIR}${PREFIX}/share/dict/edict-fpw
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} readme.pkg edict.txt \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|