aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-07 18:08:41 +0800
committerknu <knu@FreeBSD.org>2000-08-07 18:08:41 +0800
commit3099d4867b429656f1b05fb8e152b33cb5053068 (patch)
tree7f38b10a56dfeb1c35e56659a7625b48490e70c7
parent9c27f9c84abc27c8239b008ad9948d4071f19bf9 (diff)
downloadfreebsd-ports-gnome-3099d4867b429656f1b05fb8e152b33cb5053068.tar.gz
freebsd-ports-gnome-3099d4867b429656f1b05fb8e152b33cb5053068.tar.zst
freebsd-ports-gnome-3099d4867b429656f1b05fb8e152b33cb5053068.zip
Non-standard modules sould go under `site_ruby' directory.
-rw-r--r--devel/ruby-property/Makefile2
-rw-r--r--devel/ruby-property/pkg-plist2
-rw-r--r--math/ruby-bigfloat/Makefile2
-rw-r--r--math/ruby-bigfloat/pkg-plist2
4 files changed, 5 insertions, 3 deletions
diff --git a/devel/ruby-property/Makefile b/devel/ruby-property/Makefile
index 2390878e7a1a..c6b024fbbfa4 100644
--- a/devel/ruby-property/Makefile
+++ b/devel/ruby-property/Makefile
@@ -29,7 +29,7 @@ post-patch:
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
do-install:
- ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/${RUBY_VER}
+ ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/property/ja
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
diff --git a/devel/ruby-property/pkg-plist b/devel/ruby-property/pkg-plist
index 4128014c8007..6df5ac314cef 100644
--- a/devel/ruby-property/pkg-plist
+++ b/devel/ruby-property/pkg-plist
@@ -1,4 +1,4 @@
-lib/ruby/%%RUBY_VER%%/property.rb
+lib/ruby/site_ruby/property.rb
share/doc/ruby/property/property-example.rb
share/doc/ruby/property/test.default
share/doc/ruby/property/property.README
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
index aab0c9307217..ff85070440e6 100644
--- a/math/ruby-bigfloat/Makefile
+++ b/math/ruby-bigfloat/Makefile
@@ -16,6 +16,8 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+INSTALL_TARGET= site-install
+
NO_WRKSUBDIR= yes
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
diff --git a/math/ruby-bigfloat/pkg-plist b/math/ruby-bigfloat/pkg-plist
index b637ee6a6319..95ea4b50eb9e 100644
--- a/math/ruby-bigfloat/pkg-plist
+++ b/math/ruby-bigfloat/pkg-plist
@@ -1,4 +1,4 @@
-lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/BigFloat.so
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/BigFloat.so
share/doc/ruby/bigfloat/ja/bigfloat.html
share/doc/ruby/bigfloat/README
share/doc/ruby/bigfloat/bigfloat_en.html