mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Add staging support
- Convert to new options framework
This commit is contained in:
parent
682960d22f
commit
506738e899
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354354
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user