1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/japanese/roget-fpw/Makefile
Pawel Pekala c298f316d2 - Add staging support
- Define DOCS option
2014-05-13 20:10:02 +00:00

35 lines
988 B
Makefile

# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$
PORTNAME= roget-fpw
PORTVERSION= 1.0.2
PORTREVISION= 0
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/roget/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Roget's Thesaurus (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/roget
EXTRACT_BEFORE_ARGS= -qL
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/data
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/gaiji
${INSTALL_DATA} ${WRKSRC}/roget/data/honmon \
${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/data
${INSTALL_DATA} ${WRKSRC}/roget/gaiji/gai16h \
${STAGEDIR}${PREFIX}/share/dict/roget-fpw/roget/gaiji
${INSTALL_DATA} ${WRKSRC}/catalogs \
${STAGEDIR}${PREFIX}/share/dict/roget-fpw
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} readme.pkg readme.txt \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>