Support stage
This commit is contained in:
parent
38b6dfa7f1
commit
2ac5830879
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350509
@ -23,22 +23,19 @@ USE_RUBY_EXTCONF= yes
|
||||
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
|
||||
CONFIGURE_ARGS= --with-libwrap-dir=/usr \
|
||||
--with-ident-dir="${LOCALBASE}"
|
||||
MAKE_ARGS= INSTALL_PROG="${INSTALL_PROGRAM}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}"
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS_EN= README.en doc/tcpwrap.html.en
|
||||
DOCS_JA= README.ja doc/tcpwrap.html.ja
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_MODEXAMPLESDIR}/
|
||||
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${RUBY_MODDOCDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${RUBY_MODDOCDIR}/ja/
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
|
||||
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_EN} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS_JA} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/tcpwrap.so
|
||||
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echod.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/echod.rb
|
||||
%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/tcpwrap.html.en
|
||||
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
|
||||
|
Loading…
Reference in New Issue
Block a user