1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Do not install examples if NOPORTDOCS.

This commit is contained in:
Akinori MUSHA 2000-08-22 07:05:11 +00:00
parent 50d40d0008
commit d518b411bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31850

View File

@ -42,11 +42,11 @@ do-build:
do-install:
${INSTALL_DATA} ${WRKSRC}/ext/strscanso/strscan.so \
${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/strscan
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/ruby/strscan/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/strscan/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/strscan/