mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
- Stage support
This commit is contained in:
parent
a95e71a729
commit
d2308d1955
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345943
1 changed files with 5 additions and 9 deletions
|
@ -13,25 +13,21 @@ MAINTAINER= ruby@FreeBSD.org
|
||||||
COMMENT= Simple properties scheme for Ruby
|
COMMENT= Simple properties scheme for Ruby
|
||||||
|
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${RUBY} -i -pe 'gsub /rubyapi\.css/, "../rubyapi.css"' ${WRKSRC}/Properties-ja.html
|
${RUBY} -i -pe 'gsub /rubyapi\.css/, "../rubyapi.css"' ${WRKSRC}/Properties-ja.html
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/property.rb ${RUBY_SITELIBDIR}
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
||||||
.if !defined(NOPORTDOCS)
|
${INSTALL_DATA} ${WRKSRC}/property.rb ${STAGEDIR}${RUBY_SITELIBDIR}
|
||||||
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||||
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
|
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.for f in property.README.ja Properties-ja.html
|
.for f in property.README.ja Properties-ja.html
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue