Changeset 71533 for trunk/dports/cross


Ignore:
Timestamp:
Sep 15, 2010, 8:26:12 PM (9 years ago)
Author:
ryandesign@…
Message:

In the interest that all portfiles exemplify correct portfile writing techniques, remove slash before ${prefix} which is not needed because ${prefix} already begins with a slash

Location:
trunk/dports/cross
Files:
33 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-aout-binutils/Portfile

    r69904 r71533  
    123123post-destroot {
    124124        # Installing (host) libiberty was a mistake.
    125         file delete "${destroot}/${prefix}/lib/libiberty.a"
     125        file delete "${destroot}${prefix}/lib/libiberty.a"
    126126}
    127127
  • trunk/dports/cross/arm-aout-gcc/Portfile

    r69904 r71533  
    7070build.dir       ${workpath}/build
    7171destroot.args   \
    72         --with-gxx-include-dir=${destroot}/${prefix}/${crossgcc-target}/include/c++/${version}/
     72        --with-gxx-include-dir=${destroot}${prefix}/${crossgcc-target}/include/c++/${version}/
    7373
    7474# Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
     
    178178
    179179        # aliases for locales (should be on the system)
    180         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     180        file delete "${destroot}${prefix}/share/locale/locale.alias"
    181181       
    182182        # FSF propaganda (should already be there or would conflict)
    183         file delete -force "${destroot}/${prefix}/share/man/man7"
     183        file delete -force "${destroot}${prefix}/share/man/man7"
    184184
    185185        # (host) libiberty
    186         file delete "${destroot}/${prefix}/lib/libiberty.a"
     186        file delete "${destroot}${prefix}/lib/libiberty.a"
    187187
    188188        # aliases for charsets (should already be there)
    189         file delete "${destroot}/${prefix}/lib/charset.alias"
     189        file delete "${destroot}${prefix}/lib/charset.alias"
    190190       
    191191        # Remove man pages for tools that are not built as part of cross-gcc
    192         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    193         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    194         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    195         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     192        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     193        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     194        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     195        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    196196       
    197197        # For some reason, some man pages are not prefixed while they should have been
    198198        # (to avoid conflicting).
    199         file rename "${destroot}/${prefix}/share/man/man1/cpp.1" \
    200                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
    201         file rename "${destroot}/${prefix}/share/man/man1/gcjh.1" \
    202                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-gcjh.1"
    203         file rename "${destroot}/${prefix}/share/man/man1/gcov.1" \
    204                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
    205         file rename "${destroot}/${prefix}/share/man/man1/jcf-dump.1" \
    206                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-jcf-dump.1"
    207         file rename "${destroot}/${prefix}/share/man/man1/jv-scan.1" \
    208                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-jv-scan.1"
     199        file rename "${destroot}${prefix}/share/man/man1/cpp.1" \
     200                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
     201        file rename "${destroot}${prefix}/share/man/man1/gcjh.1" \
     202                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-gcjh.1"
     203        file rename "${destroot}${prefix}/share/man/man1/gcov.1" \
     204                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
     205        file rename "${destroot}${prefix}/share/man/man1/jcf-dump.1" \
     206                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-jcf-dump.1"
     207        file rename "${destroot}${prefix}/share/man/man1/jv-scan.1" \
     208                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-jv-scan.1"
    209209}
    210210
  • trunk/dports/cross/arm-elf-gcc/Portfile

    r70291 r71533  
    277277        # gcc needs the cross directory structure to be present
    278278        # in order to fill it during installation.
    279         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    280         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     279        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     280        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    281281}
    282282
     
    291291                global crossgcc-target destroot prefix
    292292
    293                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     293                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    294294                if { [ file exists ${manpage_path} ] } {
    295295                        file rename ${manpage_path} \
    296                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     296                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    297297                }
    298298        }
     
    303303
    304304        # aliases for locales (should be on the system)
    305         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     305        file delete "${destroot}${prefix}/share/locale/locale.alias"
    306306       
    307307        # FSF propaganda (should already be there or would conflict)
    308         file delete -force "${destroot}/${prefix}/share/man/man7"
     308        file delete -force "${destroot}${prefix}/share/man/man7"
    309309
    310310        # (host) libiberty
    311         file delete "${destroot}/${prefix}/lib/libiberty.a"
     311        file delete "${destroot}${prefix}/lib/libiberty.a"
    312312
    313313        # aliases for charsets (should already be there)
    314         file delete "${destroot}/${prefix}/lib/charset.alias"
     314        file delete "${destroot}${prefix}/lib/charset.alias"
    315315       
    316316        # Remove man pages for tools that are not built as part of cross-gcc
    317         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    318         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    319         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    320         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     317        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     318        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     319        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     320        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    321321       
    322322        # For some reason, some man pages are not prefixed while they should have been
     
    333333        # and hence the driver isn't installed.
    334334        xinstall -c "${workpath}/build/gcc/xgcc" \
    335                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     335                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    336336}
    337337
  • trunk/dports/cross/arm-elf-gcc3/Portfile

    r69904 r71533  
    205205        # gcc needs the cross directory structure to be present
    206206        # in order to fill it during installation.
    207         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    208         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     207        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     208        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    209209}
    210210
     
    219219                global crossgcc-target destroot prefix
    220220
    221                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     221                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    222222                if { [ file exists ${manpage_path} ] } {
    223223                        file rename ${manpage_path} \
    224                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     224                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    225225                }
    226226        }
     
    231231
    232232        # aliases for locales (should be on the system)
    233         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     233        file delete "${destroot}${prefix}/share/locale/locale.alias"
    234234       
    235235        # FSF propaganda (should already be there or would conflict)
    236         file delete -force "${destroot}/${prefix}/share/man/man7"
     236        file delete -force "${destroot}${prefix}/share/man/man7"
    237237
    238238        # (host) libiberty
    239         file delete "${destroot}/${prefix}/lib/libiberty.a"
     239        file delete "${destroot}${prefix}/lib/libiberty.a"
    240240
    241241        # aliases for charsets (should already be there)
    242         file delete "${destroot}/${prefix}/lib/charset.alias"
     242        file delete "${destroot}${prefix}/lib/charset.alias"
    243243       
    244244        # Remove man pages for tools that are not built as part of cross-gcc
    245         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    246         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    247         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    248         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     245        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     246        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     247        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     248        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    249249       
    250250        # For some reason, some man pages are not prefixed while they should have been
     
    261261        # and hence the driver isn't installed.
    262262        xinstall -c "${workpath}/build/gcc/xgcc" \
    263                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     263                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    264264}
    265265
  • trunk/dports/cross/arm-none-linux-gnueabi-binutils/Portfile

    r69904 r71533  
    127127post-destroot {
    128128        # Installing (host) libiberty was a mistake.
    129         file delete "${destroot}/${prefix}/lib/libiberty.a"
     129        file delete "${destroot}${prefix}/lib/libiberty.a"
    130130}
    131131
  • trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile

    r69904 r71533  
    198198        # gcc needs the cross directory structure to be present
    199199        # in order to fill it during installation.
    200         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    201         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     200        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     201        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    202202}
    203203
     
    212212                global crossgcc-target destroot prefix
    213213
    214                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     214                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    215215                if { [ file exists ${manpage_path} ] } {
    216216                        file rename ${manpage_path} \
    217                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     217                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    218218                }
    219219        }
     
    224224
    225225        # aliases for locales (should be on the system)
    226         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     226        file delete "${destroot}${prefix}/share/locale/locale.alias"
    227227       
    228228        # FSF propaganda (should already be there or would conflict)
    229         file delete -force "${destroot}/${prefix}/share/man/man7"
     229        file delete -force "${destroot}${prefix}/share/man/man7"
    230230
    231231        # (host) libiberty
    232         file delete "${destroot}/${prefix}/lib/libiberty.a"
     232        file delete "${destroot}${prefix}/lib/libiberty.a"
    233233
    234234        # aliases for charsets (should already be there)
    235         file delete "${destroot}/${prefix}/lib/charset.alias"
     235        file delete "${destroot}${prefix}/lib/charset.alias"
    236236       
    237237        # Remove man pages for tools that are not built as part of cross-gcc
    238         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    239         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    240         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    241         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     238        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     239        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     240        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     241        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    242242       
    243243        # For some reason, some man pages are not prefixed while they should have been
     
    254254        # and hence the driver isn't installed.
    255255        xinstall -c "${workpath}/build/gcc/xgcc" \
    256                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
    257 }
     256                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
     257}
  • trunk/dports/cross/arm-rtems-binutils/Portfile

    r69904 r71533  
    141141post-destroot {
    142142        # Installing (host) libiberty was a mistake.
    143         file delete "${destroot}/${prefix}/lib/libiberty.a"
     143        file delete "${destroot}${prefix}/lib/libiberty.a"
    144144}
    145145
  • trunk/dports/cross/arm-rtems-gcc/Portfile

    r69904 r71533  
    214214        # gcc needs the cross directory structure to be present
    215215        # in order to fill it during installation.
    216         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     216        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    218218}
    219219
     
    228228                global crossgcc-target destroot prefix
    229229
    230                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     230                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    231231                if { [ file exists ${manpage_path} ] } {
    232232                        file rename ${manpage_path} \
    233                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     233                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    234234                }
    235235        }
     
    240240
    241241        # aliases for locales (should be on the system)
    242         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     242        file delete "${destroot}${prefix}/share/locale/locale.alias"
    243243       
    244244        # FSF propaganda (should already be there or would conflict)
    245         file delete -force "${destroot}/${prefix}/share/man/man7"
     245        file delete -force "${destroot}${prefix}/share/man/man7"
    246246
    247247        # (host) libiberty
    248         file delete "${destroot}/${prefix}/lib/libiberty.a"
     248        file delete "${destroot}${prefix}/lib/libiberty.a"
    249249
    250250        # aliases for charsets (should already be there)
    251         file delete "${destroot}/${prefix}/lib/charset.alias"
     251        file delete "${destroot}${prefix}/lib/charset.alias"
    252252       
    253253        # Remove man pages for tools that are not built as part of cross-gcc
    254         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    255         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     254        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     256        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     257        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    258258       
    259259        # For some reason, some man pages are not prefixed while they should have been
     
    270270        # and hence the driver isn't installed.
    271271        xinstall -c "${workpath}/build/gcc/xgcc" \
    272                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     272                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    273273}
    274274
  • trunk/dports/cross/avr-gcc/Portfile

    r61919 r71533  
    189189        # gcc needs the cross directory structure to be present
    190190        # in order to fill it during installation.
    191         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    192         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     191        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     192        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    193193}
    194194
     
    203203                global crossgcc-target destroot prefix
    204204
    205                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     205                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    206206                if { [ file exists ${manpage_path} ] } {
    207207                        file rename ${manpage_path} \
    208                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     208                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    209209                }
    210210        }
     
    215215
    216216        # aliases for locales (should be on the system)
    217         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     217        file delete "${destroot}${prefix}/share/locale/locale.alias"
    218218       
    219219        # FSF propaganda (should already be there or would conflict)
    220         file delete -force "${destroot}/${prefix}/share/man/man7"
     220        file delete -force "${destroot}${prefix}/share/man/man7"
    221221
    222222        # (host) libiberty
    223         file delete "${destroot}/${prefix}/lib/libiberty.a"
     223        file delete "${destroot}${prefix}/lib/libiberty.a"
    224224
    225225        # aliases for charsets (should already be there)
    226         file delete "${destroot}/${prefix}/lib/charset.alias"
     226        file delete "${destroot}${prefix}/lib/charset.alias"
    227227       
    228228        # Remove man pages for tools that are not built as part of cross-gcc
    229         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    230         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    231         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    232         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     229        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     230        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     231        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     232        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    233233       
    234234        # For some reason, some man pages are not prefixed while they should have been
     
    245245        # and hence the driver isn't installed.
    246246        xinstall -c "${workpath}/build/gcc/xgcc" \
    247                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     247                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    248248}
    249249
  • trunk/dports/cross/avr-gdb/Portfile

    r37082 r71533  
    3131post-destroot {
    3232        # Installing (host) libiberty was a mistake.
    33         file delete "${destroot}/${prefix}/lib/libiberty.a"
     33        file delete "${destroot}${prefix}/lib/libiberty.a"
    3434}
  • trunk/dports/cross/i386-elf-binutils/Portfile

    r66869 r71533  
    136136post-destroot {
    137137        # Installing (host) libiberty was a mistake.
    138         file delete "${destroot}/${prefix}/lib/libiberty.a"
     138        file delete "${destroot}${prefix}/lib/libiberty.a"
    139139}
    140140
  • trunk/dports/cross/i386-elf-gcc/Portfile

    r68933 r71533  
    199199        # gcc needs the cross directory structure to be present
    200200        # in order to fill it during installation.
    201         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    202         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     201        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     202        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    203203}
    204204
     
    213213                global crossgcc-target destroot prefix
    214214
    215                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     215                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    216216                if { [ file exists ${manpage_path} ] } {
    217217                        file rename ${manpage_path} \
    218                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     218                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    219219                }
    220220        }
     
    225225
    226226        # aliases for locales (should be on the system)
    227         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     227        file delete "${destroot}${prefix}/share/locale/locale.alias"
    228228       
    229229        # FSF propaganda (should already be there or would conflict)
    230         file delete -force "${destroot}/${prefix}/share/man/man7"
     230        file delete -force "${destroot}${prefix}/share/man/man7"
    231231
    232232        # (host) libiberty
    233         file delete "${destroot}/${prefix}/lib/libiberty.a"
     233        file delete "${destroot}${prefix}/lib/libiberty.a"
    234234
    235235        # aliases for charsets (should already be there)
    236         file delete "${destroot}/${prefix}/lib/charset.alias"
     236        file delete "${destroot}${prefix}/lib/charset.alias"
    237237       
    238238        # Remove man pages for tools that are not built as part of cross-gcc
    239         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    240         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    241         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    242         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     239        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     240        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     241        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     242        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    243243       
    244244        # For some reason, some man pages are not prefixed while they should have been
     
    255255        # and hence the driver isn't installed.
    256256        xinstall -c "${workpath}/build/gcc/xgcc" \
    257                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     257                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    258258}
    259259
  • trunk/dports/cross/i386-mingw32-gcc/Portfile

    r61621 r71533  
    174174
    175175        # aliases for locales (should be on the system)
    176         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     176        file delete "${destroot}${prefix}/share/locale/locale.alias"
    177177       
    178178        # FSF propaganda (should already be there or would conflict)
    179         file delete -force "${destroot}/${prefix}/share/man/man7"
     179        file delete -force "${destroot}${prefix}/share/man/man7"
    180180
    181181        # (host) libiberty
    182         file delete "${destroot}/${prefix}/lib/libiberty.a"
     182        file delete "${destroot}${prefix}/lib/libiberty.a"
    183183
    184184        # aliases for charsets (should already be there)
    185         file delete "${destroot}/${prefix}/lib/charset.alias"
     185        file delete "${destroot}${prefix}/lib/charset.alias"
    186186       
    187187        # Remove man pages for tools that are not built as part of cross-gcc
    188         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    189         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    190         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    191         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     188        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     189        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     190        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     191        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    192192
    193193        # There is no need for documentation on installing gcc
    194194        # given that this port just installed gcc.
    195         file delete "${destroot}/${prefix}/share/info/gccinstall.info"
     195        file delete "${destroot}${prefix}/share/info/gccinstall.info"
    196196}
  • trunk/dports/cross/i386-mingw32-runtime/Portfile

    r52691 r71533  
    3434destroot.violate_mtree  yes
    3535destroot {
    36         file mkdir ${destpath}/${prefix}/${crossgcc-target}
     36        file mkdir ${destpath}${prefix}/${crossgcc-target}
    3737        foreach dir {include lib doc share} {
    38                 file copy -force ${worksrcpath}/$dir ${destpath}/${prefix}/${crossgcc-target}
     38                file copy -force ${worksrcpath}/$dir ${destpath}${prefix}/${crossgcc-target}
    3939        }
    4040}
  • trunk/dports/cross/i386-mingw32-w32api/Portfile

    r50980 r71533  
    3434destroot.violate_mtree  yes
    3535destroot {
    36         file mkdir ${destpath}/${prefix}/${crossgcc-target}
    37         file copy -force ${worksrcpath}/include ${destpath}/${prefix}/${crossgcc-target}
    38         file copy -force ${worksrcpath}/lib ${destpath}/${prefix}/${crossgcc-target}
     36        file mkdir ${destpath}${prefix}/${crossgcc-target}
     37        file copy -force ${worksrcpath}/include ${destpath}${prefix}/${crossgcc-target}
     38        file copy -force ${worksrcpath}/lib ${destpath}${prefix}/${crossgcc-target}
    3939}
  • trunk/dports/cross/i386-rtems-binutils/Portfile

    r69904 r71533  
    142142post-destroot {
    143143        # Installing (host) libiberty was a mistake.
    144         file delete "${destroot}/${prefix}/lib/libiberty.a"
     144        file delete "${destroot}${prefix}/lib/libiberty.a"
    145145}
    146146
  • trunk/dports/cross/i386-rtems-gcc/Portfile

    r69904 r71533  
    215215        # gcc needs the cross directory structure to be present
    216216        # in order to fill it during installation.
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    218         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     218        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    219219}
    220220
     
    229229                global crossgcc-target destroot prefix
    230230
    231                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     231                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    232232                if { [ file exists ${manpage_path} ] } {
    233233                        file rename ${manpage_path} \
    234                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     234                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    235235                }
    236236        }
     
    241241
    242242        # aliases for locales (should be on the system)
    243         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     243        file delete "${destroot}${prefix}/share/locale/locale.alias"
    244244
    245245        # FSF propaganda (should already be there or would conflict)
    246         file delete -force "${destroot}/${prefix}/share/man/man7"
     246        file delete -force "${destroot}${prefix}/share/man/man7"
    247247
    248248        # (host) libiberty
    249         file delete "${destroot}/${prefix}/lib/libiberty.a"
     249        file delete "${destroot}${prefix}/lib/libiberty.a"
    250250
    251251        # aliases for charsets (should already be there)
    252         file delete "${destroot}/${prefix}/lib/charset.alias"
     252        file delete "${destroot}${prefix}/lib/charset.alias"
    253253
    254254        # Remove man pages for tools that are not built as part of cross-gcc
    255         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    258         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     256        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     257        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     258        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    259259
    260260        # For some reason, some man pages are not prefixed while they should have been
     
    271271        # and hence the driver isn't installed.
    272272        xinstall -c "${workpath}/build/gcc/xgcc" \
    273                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     273                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    274274}
    275275
  • trunk/dports/cross/i960-rtems-binutils/Portfile

    r69904 r71533  
    123123post-destroot {
    124124        # Installing (host) libiberty was a mistake.
    125         file delete "${destroot}/${prefix}/lib/libiberty.a"
     125        file delete "${destroot}${prefix}/lib/libiberty.a"
    126126}
    127127
  • trunk/dports/cross/i960-rtems-gcc/Portfile

    r69904 r71533  
    7272build.dir       ${workpath}/build
    7373destroot.args   \
    74         --with-gxx-include-dir=${destroot}/${prefix}/${crossgcc-target}/include/c++/${version}/
     74        --with-gxx-include-dir=${destroot}${prefix}/${crossgcc-target}/include/c++/${version}/
    7575
    7676# Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
     
    181181
    182182        # aliases for locales (should be on the system)
    183         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     183        file delete "${destroot}${prefix}/share/locale/locale.alias"
    184184       
    185185        # FSF propaganda (should already be there or would conflict)
    186         file delete -force "${destroot}/${prefix}/share/man/man7"
     186        file delete -force "${destroot}${prefix}/share/man/man7"
    187187
    188188        # (host) libiberty
    189         file delete "${destroot}/${prefix}/lib/libiberty.a"
     189        file delete "${destroot}${prefix}/lib/libiberty.a"
    190190
    191191        # aliases for charsets (should already be there)
    192         file delete "${destroot}/${prefix}/lib/charset.alias"
     192        file delete "${destroot}${prefix}/lib/charset.alias"
    193193       
    194194        # For some reason, some man pages are not prefixed while they should have been
    195195        # (to avoid conflicting).
    196         file rename "${destroot}/${prefix}/share/man/man1/cpp.1" \
    197                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
    198         file rename "${destroot}/${prefix}/share/man/man1/gcov.1" \
    199                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
     196        file rename "${destroot}${prefix}/share/man/man1/cpp.1" \
     197                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
     198        file rename "${destroot}${prefix}/share/man/man1/gcov.1" \
     199                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
    200200}
    201201
  • trunk/dports/cross/m68k-elf-binutils/Portfile

    r69904 r71533  
    123123post-destroot {
    124124        # Installing (host) libiberty was a mistake.
    125         file delete "${destroot}/${prefix}/lib/libiberty.a"
     125        file delete "${destroot}${prefix}/lib/libiberty.a"
    126126}
    127127
  • trunk/dports/cross/m68k-elf-gcc/Portfile

    r69904 r71533  
    203203        # gcc needs the cross directory structure to be present
    204204        # in order to fill it during installation.
    205         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    206         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     205        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     206        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    207207}
    208208
     
    217217                global crossgcc-target destroot prefix
    218218
    219                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     219                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    220220                if { [ file exists ${manpage_path} ] } {
    221221                        file rename ${manpage_path} \
    222                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     222                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    223223                }
    224224        }
     
    229229
    230230        # aliases for locales (should be on the system)
    231         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     231        file delete "${destroot}${prefix}/share/locale/locale.alias"
    232232       
    233233        # FSF propaganda (should already be there or would conflict)
    234         file delete -force "${destroot}/${prefix}/share/man/man7"
     234        file delete -force "${destroot}${prefix}/share/man/man7"
    235235
    236236        # (host) libiberty
    237         file delete "${destroot}/${prefix}/lib/libiberty.a"
     237        file delete "${destroot}${prefix}/lib/libiberty.a"
    238238
    239239        # aliases for charsets (should already be there)
    240         file delete "${destroot}/${prefix}/lib/charset.alias"
     240        file delete "${destroot}${prefix}/lib/charset.alias"
    241241       
    242242        # Remove man pages for tools that are not built as part of cross-gcc
    243         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    244         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    245         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    246         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     243        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     244        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     245        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     246        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    247247       
    248248        # For some reason, some man pages are not prefixed while they should have been
     
    259259        # and hence the driver isn't installed.
    260260        xinstall -c "${workpath}/build/gcc/xgcc" \
    261                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     261                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    262262}
    263263
  • trunk/dports/cross/m68k-rtems-binutils/Portfile

    r69904 r71533  
    142142post-destroot {
    143143        # Installing (host) libiberty was a mistake.
    144         file delete "${destroot}/${prefix}/lib/libiberty.a"
     144        file delete "${destroot}${prefix}/lib/libiberty.a"
    145145}
    146146
  • trunk/dports/cross/m68k-rtems-gcc/Portfile

    r69904 r71533  
    215215        # gcc needs the cross directory structure to be present
    216216        # in order to fill it during installation.
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    218         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     218        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    219219}
    220220
     
    229229                global crossgcc-target destroot prefix
    230230
    231                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     231                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    232232                if { [ file exists ${manpage_path} ] } {
    233233                        file rename ${manpage_path} \
    234                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     234                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    235235                }
    236236        }
     
    241241
    242242        # aliases for locales (should be on the system)
    243         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     243        file delete "${destroot}${prefix}/share/locale/locale.alias"
    244244
    245245        # FSF propaganda (should already be there or would conflict)
    246         file delete -force "${destroot}/${prefix}/share/man/man7"
     246        file delete -force "${destroot}${prefix}/share/man/man7"
    247247
    248248        # (host) libiberty
    249         file delete "${destroot}/${prefix}/lib/libiberty.a"
     249        file delete "${destroot}${prefix}/lib/libiberty.a"
    250250
    251251        # aliases for charsets (should already be there)
    252         file delete "${destroot}/${prefix}/lib/charset.alias"
     252        file delete "${destroot}${prefix}/lib/charset.alias"
    253253
    254254        # Remove man pages for tools that are not built as part of cross-gcc
    255         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    258         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     256        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     257        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     258        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    259259
    260260        # For some reason, some man pages are not prefixed while they should have been
     
    271271        # and hence the driver isn't installed.
    272272        xinstall -c "${workpath}/build/gcc/xgcc" \
    273                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     273                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    274274}
    275275
  • trunk/dports/cross/mips-elf-binutils/Portfile

    r69904 r71533  
    123123post-destroot {
    124124        # Installing (host) libiberty was a mistake.
    125         file delete "${destroot}/${prefix}/lib/libiberty.a"
     125        file delete "${destroot}${prefix}/lib/libiberty.a"
    126126}
    127127
  • trunk/dports/cross/mips-elf-gcc/Portfile

    r69904 r71533  
    202202        # gcc needs the cross directory structure to be present
    203203        # in order to fill it during installation.
    204         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    205         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     204        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     205        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    206206}
    207207
     
    216216                global crossgcc-target destroot prefix
    217217
    218                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     218                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    219219                if { [ file exists ${manpage_path} ] } {
    220220                        file rename ${manpage_path} \
    221                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     221                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    222222                }
    223223        }
     
    228228
    229229        # aliases for locales (should be on the system)
    230         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     230        file delete "${destroot}${prefix}/share/locale/locale.alias"
    231231       
    232232        # FSF propaganda (should already be there or would conflict)
    233         file delete -force "${destroot}/${prefix}/share/man/man7"
     233        file delete -force "${destroot}${prefix}/share/man/man7"
    234234
    235235        # (host) libiberty
    236         file delete "${destroot}/${prefix}/lib/libiberty.a"
     236        file delete "${destroot}${prefix}/lib/libiberty.a"
    237237
    238238        # aliases for charsets (should already be there)
    239         file delete "${destroot}/${prefix}/lib/charset.alias"
     239        file delete "${destroot}${prefix}/lib/charset.alias"
    240240       
    241241        # Remove man pages for tools that are not built as part of cross-gcc
    242         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    243         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    244         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    245         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     242        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     243        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     244        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     245        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    246246       
    247247        # For some reason, some man pages are not prefixed while they should have been
     
    258258        # and hence the driver isn't installed.
    259259        xinstall -c "${workpath}/build/gcc/xgcc" \
    260                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     260                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    261261}
    262262
  • trunk/dports/cross/mips-rtems-binutils/Portfile

    r69904 r71533  
    142142post-destroot {
    143143        # Installing (host) libiberty was a mistake.
    144         file delete "${destroot}/${prefix}/lib/libiberty.a"
     144        file delete "${destroot}${prefix}/lib/libiberty.a"
    145145}
    146146
  • trunk/dports/cross/mips-rtems-gcc/Portfile

    r69904 r71533  
    215215        # gcc needs the cross directory structure to be present
    216216        # in order to fill it during installation.
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    218         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     218        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    219219}
    220220
     
    229229                global crossgcc-target destroot prefix
    230230
    231                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     231                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    232232                if { [ file exists ${manpage_path} ] } {
    233233                        file rename ${manpage_path} \
    234                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     234                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    235235                }
    236236        }
     
    241241
    242242        # aliases for locales (should be on the system)
    243         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     243        file delete "${destroot}${prefix}/share/locale/locale.alias"
    244244
    245245        # FSF propaganda (should already be there or would conflict)
    246         file delete -force "${destroot}/${prefix}/share/man/man7"
     246        file delete -force "${destroot}${prefix}/share/man/man7"
    247247
    248248        # (host) libiberty
    249         file delete "${destroot}/${prefix}/lib/libiberty.a"
     249        file delete "${destroot}${prefix}/lib/libiberty.a"
    250250
    251251        # aliases for charsets (should already be there)
    252         file delete "${destroot}/${prefix}/lib/charset.alias"
     252        file delete "${destroot}${prefix}/lib/charset.alias"
    253253
    254254        # Remove man pages for tools that are not built as part of cross-gcc
    255         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    258         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     256        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     257        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     258        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    259259
    260260        # For some reason, some man pages are not prefixed while they should have been
     
    271271        # and hence the driver isn't installed.
    272272        xinstall -c "${workpath}/build/gcc/xgcc" \
    273                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     273                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    274274}
    275275
  • trunk/dports/cross/powerpc-rtems-binutils/Portfile

    r69904 r71533  
    142142post-destroot {
    143143        # Installing (host) libiberty was a mistake.
    144         file delete "${destroot}/${prefix}/lib/libiberty.a"
     144        file delete "${destroot}${prefix}/lib/libiberty.a"
    145145}
    146146
  • trunk/dports/cross/powerpc-rtems-gcc/Portfile

    r69904 r71533  
    214214        # gcc needs the cross directory structure to be present
    215215        # in order to fill it during installation.
    216         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     216        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    218218}
    219219
     
    228228                global crossgcc-target destroot prefix
    229229
    230                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     230                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    231231                if { [ file exists ${manpage_path} ] } {
    232232                        file rename ${manpage_path} \
    233                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     233                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    234234                }
    235235        }
     
    240240
    241241        # aliases for locales (should be on the system)
    242         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     242        file delete "${destroot}${prefix}/share/locale/locale.alias"
    243243
    244244        # FSF propaganda (should already be there or would conflict)
    245         file delete -force "${destroot}/${prefix}/share/man/man7"
     245        file delete -force "${destroot}${prefix}/share/man/man7"
    246246
    247247        # (host) libiberty
    248         file delete "${destroot}/${prefix}/lib/libiberty.a"
     248        file delete "${destroot}${prefix}/lib/libiberty.a"
    249249
    250250        # aliases for charsets (should already be there)
    251         file delete "${destroot}/${prefix}/lib/charset.alias"
     251        file delete "${destroot}${prefix}/lib/charset.alias"
    252252
    253253        # Remove man pages for tools that are not built as part of cross-gcc
    254         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    255         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     254        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     256        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     257        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    258258
    259259        # For some reason, some man pages are not prefixed while they should have been
     
    270270        # and hence the driver isn't installed.
    271271        xinstall -c "${workpath}/build/gcc/xgcc" \
    272                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     272                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    273273}
    274274
  • trunk/dports/cross/sh-rtems-binutils/Portfile

    r69904 r71533  
    141141post-destroot {
    142142        # Installing (host) libiberty was a mistake.
    143         file delete "${destroot}/${prefix}/lib/libiberty.a"
     143        file delete "${destroot}${prefix}/lib/libiberty.a"
    144144}
    145145
  • trunk/dports/cross/sh-rtems-gcc/Portfile

    r69904 r71533  
    214214        # gcc needs the cross directory structure to be present
    215215        # in order to fill it during installation.
    216         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     216        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    218218}
    219219
     
    228228                global crossgcc-target destroot prefix
    229229
    230                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     230                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    231231                if { [ file exists ${manpage_path} ] } {
    232232                        file rename ${manpage_path} \
    233                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     233                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    234234                }
    235235        }
     
    240240
    241241        # aliases for locales (should be on the system)
    242         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     242        file delete "${destroot}${prefix}/share/locale/locale.alias"
    243243
    244244        # FSF propaganda (should already be there or would conflict)
    245         file delete -force "${destroot}/${prefix}/share/man/man7"
     245        file delete -force "${destroot}${prefix}/share/man/man7"
    246246
    247247        # (host) libiberty
    248         file delete "${destroot}/${prefix}/lib/libiberty.a"
     248        file delete "${destroot}${prefix}/lib/libiberty.a"
    249249
    250250        # aliases for charsets (should already be there)
    251         file delete "${destroot}/${prefix}/lib/charset.alias"
     251        file delete "${destroot}${prefix}/lib/charset.alias"
    252252
    253253        # Remove man pages for tools that are not built as part of cross-gcc
    254         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    255         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     254        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     256        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     257        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    258258
    259259        # For some reason, some man pages are not prefixed while they should have been
     
    270270        # and hence the driver isn't installed.
    271271        xinstall -c "${workpath}/build/gcc/xgcc" \
    272                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     272                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    273273}
    274274
  • trunk/dports/cross/sparc-rtems-binutils/Portfile

    r69904 r71533  
    141141post-destroot {
    142142        # Installing (host) libiberty was a mistake.
    143         file delete "${destroot}/${prefix}/lib/libiberty.a"
     143        file delete "${destroot}${prefix}/lib/libiberty.a"
    144144}
    145145
  • trunk/dports/cross/sparc-rtems-gcc/Portfile

    r69904 r71533  
    214214        # gcc needs the cross directory structure to be present
    215215        # in order to fill it during installation.
    216         file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin"
    217         file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib"
     216        file mkdir "${destroot}${prefix}/${crossgcc-target}/bin"
     217        file mkdir "${destroot}${prefix}/${crossgcc-target}/lib"
    218218}
    219219
     
    228228                global crossgcc-target destroot prefix
    229229
    230                 set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}"
     230                set manpage_path "${destroot}${prefix}/share/man/man${section}/${manpage}.${section}"
    231231                if { [ file exists ${manpage_path} ] } {
    232232                        file rename ${manpage_path} \
    233                                 "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
     233                                "${destroot}${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}"
    234234                }
    235235        }
     
    240240
    241241        # aliases for locales (should be on the system)
    242         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     242        file delete "${destroot}${prefix}/share/locale/locale.alias"
    243243
    244244        # FSF propaganda (should already be there or would conflict)
    245         file delete -force "${destroot}/${prefix}/share/man/man7"
     245        file delete -force "${destroot}${prefix}/share/man/man7"
    246246
    247247        # (host) libiberty
    248         file delete "${destroot}/${prefix}/lib/libiberty.a"
     248        file delete "${destroot}${prefix}/lib/libiberty.a"
    249249
    250250        # aliases for charsets (should already be there)
    251         file delete "${destroot}/${prefix}/lib/charset.alias"
     251        file delete "${destroot}${prefix}/lib/charset.alias"
    252252
    253253        # Remove man pages for tools that are not built as part of cross-gcc
    254         file delete "${destroot}/${prefix}/share/man/man1/rmic.1"
    255         file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1"
    256         file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1"
    257         file delete "${destroot}/${prefix}/share/man/man1/gij.1"
     254        file delete "${destroot}${prefix}/share/man/man1/rmic.1"
     255        file delete "${destroot}${prefix}/share/man/man1/rmiregistry.1"
     256        file delete "${destroot}${prefix}/share/man/man1/jv-convert.1"
     257        file delete "${destroot}${prefix}/share/man/man1/gij.1"
    258258
    259259        # For some reason, some man pages are not prefixed while they should have been
     
    270270        # and hence the driver isn't installed.
    271271        xinstall -c "${workpath}/build/gcc/xgcc" \
    272                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
     272                "${destroot}${prefix}/bin/${crossgcc-target}-gcc-${version}"
    273273}
    274274
Note: See TracChangeset for help on using the changeset viewer.