mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Stage support
This commit is contained in:
parent
e31ca48945
commit
1c4caf7f92
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345598
@ -17,24 +17,21 @@ USE_RUBY= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/rbison
|
||||
|
||||
DOCS= ChangeLog README
|
||||
EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
|
||||
calc.in calc.ry calc_test.rb
|
||||
DOCS= ChangeLog README
|
||||
EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
|
||||
calc.in calc.ry calc_test.rb
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rbison ${PREFIX}/bin/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rbison ${STAGEDIR}${PREFIX}/bin/
|
||||
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user