mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
Support stage
This commit is contained in:
parent
2ac5830879
commit
b6b3ebf536
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350510
@ -12,23 +12,23 @@ DIST_SUBDIR= ruby
|
||||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= A Ruby library to manipulate filesystem quotas
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}-${PORTVERSION}
|
||||
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}"
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS_EN= ChangeLog README README.html
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODDOCDIR}
|
||||
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
||||
.for f in ${DOCS_EN}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/quota.so
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test.rb
|
||||
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.html
|
||||
|
Loading…
Reference in New Issue
Block a user