Follow our hier(7) policy: share/doc/ruby/*/examples -> share/examples/ruby/*

This commit is contained in:
Akinori MUSHA 2000-08-07 12:50:16 +00:00
parent 12b93c7338
commit 6d71c7821e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31374
6 changed files with 28 additions and 28 deletions

View file

@ -30,7 +30,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${f} ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${f}
.endfor .endfor
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/optparse/examples/ja ${MKDIR} ${PREFIX}/share/examples/ruby/optparse/ja
${MKDIR} ${PREFIX}/share/doc/ruby/optparse/ja ${MKDIR} ${PREFIX}/share/doc/ruby/optparse/ja
.for f in optparse.rlog .for f in optparse.rlog
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/
@ -39,10 +39,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/ja/ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/ja/
.endfor .endfor
.for f in cmd-ls.rb cmd.rb getopts.test.en opttest.rb .for f in cmd-ls.rb cmd.rb getopts.test.en opttest.rb
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/examples/ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/ruby/optparse/
.endfor .endfor
.for f in getopts.test .for f in getopts.test
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/optparse/examples/ja ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/ruby/optparse/ja
.endfor .endfor
.endif .endif

View file

@ -2,14 +2,14 @@ lib/ruby/site_ruby/optparse/shellwords.rb
lib/ruby/site_ruby/optparse/time.rb lib/ruby/site_ruby/optparse/time.rb
lib/ruby/site_ruby/optparse.rb lib/ruby/site_ruby/optparse.rb
@dirrm lib/ruby/site_ruby/optparse @dirrm lib/ruby/site_ruby/optparse
share/doc/ruby/optparse/examples/ja/getopts.test share/examples/ruby/optparse/ja/getopts.test
share/doc/ruby/optparse/examples/cmd-ls.rb share/examples/ruby/optparse/cmd-ls.rb
share/doc/ruby/optparse/examples/cmd.rb share/examples/ruby/optparse/cmd.rb
share/doc/ruby/optparse/examples/getopts.test.en share/examples/ruby/optparse/getopts.test.en
share/doc/ruby/optparse/examples/opttest.rb share/examples/ruby/optparse/opttest.rb
share/doc/ruby/optparse/ja/optparse.ja.rd share/doc/ruby/optparse/ja/optparse.ja.rd
share/doc/ruby/optparse/optparse.rlog share/doc/ruby/optparse/optparse.rlog
@dirrm share/doc/ruby/optparse/examples/ja @dirrm share/examples/ruby/optparse/ja
@dirrm share/doc/ruby/optparse/examples @dirrm share/examples/ruby/optparse
@dirrm share/doc/ruby/optparse/ja @dirrm share/doc/ruby/optparse/ja
@dirrm share/doc/ruby/optparse @dirrm share/doc/ruby/optparse

View file

@ -37,10 +37,10 @@ do-build:
do-install: do-install:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb install @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb install
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/racc/examples ${MKDIR} ${PREFIX}/share/examples/ruby/racc
${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja ${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja
.for f in ${EXAMPLES} .for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/doc/ruby/racc/examples/ ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/ruby/racc/
.endfor .endfor
.for f in ${DOCS_EN} .for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/ ${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/

View file

@ -33,9 +33,9 @@ lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/racc/cparse.so
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/amstd @dirrm lib/ruby/site_ruby/%%RUBY_VER%%/amstd
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/racc @dirrm lib/ruby/site_ruby/%%RUBY_VER%%/racc
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/racc @dirrm lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/racc
share/doc/ruby/racc/examples/calc.y share/examples/ruby/racc/calc.y
share/doc/ruby/racc/examples/calc2-ja.y share/examples/ruby/racc/calc2-ja.y
share/doc/ruby/racc/examples/compile.rb share/examples/ruby/racc/compile.rb
share/doc/ruby/racc/ja/changes.html share/doc/ruby/racc/ja/changes.html
share/doc/ruby/racc/ja/command.html share/doc/ruby/racc/ja/command.html
share/doc/ruby/racc/ja/debug.html share/doc/ruby/racc/ja/debug.html
@ -49,6 +49,6 @@ share/doc/ruby/racc/debug.html
share/doc/ruby/racc/grammer.html share/doc/ruby/racc/grammer.html
share/doc/ruby/racc/index.html share/doc/ruby/racc/index.html
share/doc/ruby/racc/usage.html share/doc/ruby/racc/usage.html
@dirrm share/doc/ruby/racc/examples @dirrm share/examples/ruby/racc
@dirrm share/doc/ruby/racc/ja @dirrm share/doc/ruby/racc/ja
@dirrm share/doc/ruby/racc @dirrm share/doc/ruby/racc

View file

@ -32,9 +32,9 @@ do-configure:
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/python/examples/Lib ${MKDIR} ${PREFIX}/share/examples/ruby/python/Lib
${MKDIR} ${PREFIX}/share/doc/ruby/python/ja ${MKDIR} ${PREFIX}/share/doc/ruby/python/ja
cd ${WRKSRC}; find examples -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/ruby/python/{} \; cd ${WRKSRC}/examples; find . -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/ruby/python/{} \;
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
${PREFIX}/share/doc/ruby/python/ ${PREFIX}/share/doc/ruby/python/
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \ ${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \

View file

@ -1,12 +1,12 @@
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/python.so lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/python.so
share/doc/ruby/python/examples/Lib/BaseHTTPServer.rb share/examples/ruby/python/Lib/BaseHTTPServer.rb
share/doc/ruby/python/examples/Lib/README share/examples/ruby/python/Lib/README
share/doc/ruby/python/examples/Lib/base64.rb share/examples/ruby/python/Lib/base64.rb
share/doc/ruby/python/examples/Lib/rfc822.rb share/examples/ruby/python/Lib/rfc822.rb
share/doc/ruby/python/examples/Lib/urllib.rb share/examples/ruby/python/Lib/urllib.rb
share/doc/ruby/python/examples/hello.rb share/examples/ruby/python/hello.rb
share/doc/ruby/python/examples/html.py share/examples/ruby/python/html.py
share/doc/ruby/python/examples/html.rb share/examples/ruby/python/html.rb
share/doc/ruby/python/ja/README.ja share/doc/ruby/python/ja/README.ja
share/doc/ruby/python/ja/Mapping.html share/doc/ruby/python/ja/Mapping.html
share/doc/ruby/python/ja/Object.html share/doc/ruby/python/ja/Object.html
@ -20,7 +20,7 @@ share/doc/ruby/python/Object.html
share/doc/ruby/python/Py.html share/doc/ruby/python/Py.html
share/doc/ruby/python/Sequence.html share/doc/ruby/python/Sequence.html
share/doc/ruby/python/index.html share/doc/ruby/python/index.html
@dirrm share/doc/ruby/python/examples/Lib @dirrm share/examples/ruby/python/Lib
@dirrm share/doc/ruby/python/examples @dirrm share/examples/ruby/python
@dirrm share/doc/ruby/python/ja @dirrm share/doc/ruby/python/ja
@dirrm share/doc/ruby/python @dirrm share/doc/ruby/python