Changeset 95464


Ignore:
Timestamp:
Jul 13, 2012, 6:45:37 PM (7 years ago)
Author:
blair@…
Message:

scala*: whitespace changes: move to 4-space indentation.

Location:
trunk/dports/lang
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/scala2.10/Portfile

    r95463 r95464  
    3939
    4040destroot {
    41         set sharedir ${destroot}${prefix}/share
    42         set man1dir ${sharedir}/man/man1
    43         set scaladir ${sharedir}/scala-${branch}
    44         set bindir ${scaladir}/bin
    45         set docdir ${sharedir}/doc
    46         set docscaladir ${docdir}/scala-${branch}
     41    set sharedir ${destroot}${prefix}/share
     42    set man1dir ${sharedir}/man/man1
     43    set scaladir ${sharedir}/scala-${branch}
     44    set bindir ${scaladir}/bin
     45    set docdir ${sharedir}/doc
     46    set docscaladir ${docdir}/scala-${branch}
    4747
    48         xinstall -d -m 755 ${sharedir}
    49         file copy ${worksrcpath} ${scaladir}
     48    xinstall -d -m 755 ${sharedir}
     49    file copy ${worksrcpath} ${scaladir}
    5050
    51         foreach f {fsc scala scalac scaladoc scalap} {
    52                 file attributes ${bindir}/${f} -permissions 0755
    53                 ln -s ../share/scala-${branch}/bin/${f} ${destroot}${prefix}/bin/${f}-${branch}
    54         }
     51    foreach f {fsc scala scalac scaladoc scalap} {
     52        file attributes ${bindir}/${f} -permissions 0755
     53        ln -s ../share/scala-${branch}/bin/${f} \
     54            ${destroot}${prefix}/bin/${f}-${branch}
     55    }
    5556
    56         file delete ${man1dir}
    57         file rename ${scaladir}/man/man1 ${man1dir}
    58         foreach f {fsc scala scalac scaladoc scalap} {
    59                 file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
    60         }
    61         file delete -force ${scaladir}/man
     57    file delete ${man1dir}
     58    file rename ${scaladir}/man/man1 ${man1dir}
     59    foreach f {fsc scala scalac scaladoc scalap} {
     60        file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
     61    }
     62    file delete -force ${scaladir}/man
    6263
    63         xinstall -d -m 755 ${docdir}
    64         file rename ${scaladir}/doc ${docscaladir}
     64    xinstall -d -m 755 ${docdir}
     65    file rename ${scaladir}/doc ${docscaladir}
    6566
    66         xinstall -d -m 755 ${sharedir}/java
    67         foreach f {scala-actors.jar
    68                    scala-actors-migration.jar
    69                    scala-compiler.jar
    70                    scala-library.jar
    71                    scala-partest.jar
    72                    scala-reflect.jar
    73                    scala-swing.jar
    74                    scalacheck.jar
    75                    scalap.jar} {
    76                 set g [strsed ${f} "/.jar/-${branch}.jar/"]
    77                 ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
    78         }
     67    xinstall -d -m 755 ${sharedir}/java
     68    foreach f {scala-actors.jar
     69               scala-actors-migration.jar
     70               scala-compiler.jar
     71               scala-library.jar
     72               scala-partest.jar
     73               scala-reflect.jar
     74               scala-swing.jar
     75               scalacheck.jar
     76               scalap.jar} {
     77        set g [strsed ${f} "/.jar/-${branch}.jar/"]
     78        ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
     79    }
    7980}
  • trunk/dports/lang/scala2.7/Portfile

    r95002 r95464  
    3838
    3939destroot {
    40         set sharedir ${destroot}${prefix}/share
    41         set man1dir ${sharedir}/man/man1
    42         set scaladir ${sharedir}/scala-${branch}
    43         set docscaladir ${sharedir}/doc/scala-${branch}
     40    set sharedir ${destroot}${prefix}/share
     41    set man1dir ${sharedir}/man/man1
     42    set scaladir ${sharedir}/scala-${branch}
     43    set docscaladir ${sharedir}/doc/scala-${branch}
    4444
    45         xinstall -d -m 755 ${sharedir}
    46         file copy ${worksrcpath} ${scaladir}
     45    xinstall -d -m 755 ${sharedir}
     46    file copy ${worksrcpath} ${scaladir}
    4747
    48         foreach f {fsc sbaz sbaz-setup scala scalac scaladoc scalap} {
    49                 ln -s ../share/scala-${branch}/bin/${f} ${destroot}${prefix}/bin/${f}-${branch}
    50         }
     48    foreach f {fsc sbaz sbaz-setup scala scalac scaladoc scalap} {
     49        ln -s ../share/scala-${branch}/bin/${f} \
     50            ${destroot}${prefix}/bin/${f}-${branch}
     51    }
    5152
    52         file delete ${man1dir}
    53         file rename ${scaladir}/man/man1 ${man1dir}
    54         foreach f {fsc sbaz scala scalac scaladoc} {
    55                 file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
    56         }
    57         file delete -force ${scaladir}/man
     53    file delete ${man1dir}
     54    file rename ${scaladir}/man/man1 ${man1dir}
     55    foreach f {fsc sbaz scala scalac scaladoc} {
     56        file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
     57    }
     58    file delete -force ${scaladir}/man
    5859
    59         xinstall -d -m 755 ${docscaladir}
    60         foreach doc {sbaz sbaz-setup} {
    61                 file rename ${scaladir}/doc/${doc} ${docscaladir}/${doc}
    62         }
    63         file delete -force ${scaladir}/doc
     60    xinstall -d -m 755 ${docscaladir}
     61    foreach doc {sbaz sbaz-setup} {
     62        file rename ${scaladir}/doc/${doc} ${docscaladir}/${doc}
     63    }
     64    file delete -force ${scaladir}/doc
    6465
    65         xinstall -d -m 755 ${sharedir}/java
    66         foreach f {sbaz-tests.jar
    67                    sbaz.jar
    68                    scala-compiler.jar
    69                    scala-dbc.jar
    70                    scala-library.jar
    71                    scala-swing.jar} {
    72                 set g [strsed ${f} "/.jar/-${branch}.jar/"]
    73                 ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
    74         }
     66    xinstall -d -m 755 ${sharedir}/java
     67    foreach f {sbaz-tests.jar
     68               sbaz.jar
     69               scala-compiler.jar
     70               scala-dbc.jar
     71               scala-library.jar
     72               scala-swing.jar} {
     73        set g [strsed ${f} "/.jar/-${branch}.jar/"]
     74        ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
     75    }
    7576}
  • trunk/dports/lang/scala2.8/Portfile

    r95003 r95464  
    3838
    3939destroot {
    40         set sharedir ${destroot}${prefix}/share
    41         set man1dir ${sharedir}/man/man1
    42         set scaladir ${sharedir}/scala-${branch}
    43         set docscaladir ${sharedir}/doc/scala-${branch}
     40    set sharedir ${destroot}${prefix}/share
     41    set man1dir ${sharedir}/man/man1
     42    set scaladir ${sharedir}/scala-${branch}
     43    set docscaladir ${sharedir}/doc/scala-${branch}
    4444
    45         xinstall -d -m 755 ${sharedir}
    46         file copy ${worksrcpath} ${scaladir}
     45    xinstall -d -m 755 ${sharedir}
     46    file copy ${worksrcpath} ${scaladir}
    4747
    48         foreach f {fsc sbaz sbaz-setup scala scalac scaladoc scalap} {
    49                 ln -s ../share/scala-${branch}/bin/${f} ${destroot}${prefix}/bin/${f}-${branch}
    50         }
     48    foreach f {fsc sbaz sbaz-setup scala scalac scaladoc scalap} {
     49        ln -s ../share/scala-${branch}/bin/${f} \
     50            ${destroot}${prefix}/bin/${f}-${branch}
     51    }
    5152
    52         file delete ${man1dir}
    53         file rename ${scaladir}/man/man1 ${man1dir}
    54         foreach f {fsc sbaz scala scalac scaladoc scalap} {
    55                 file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
    56         }
    57         file delete -force ${scaladir}/man
     53    file delete ${man1dir}
     54    file rename ${scaladir}/man/man1 ${man1dir}
     55    foreach f {fsc sbaz scala scalac scaladoc scalap} {
     56        file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
     57    }
     58    file delete -force ${scaladir}/man
    5859
    59         xinstall -d -m 755 ${docscaladir}
    60         foreach doc {sbaz sbaz-setup} {
    61                 file rename ${scaladir}/doc/${doc} ${docscaladir}/${doc}
    62         }
    63         file delete -force ${scaladir}/doc
     60    xinstall -d -m 755 ${docscaladir}
     61    foreach doc {sbaz sbaz-setup} {
     62        file rename ${scaladir}/doc/${doc} ${docscaladir}/${doc}
     63    }
     64    file delete -force ${scaladir}/doc
    6465
    65         xinstall -d -m 755 ${sharedir}/java
    66         foreach f {scala-compiler.jar
    67                    scala-dbc.jar
    68                    scala-library.jar
    69                    scala-swing.jar
    70                    scalap.jar} {
    71                 set g [strsed ${f} "/.jar/-${branch}.jar/"]
    72                 ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
    73         }
     66    xinstall -d -m 755 ${sharedir}/java
     67    foreach f {scala-compiler.jar
     68               scala-dbc.jar
     69               scala-library.jar
     70               scala-swing.jar
     71               scalap.jar} {
     72        set g [strsed ${f} "/.jar/-${branch}.jar/"]
     73        ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
     74    }
    7475}
  • trunk/dports/lang/scala2.9/Portfile

    r95004 r95464  
    3838
    3939destroot {
    40         set sharedir ${destroot}${prefix}/share
    41         set man1dir ${sharedir}/man/man1
    42         set scaladir ${sharedir}/scala-${branch}
    43         set bindir ${scaladir}/bin
    44         set docdir ${sharedir}/doc
    45         set docscaladir ${docdir}/scala-${branch}
     40    set sharedir ${destroot}${prefix}/share
     41    set man1dir ${sharedir}/man/man1
     42    set scaladir ${sharedir}/scala-${branch}
     43    set bindir ${scaladir}/bin
     44    set docdir ${sharedir}/doc
     45    set docscaladir ${docdir}/scala-${branch}
    4646
    47         xinstall -d -m 755 ${sharedir}
    48         file copy ${worksrcpath} ${scaladir}
     47    xinstall -d -m 755 ${sharedir}
     48    file copy ${worksrcpath} ${scaladir}
    4949
    50         foreach f {fsc scala scalac scaladoc scalap} {
    51                 file attributes ${bindir}/${f} -permissions 0755
    52                 ln -s ../share/scala-${branch}/bin/${f} ${destroot}${prefix}/bin/${f}-${branch}
    53         }
     50    foreach f {fsc scala scalac scaladoc scalap} {
     51        file attributes ${bindir}/${f} -permissions 0755
     52        ln -s ../share/scala-${branch}/bin/${f} \
     53            ${destroot}${prefix}/bin/${f}-${branch}
     54    }
    5455
    55         file delete ${man1dir}
    56         file rename ${scaladir}/man/man1 ${man1dir}
    57         foreach f {fsc scala scalac scaladoc scalap} {
    58                 file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
    59         }
    60         file delete -force ${scaladir}/man
     56    file delete ${man1dir}
     57    file rename ${scaladir}/man/man1 ${man1dir}
     58    foreach f {fsc scala scalac scaladoc scalap} {
     59        file rename ${man1dir}/${f}.1 ${man1dir}/${f}-${branch}.1
     60    }
     61    file delete -force ${scaladir}/man
    6162
    62         xinstall -d -m 755 ${docdir}
    63         file rename ${scaladir}/doc ${docscaladir}
     63    xinstall -d -m 755 ${docdir}
     64    file rename ${scaladir}/doc ${docscaladir}
    6465
    65         xinstall -d -m 755 ${sharedir}/java
    66         foreach f {scala-compiler.jar
    67                    scala-dbc.jar
    68                    scala-library.jar
    69                    scala-partest.jar
    70                    scala-swing.jar
    71                    scalacheck.jar
    72                    scalap.jar} {
    73                 set g [strsed ${f} "/.jar/-${branch}.jar/"]
    74                 ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
    75         }
     66    xinstall -d -m 755 ${sharedir}/java
     67    foreach f {scala-compiler.jar
     68               scala-dbc.jar
     69               scala-library.jar
     70               scala-partest.jar
     71               scala-swing.jar
     72               scalacheck.jar
     73               scalap.jar} {
     74        set g [strsed ${f} "/.jar/-${branch}.jar/"]
     75        ln -s ../scala-${branch}/lib/${f} ${sharedir}/java/${g}
     76    }
    7677}
  • trunk/dports/lang/scala210/Portfile

    r95005 r95464  
    2525
    2626pre-configure {
    27         ui_error "Please install scala2.10 instead."
    28         return -code error "obsolete port"
     27    ui_error "Please install scala2.10 instead."
     28    return -code error "obsolete port"
    2929}
    3030
  • trunk/dports/lang/scala27/Portfile

    r95002 r95464  
    2424
    2525pre-configure {
    26         ui_error "Please install scala2.7 instead."
    27         return -code error "obsolete port"
     26    ui_error "Please install scala2.7 instead."
     27    return -code error "obsolete port"
    2828}
    2929
  • trunk/dports/lang/scala28/Portfile

    r95003 r95464  
    2424
    2525pre-configure {
    26         ui_error "Please install scala2.8 instead."
    27         return -code error "obsolete port"
     26    ui_error "Please install scala2.8 instead."
     27    return -code error "obsolete port"
    2828}
    2929
  • trunk/dports/lang/scala29/Portfile

    r95004 r95464  
    2424
    2525pre-configure {
    26         ui_error "Please install scala2.9 instead."
    27         return -code error "obsolete port"
     26    ui_error "Please install scala2.9 instead."
     27    return -code error "obsolete port"
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.