[37106] trunk/dports/lang/jruby/Portfile
simon at macports.org
simon at macports.org
Mon May 26 13:16:09 PDT 2008
Revision: 37106
http://trac.macosforge.org/projects/macports/changeset/37106
Author: simon at macports.org
Date: 2008-05-26 13:16:09 -0700 (Mon, 26 May 2008)
Log Message:
-----------
lang/jruby: Maintainer update to version 1.1.1, closes #15170. Thanks to ameingast at gmail.com and trier at burntmail.com.
Modified Paths:
--------------
trunk/dports/lang/jruby/Portfile
Modified: trunk/dports/lang/jruby/Portfile
===================================================================
--- trunk/dports/lang/jruby/Portfile 2008-05-26 20:13:04 UTC (rev 37105)
+++ trunk/dports/lang/jruby/Portfile 2008-05-26 20:16:09 UTC (rev 37106)
@@ -1,9 +1,9 @@
-# $Id$
+# $Id: Portfile 34697 2008-03-03 07:36:29Z afb at macports.org $
PortSystem 1.0
name jruby
-version 1.0.3
+version 1.1.1
categories lang ruby
maintainers ameingast at gmail.com
@@ -22,7 +22,7 @@
distname ${name}-src-${version}
worksrcdir ${name}-${version}
use_bzip2 no
-checksums md5 def7168f6c8061da753f875acb250f66
+checksums md5 94ce5370ada712d2190666bacc6fae21
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
@@ -44,28 +44,28 @@
destroot {
# Create the target java directory exists
xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
-
+
# Copy over the needed elements of our directory tree
file copy \
${worksrcpath}/bin \
${worksrcpath}/lib \
${destroot}${prefix}/share/java/${name}
-
+
if { [variant_isset apidocs] } {
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name}
}
-
+
# Remove extraneous bat files
foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
file delete $f
}
-
+
set jruby_prefix ""
-
+
if { ![variant_isset default_ruby] } {
set jruby_prefix "j"
}
-
+
foreach f { jruby jirb jrubyc jrubcli jrubysrv } {
regsub {^j} $f $jruby_prefix dest
if { ${dest} != ${f} } {
@@ -73,7 +73,7 @@
}
ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/
}
-
+
foreach f { gem gem_mirror gemri gemwhich rake spec testrb } {
ln -s ${prefix}/share/java/${name}/bin/${f} \
${destroot}${prefix}/bin/${jruby_prefix}${f}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080526/a29dd2c7/attachment.htm
More information about the macports-changes
mailing list