svn commit: r353986 - head/japanese/roget-fpw
Pawel Pekala
pawel at FreeBSD.org
Tue May 13 20:10:02 UTC 2014
Author: pawel
Date: Tue May 13 20:10:02 2014
New Revision: 353986
URL: http://svnweb.freebsd.org/changeset/ports/353986
QAT: https://qat.redports.org/buildarchive/r353986/
Log:
- Add staging support
- Define DOCS option
Modified:
head/japanese/roget-fpw/Makefile
Modified: head/japanese/roget-fpw/Makefile
==============================================================================
--- head/japanese/roget-fpw/Makefile Tue May 13 20:08:38 2014 (r353985)
+++ head/japanese/roget-fpw/Makefile Tue May 13 20:10:02 2014 (r353986)
@@ -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>
More information about the svn-ports-all
mailing list