summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ruby-optparse/Makefile6
-rw-r--r--devel/ruby-optparse/pkg-plist14
-rw-r--r--devel/ruby-racc/Makefile4
-rw-r--r--devel/ruby-racc/pkg-plist8
-rw-r--r--lang/ruby-python/Makefile4
-rw-r--r--lang/ruby-python/pkg-plist20
6 files changed, 28 insertions, 28 deletions
diff --git a/devel/ruby-optparse/Makefile b/devel/ruby-optparse/Makefile
index 4df71b5ed000..2d0dac953d0e 100644
--- a/devel/ruby-optparse/Makefile
+++ b/devel/ruby-optparse/Makefile
@@ -30,7 +30,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${f}
.endfor
.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
.for f in optparse.rlog
${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/
.endfor
.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
.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
.endif
diff --git a/devel/ruby-optparse/pkg-plist b/devel/ruby-optparse/pkg-plist
index 52ce9ed63d64..c2c979696251 100644
--- a/devel/ruby-optparse/pkg-plist
+++ b/devel/ruby-optparse/pkg-plist
@@ -2,14 +2,14 @@ lib/ruby/site_ruby/optparse/shellwords.rb
lib/ruby/site_ruby/optparse/time.rb
lib/ruby/site_ruby/optparse.rb
@dirrm lib/ruby/site_ruby/optparse
-share/doc/ruby/optparse/examples/ja/getopts.test
-share/doc/ruby/optparse/examples/cmd-ls.rb
-share/doc/ruby/optparse/examples/cmd.rb
-share/doc/ruby/optparse/examples/getopts.test.en
-share/doc/ruby/optparse/examples/opttest.rb
+share/examples/ruby/optparse/ja/getopts.test
+share/examples/ruby/optparse/cmd-ls.rb
+share/examples/ruby/optparse/cmd.rb
+share/examples/ruby/optparse/getopts.test.en
+share/examples/ruby/optparse/opttest.rb
share/doc/ruby/optparse/ja/optparse.ja.rd
share/doc/ruby/optparse/optparse.rlog
-@dirrm share/doc/ruby/optparse/examples/ja
-@dirrm share/doc/ruby/optparse/examples
+@dirrm share/examples/ruby/optparse/ja
+@dirrm share/examples/ruby/optparse
@dirrm share/doc/ruby/optparse/ja
@dirrm share/doc/ruby/optparse
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index de7dd1e18e88..49ce6354211f 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -37,10 +37,10 @@ do-build:
do-install:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${RUBY} setup.rb install
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ruby/racc/examples
+ ${MKDIR} ${PREFIX}/share/examples/ruby/racc
${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja
.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
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/
diff --git a/devel/ruby-racc/pkg-plist b/devel/ruby-racc/pkg-plist
index 7d39c7e26a37..240cab99d969 100644
--- a/devel/ruby-racc/pkg-plist
+++ b/devel/ruby-racc/pkg-plist
@@ -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%%/racc
@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/racc
-share/doc/ruby/racc/examples/calc.y
-share/doc/ruby/racc/examples/calc2-ja.y
-share/doc/ruby/racc/examples/compile.rb
+share/examples/ruby/racc/calc.y
+share/examples/ruby/racc/calc2-ja.y
+share/examples/ruby/racc/compile.rb
share/doc/ruby/racc/ja/changes.html
share/doc/ruby/racc/ja/command.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/index.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
diff --git a/lang/ruby-python/Makefile b/lang/ruby-python/Makefile
index c758e43634bf..d49e6ff14bd3 100644
--- a/lang/ruby-python/Makefile
+++ b/lang/ruby-python/Makefile
@@ -32,9 +32,9 @@ do-configure:
post-install:
.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
- 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/* \
${PREFIX}/share/doc/ruby/python/
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
diff --git a/lang/ruby-python/pkg-plist b/lang/ruby-python/pkg-plist
index 90d7811eb5f7..142c1bb3d3c3 100644
--- a/lang/ruby-python/pkg-plist
+++ b/lang/ruby-python/pkg-plist
@@ -1,12 +1,12 @@
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/python.so
-share/doc/ruby/python/examples/Lib/BaseHTTPServer.rb
-share/doc/ruby/python/examples/Lib/README
-share/doc/ruby/python/examples/Lib/base64.rb
-share/doc/ruby/python/examples/Lib/rfc822.rb
-share/doc/ruby/python/examples/Lib/urllib.rb
-share/doc/ruby/python/examples/hello.rb
-share/doc/ruby/python/examples/html.py
-share/doc/ruby/python/examples/html.rb
+share/examples/ruby/python/Lib/BaseHTTPServer.rb
+share/examples/ruby/python/Lib/README
+share/examples/ruby/python/Lib/base64.rb
+share/examples/ruby/python/Lib/rfc822.rb
+share/examples/ruby/python/Lib/urllib.rb
+share/examples/ruby/python/hello.rb
+share/examples/ruby/python/html.py
+share/examples/ruby/python/html.rb
share/doc/ruby/python/ja/README.ja
share/doc/ruby/python/ja/Mapping.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/Sequence.html
share/doc/ruby/python/index.html
-@dirrm share/doc/ruby/python/examples/Lib
-@dirrm share/doc/ruby/python/examples
+@dirrm share/examples/ruby/python/Lib
+@dirrm share/examples/ruby/python
@dirrm share/doc/ruby/python/ja
@dirrm share/doc/ruby/python