- Move doc-install into post-install. We don't need this workaround

under current infrastructure.
This commit is contained in:
Rong-En Fan 2007-04-05 09:14:55 +00:00
parent eb3392969d
commit 58aeba5286
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189264
5 changed files with 16 additions and 25 deletions

View file

@ -33,11 +33,7 @@ DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${RUBY_SITELIBDIR}/
post-install: doc-install
.include <bsd.port.mk>
doc-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
@ -47,3 +43,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>

View file

@ -36,11 +36,7 @@ EXAMPLES_EN= es.png png.rb pngtest.rb pngtest.sh \
sample/4.png sample/5.png sample/6.png sample/7.png \
sample/8.png sample/9.png sample/pngcat.rb
post-install: doc-install
.include <bsd.port.mk>
doc-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES_EN}
@ -51,3 +47,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>

View file

@ -36,11 +36,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}
.endfor
post-install: doc-install
.include <bsd.port.mk>
doc-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
@ -50,3 +46,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>

View file

@ -41,11 +41,7 @@ EXAMPLES_EN= hello.rb pdfclock.rb pdfgraph.rb \
pdfimage.rb text2pdf.rb
EXAMPLES_JA= jtext2pdf.rb
post-install: doc-install
.include <bsd.port.mk>
doc-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_EN}
@ -62,3 +58,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>

View file

@ -34,11 +34,7 @@ DOCS_JA= README.ja
do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb ${CONFIGURE_ARGS}
post-install: doc-install
.include <bsd.port.mk>
doc-install:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
@ -50,3 +46,6 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>