mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Stage support
PR: 190979
This commit is contained in:
parent
569cc785bb
commit
63cd36500d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357810
@ -26,15 +26,14 @@ NO_BUILD= yes
|
||||
|
||||
REINPLACE_ARGS= -i ''
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|\$$root/completions|${DATADIR}/completions|g" ${WRKSRC}/libexec/rbenv-init
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${PREFIX}/bin
|
||||
( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${PREFIX}/libexec/ )
|
||||
@${LN} -sf ${PREFIX}/libexec/rbenv ${PREFIX}/bin/rbenv
|
||||
@${MKDIR} ${DATADIR}/completions
|
||||
( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${DATADIR}/completions )
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${STAGEDIR}${PREFIX}/bin
|
||||
( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${STAGEDIR}${PREFIX}/libexec/ )
|
||||
@${LN} -sf ${PREFIX}/libexec/rbenv ${STAGEDIR}${PREFIX}/bin/rbenv
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/completions
|
||||
( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/completions )
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user