[96202] trunk/dports/lang

ciserlohn at macports.org ciserlohn at macports.org
Fri Aug 3 12:26:33 PDT 2012


Revision: 96202
          https://trac.macports.org/changeset/96202
Author:   ciserlohn at macports.org
Date:     2012-08-03 12:26:32 -0700 (Fri, 03 Aug 2012)
Log Message:
-----------
jruby, jruby-devel: fix indentation/whitespace and svn properties

Modified Paths:
--------------
    trunk/dports/lang/jruby/Portfile
    trunk/dports/lang/jruby-devel/Portfile

Property Changed:
----------------
    trunk/dports/lang/jruby-devel/Portfile

Modified: trunk/dports/lang/jruby/Portfile
===================================================================
--- trunk/dports/lang/jruby/Portfile	2012-08-03 19:24:44 UTC (rev 96201)
+++ trunk/dports/lang/jruby/Portfile	2012-08-03 19:26:32 UTC (rev 96202)
@@ -1,104 +1,102 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name              jruby
-version           1.6.7.2
+name                jruby
+version             1.6.7.2
+                    
+categories          lang ruby
+maintainers         ciserlohn
+platforms           darwin
+                    
+description         JRuby is an 100% pure-Java implementation of the Ruby \
+                    programming language.
+long_description    JRuby provides a complete set of core "builtin" classes \
+                    and syntax for the Ruby language, as well as most of the \
+                    Ruby Standard Libraries. The standard libraries are mostly \
+                    Ruby's own complement of .rb files, but a few that depend \
+                    on C language-based extensions have been reimplemented.
+       
+conflicts           jruby
+                    
+homepage            http://jruby.org/
+                    
+master_sites        http://jruby.org.s3.amazonaws.com/downloads/${version}/
+distname            ${name}-src-${version}
+worksrcdir          ${name}-${version}
+                    
+checksums           rmd160  ccf300fb5793ca40287a654f95cdff28003d4236 \
+                    sha256  d3308652136a20883184860ea7b3373e8474f2b6df533518d02590e3f10dbca7
+                    
+depends_build       port:apache-ant
+depends_lib         bin:java:kaffe
+                    
+use_configure       no
+universal_variant   no
+                    
+build.cmd           ant
+build.target        jar
 
-categories        lang ruby
-maintainers       ciserlohn
-platforms         darwin
-
-description       JRuby is an 100% pure-Java implementation of the Ruby \
-programming language.
-long_description  JRuby provides a complete set of core "builtin" classes \
-and syntax for the Ruby language, as well as most of the \
-Ruby Standard Libraries. The standard libraries are mostly \
-Ruby's own complement of .rb files, but a few that depend \
-on C language-based extensions have been reimplemented.
-
-conflicts         jruby
-
-homepage          http://jruby.org/
-
-master_sites      http://jruby.org.s3.amazonaws.com/downloads/${version}/
-distname          ${name}-src-${version}
-worksrcdir        ${name}-${version}
-
-checksums         rmd160  ccf300fb5793ca40287a654f95cdff28003d4236 \
-                  sha256  d3308652136a20883184860ea7b3373e8474f2b6df533518d02590e3f10dbca7
-
-depends_build     port:apache-ant
-depends_lib       bin:java:kaffe
-
-use_configure     no
-universal_variant no
-
-build.cmd         ant
-build.target      jar
-
 variant apidocs description "include API documentation" {
-  build.target-append  apidocs
+    build.target-append  apidocs
 }
 
 variant nailgun description "include Nailgun support" {
-  build.target-append  build-ng
-  post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/tool/nailgun
-    copy ${worksrcpath}/tool/nailgun/ng ${destroot}${prefix}/share/java/${name}/tool/nailgun
-  }
+    build.target-append  build-ng
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/tool/nailgun
+        copy ${worksrcpath}/tool/nailgun/ng ${destroot}${prefix}/share/java/${name}/tool/nailgun
+    }
 }
 
-variant default_ruby description "build without j prefix" {
+variant default_ruby description "build without j prefix" {}
 
-}
-
 destroot {
-  # Create the target java directory exists
-  xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
+    # 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}
+    # 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}
-  }
+    if { [variant_isset apidocs] } {
+        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name}
+    }
 
-  # Remove extraneous .bat, .exe and .dll files
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
-    file delete $f
-  }
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.exe] {
-    file delete $f
-  }
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.dll] {
-    file delete $f
-  }
+    # Remove extraneous .bat, .exe and .dll files
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
+        file delete $f
+    }
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.exe] {
+        file delete $f
+    }
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.dll] {
+        file delete $f
+    }
 
-  set jruby_prefix ""
+    set jruby_prefix ""
 
-  if { ![variant_isset default_ruby] } {
-    set jruby_prefix "j"
-  }
+    if { ![variant_isset default_ruby] } {
+        set jruby_prefix "j"
+    }
 
-  foreach f { jruby jirb jrubyc jirb_swing } {
-    regsub {^j} $f $jruby_prefix dest
-    if { ${dest} != ${f} } {
-      ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest}
+    foreach f { jruby jirb jrubyc jirb_swing } {
+        regsub {^j} $f $jruby_prefix dest
+        if { ${dest} != ${f} } {
+            ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest}
+        }
+        ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/
     }
-    ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/
-  }
 
-  foreach f { ast gem rdoc ri testrb } {
-    ln -s ${prefix}/share/java/${name}/bin/${f} \
-    ${destroot}${prefix}/bin/${jruby_prefix}${f}
-  }
+    foreach f { ast gem rdoc ri testrb } {
+        ln -s ${prefix}/share/java/${name}/bin/${f} \
+            ${destroot}${prefix}/bin/${jruby_prefix}${f}
+    }
 }
 
-livecheck.type    regex
-livecheck.url     ${homepage}
-livecheck.regex   {Download the latest release.*<strong>(.*)</strong>}
+livecheck.type      regex
+livecheck.url       ${homepage}/download
+livecheck.regex     {JRuby (.*) is our previous installment of the JRuby 1.x series}

Modified: trunk/dports/lang/jruby-devel/Portfile
===================================================================
--- trunk/dports/lang/jruby-devel/Portfile	2012-08-03 19:24:44 UTC (rev 96201)
+++ trunk/dports/lang/jruby-devel/Portfile	2012-08-03 19:26:32 UTC (rev 96202)
@@ -1,106 +1,104 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id: Portfile 92712 2012-05-04 15:03:18Z ciserlohn at macports.org $
+# $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name              jruby-devel
-version           1.7.0.preview1
+name                jruby-devel
+version             1.7.0.preview1
+                    
+categories          lang ruby
+maintainers         ciserlohn
+platforms           darwin
+                    
+description         JRuby is an 100% pure-Java implementation of the Ruby \
+                    programming language.
+                    long_description  JRuby provides a complete set of core "builtin" classes \
+                    and syntax for the Ruby language, as well as most of the \
+                    Ruby Standard Libraries. The standard libraries are mostly \
+                    Ruby's own complement of .rb files, but a few that depend \
+                    on C language-based extensions have been reimplemented.
 
-categories        lang ruby
-maintainers       ciserlohn
-platforms         darwin
+conflicts           jruby
+                    
+homepage            http://jruby.org/
+                    
+master_sites        http://jruby.org.s3.amazonaws.com/downloads/${version}/
+distname            jruby-src-${version}
+worksrcdir          jruby-${version}
+                    
+checksums           rmd160  bfdadb2c4d795423f45c2694efe1020b0dd178cc \
+                    sha256  72be75334f0d4c1835160eb7b3207ff8c5defd095b3ba8ed0d42d23454bf8628
+                    
+depends_build       port:apache-ant
+depends_lib         bin:java:kaffe
+                    
+use_configure       no
+universal_variant   no
+                    
+build.cmd           ant
+build.target        jar
+                    
+build.asroot        yes
 
-description       JRuby is an 100% pure-Java implementation of the Ruby \
-programming language.
-long_description  JRuby provides a complete set of core "builtin" classes \
-and syntax for the Ruby language, as well as most of the \
-Ruby Standard Libraries. The standard libraries are mostly \
-Ruby's own complement of .rb files, but a few that depend \
-on C language-based extensions have been reimplemented.
-
-conflicts         jruby
-
-homepage          http://jruby.org/
-
-master_sites      http://jruby.org.s3.amazonaws.com/downloads/${version}/
-distname          jruby-src-${version}
-worksrcdir        jruby-${version}
-
-checksums         rmd160  bfdadb2c4d795423f45c2694efe1020b0dd178cc \
-                  sha256  72be75334f0d4c1835160eb7b3207ff8c5defd095b3ba8ed0d42d23454bf8628
-
-depends_build     port:apache-ant
-depends_lib       bin:java:kaffe
-
-use_configure     no
-universal_variant no
-
-build.cmd         ant
-build.target      jar
-
-build.asroot      yes
-
 variant apidocs description "include API documentation" {
-  build.target-append  apidocs
+    build.target-append  apidocs
 }
 
 variant nailgun description "include Nailgun support" {
-  build.target-append  build-ng
-  post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/tool/nailgun
-    copy ${worksrcpath}/tool/nailgun/ng ${destroot}${prefix}/share/java/${name}/tool/nailgun
-  }
+    build.target-append  build-ng
+    post-destroot {
+        xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/tool/nailgun
+        copy ${worksrcpath}/tool/nailgun/ng ${destroot}${prefix}/share/java/${name}/tool/nailgun
+    }
 }
 
-variant default_ruby description "build without j prefix" {
+variant default_ruby description "build without j prefix" {}
 
-}
-
 destroot {
-  # Create the target java directory exists
-  xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
+    # 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}
+    # 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}
-  }
+    if { [variant_isset apidocs] } {
+        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/java/${name}
+    }
 
-  # Remove extraneous .bat, .exe and .dll files
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
-    file delete $f
-  }
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.exe] {
-    file delete $f
-  }
-  foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.dll] {
-    file delete $f
-  }
+    # Remove extraneous .bat, .exe and .dll files
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
+        file delete $f
+    }
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.exe] {
+        file delete $f
+    }
+    foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.dll] {
+        file delete $f
+    }
 
-  set jruby_prefix ""
+    set jruby_prefix ""
 
-  if { ![variant_isset default_ruby] } {
-    set jruby_prefix "j"
-  }
+    if { ![variant_isset default_ruby] } {
+        set jruby_prefix "j"
+    }
 
-  foreach f { jruby jirb jrubyc jirb_swing } {
-    regsub {^j} $f $jruby_prefix dest
-    if { ${dest} != ${f} } {
-      ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest}
+    foreach f { jruby jirb jrubyc jirb_swing } {
+        regsub {^j} $f $jruby_prefix dest
+        if { ${dest} != ${f} } {
+            ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/${dest}
+        }
+        ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/
     }
-    ln -s ${prefix}/share/java/${name}/bin/${f} ${destroot}${prefix}/bin/
-  }
 
-  foreach f { ast gem rdoc ri testrb } {
-    ln -s ${prefix}/share/java/${name}/bin/${f} \
-    ${destroot}${prefix}/bin/${jruby_prefix}${f}
-  }
+    foreach f { ast gem rdoc ri testrb } {
+        ln -s ${prefix}/share/java/${name}/bin/${f} \
+            ${destroot}${prefix}/bin/${jruby_prefix}${f}
+    }
 }
 
-livecheck.type    regex
-livecheck.url     ${homepage}
-livecheck.regex   {Download the latest release.*<strong>(.*)</strong>}
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     {Download the latest release.*<strong>(.*)</strong>}


Property changes on: trunk/dports/lang/jruby-devel/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120803/95fdb2a3/attachment.html>


More information about the macports-changes mailing list