mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
Stage support
This commit is contained in:
parent
6c4b8f6b90
commit
eaa6f0ada1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345523
1 changed files with 8 additions and 14 deletions
|
@ -10,7 +10,7 @@ DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||||
DIST_SUBDIR= ruby
|
DIST_SUBDIR= ruby
|
||||||
|
|
||||||
MAINTAINER= ruby@FreeBSD.org
|
MAINTAINER= ruby@FreeBSD.org
|
||||||
COMMENT= A binary search library for Ruby
|
COMMENT= Binary search library for Ruby
|
||||||
|
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
|
|
||||||
|
@ -23,23 +23,17 @@ DOCS_EN= ChangeLog \
|
||||||
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
|
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
|
||||||
${RUBY_RD_HTML_FILES:M*.ja.html}
|
${RUBY_RD_HTML_FILES:M*.ja.html}
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/bsearch.rb ${RUBY_SITELIBDIR}/
|
@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
||||||
|
${INSTALL_SCRIPT} ${WRKSRC}/bsearch.rb ${STAGEDIR}${RUBY_SITELIBDIR}
|
||||||
post-install: doc-install
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||||
|
|
||||||
doc-install:
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
||||||
.for f in ${DOCS_EN}
|
.for f in ${DOCS_EN}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.for f in ${DOCS_JA}
|
.for f in ${DOCS_JA}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue