[70731] trunk/dports/lang/ruby19/Portfile

kimuraw at macports.org kimuraw at macports.org
Thu Aug 19 08:16:16 PDT 2010


Revision: 70731
          http://trac.macports.org/changeset/70731
Author:   kimuraw at macports.org
Date:     2010-08-19 08:16:14 -0700 (Thu, 19 Aug 2010)
Log Message:
-----------
lang/ruby: upgrade to 1.9.2-p0_1, use lib/ruby1.9 for libraries (same as 1.9.1)

Modified Paths:
--------------
    trunk/dports/lang/ruby19/Portfile

Modified: trunk/dports/lang/ruby19/Portfile
===================================================================
--- trunk/dports/lang/ruby19/Portfile	2010-08-19 14:56:41 UTC (rev 70730)
+++ trunk/dports/lang/ruby19/Portfile	2010-08-19 15:16:14 UTC (rev 70731)
@@ -4,7 +4,7 @@
 
 name				ruby19
 version				1.9.2-p0
-revision			0
+revision			1
 
 categories			lang ruby
 maintainers			kimuraw openmaintainer
@@ -41,18 +41,16 @@
 					--mandir="${prefix}/share/man" \
 					--enable-pthread \
 					--without-tk \
-					--program-suffix=1.9
+					--program-suffix=1.9 \
+					--with-rubylibprefix=${prefix}/lib/ruby1.9
 
 # Ignore minor version for archdir, like i686-darwin9.
 # Port "ruby" does the same.
 configure.env		UNAME_RELEASE=${os.major}
 
 post-destroot {
-	# [NOTE] "lib/ruby/" path was changed from 1.9.2-p0
-	#     1.9.1 - lib/ruby1.9/ (-nosuffix)
-	#     1.9.2 - lib/ruby/    (+-nosuffix)
 	foreach type {site vendor} {
-			set libdir ${destroot}${prefix}/lib/ruby/${type}_ruby/1.9.1
+			set libdir ${destroot}${prefix}/lib/ruby1.9/${type}_ruby/1.9.1
 			xinstall -m 0755 -d ${libdir}
 			xinstall -m 0644 ${filespath}/${type}-specific.rb ${libdir}
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100819/6145d3e0/attachment.html>


More information about the macports-changes mailing list