aboutsummaryrefslogtreecommitdiff
path: root/japanese/roget-fpw
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-13 20:10:02 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-13 20:10:02 +0000
commitc298f316d2d170d665187b291a8a27a195fb3b43 (patch)
treee7cfc364846866f7965b725bb10a64deebee3137 /japanese/roget-fpw
parent6493748feeab46390eb660efa8c58a9947406191 (diff)
downloadports-c298f316d2d170d665187b291a8a27a195fb3b43.tar.gz
ports-c298f316d2d170d665187b291a8a27a195fb3b43.zip
Notes
Diffstat (limited to 'japanese/roget-fpw')
-rw-r--r--japanese/roget-fpw/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/japanese/roget-fpw/Makefile b/japanese/roget-fpw/Makefile
index 7d5406e996de..e3ef02b30f06 100644
--- a/japanese/roget-fpw/Makefile
+++ b/japanese/roget-fpw/Makefile
@@ -16,18 +16,19 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/roget
EXTRACT_BEFORE_ARGS= -qL
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${MKDIR} ${PREFIX}/share/dict/roget-fpw/roget/data
- ${MKDIR} ${PREFIX}/share/dict/roget-fpw/roget/gaiji
- ${INSTALL_DATA} ${WRKSRC}/roget/data/honmon ${PREFIX}/share/dict/roget-fpw/roget/data
- ${INSTALL_DATA} ${WRKSRC}/roget/gaiji/gai16h ${PREFIX}/share/dict/roget-fpw/roget/gaiji
- ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/roget-fpw
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in readme.pkg readme.txt
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-.endfor
-.endif
+ @${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>