From 506738e899f87e1a0e287dd71977ad5aeaeb7781 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Sat, 17 May 2014 18:41:43 +0000 Subject: [PATCH] - Add staging support - Convert to new options framework --- japanese/yasou-fpw/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/japanese/yasou-fpw/Makefile b/japanese/yasou-fpw/Makefile index cd22ab249030..021e4772e6c3 100644 --- a/japanese/yasou-fpw/Makefile +++ b/japanese/yasou-fpw/Makefile @@ -17,16 +17,16 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/yasou EXTRACT_BEFORE_ARGS= -qL -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${MKDIR} ${PREFIX}/share/dict/yasou-fpw/yasou/data - ${INSTALL_DATA} ${WRKSRC}/yasou/data/honmon ${PREFIX}/share/dict/yasou-fpw/yasou/data - ${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/yasou-fpw -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in readme.fpw yasoufpw.txt - ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/share/dict/yasou-fpw/yasou/data + ${INSTALL_DATA} ${WRKSRC}/yasou/data/honmon \ + ${STAGEDIR}${PREFIX}/share/dict/yasou-fpw/yasou/data + ${INSTALL_DATA} ${WRKSRC}/catalogs \ + ${STAGEDIR}${PREFIX}/share/dict/yasou-fpw + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} readme.fpw yasoufpw.txt \ + ${STAGEDIR}${DOCSDIR}) .include