aboutsummaryrefslogtreecommitdiff
path: root/japanese/foldoc-fpw
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-09 12:56:57 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-09 12:56:57 +0000
commit9275753d7bee2996403c39b79d8998eb42452d4b (patch)
tree339eb02f411029ede25347df861469a51a946b11 /japanese/foldoc-fpw
parent57b4bd2e3453191ef64b99c06869d98c3ff489dd (diff)
downloadports-9275753d7bee2996403c39b79d8998eb42452d4b.tar.gz
ports-9275753d7bee2996403c39b79d8998eb42452d4b.zip
- Add staging support
- Fix COMMENT, add DOCS option
Notes
Notes: svn path=/head/; revision=353457
Diffstat (limited to 'japanese/foldoc-fpw')
-rw-r--r--japanese/foldoc-fpw/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/japanese/foldoc-fpw/Makefile b/japanese/foldoc-fpw/Makefile
index f579e641244a..4dedb2e66aa3 100644
--- a/japanese/foldoc-fpw/Makefile
+++ b/japanese/foldoc-fpw/Makefile
@@ -9,23 +9,25 @@ MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/foldoc/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= The Free On-line Dictionary of Computing (EPWING V1 format)
+COMMENT= Free On-line Dictionary of Computing (EPWING V1 format)
USES= zip:infozip
NO_BUILD= yes
WRKSRC= ${WRKDIR}/foldoc
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
- ${MKDIR} ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
- ${INSTALL_DATA} ${WRKSRC}/foldoc/data/honmon ${PREFIX}/share/dict/foldoc-fpw/foldoc/data
- ${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/foldoc-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/data
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/foldoc/data/honmon \
+ ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/data
+ ${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h \
+ ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
+ ${INSTALL_DATA} ${WRKSRC}/catalogs \
+ ${STAGEDIR}${PREFIX}/share/dict/foldoc-fpw
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>