aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ruby-uri/Makefile2
-rw-r--r--net/ruby-uri/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/ruby-uri/Makefile b/net/ruby-uri/Makefile
index d861bb064179..18f86ba7ce52 100644
--- a/net/ruby-uri/Makefile
+++ b/net/ruby-uri/Makefile
@@ -32,7 +32,7 @@ EXAMPLES= in-uri.txt test-uri.rb
do-install:
.for f in ${MODULES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/uri
diff --git a/net/ruby-uri/pkg-plist b/net/ruby-uri/pkg-plist
index 17673f4a1c68..099f5a50fdb5 100644
--- a/net/ruby-uri/pkg-plist
+++ b/net/ruby-uri/pkg-plist
@@ -1,5 +1,5 @@
-lib/ruby/site_ruby/uri.rb
-lib/ruby/site_ruby/urireg.rb
+lib/ruby/site_ruby/%%RUBY_VER%%/uri.rb
+lib/ruby/site_ruby/%%RUBY_VER%%/urireg.rb
share/examples/ruby/uri/test-uri.rb
share/examples/ruby/uri/in-uri.txt
@dirrm share/examples/ruby/uri