Changeset 71533


Ignore:
Timestamp:
Sep 15, 2010, 8:26:12 PM (7 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
Files:
126 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/gnutar/Portfile

    r64677 r71533  
    4141    file rename ${destroot}${prefix}/share/info/tar.info-2 ${destroot}${prefix}/share/info/gnutar.info-2
    4242
    43     xinstall -m 755 -d ${destroot}/${prefix}/libexec/gnubin
     43    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
    4444    ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar
    4545}
  • trunk/dports/audio/id3v2/Portfile

    r61105 r71533  
    2929
    3030destroot {
    31         xinstall -m 755 ${worksrcpath}/id3v2 ${destroot}/${prefix}/bin/
    32         xinstall -m 644 ${worksrcpath}/id3v2.1 ${destroot}/${prefix}/share/man/man1/
     31        xinstall -m 755 ${worksrcpath}/id3v2 ${destroot}${prefix}/bin/
     32        xinstall -m 644 ${worksrcpath}/id3v2.1 ${destroot}${prefix}/share/man/man1/
    3333}
  • trunk/dports/benchmarks/bonnie/Portfile

    r69418 r71533  
    2525
    2626destroot        {
    27         file mkdir "${destroot}/${prefix}/bin"
    28         file mkdir "${destroot}/${prefix}/share/man/man1"
    29         xinstall -m 755 ${workpath}/${name}/Bonnie ${destroot}/${prefix}/bin
    30         xinstall -m 644 ${workpath}/${name}/bonnie.1 ${destroot}/${prefix}/share/man/man1
     27        file mkdir "${destroot}${prefix}/bin"
     28        file mkdir "${destroot}${prefix}/share/man/man1"
     29        xinstall -m 755 ${workpath}/${name}/Bonnie ${destroot}${prefix}/bin
     30        xinstall -m 644 ${workpath}/${name}/bonnie.1 ${destroot}${prefix}/share/man/man1
    3131}
  • 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
  • trunk/dports/databases/couchdb/Portfile

    r70696 r71533  
    5555    system "cd ${destroot}/Library/LaunchDaemons && ln -sf ${prefix}/Library/LaunchDaemons/${plist}"
    5656# the following patches can be removed after next version
    57     reinplace "s;`/opt/local/bin/icu-config --invoke`;;" ${destroot}/${prefix}/bin/couchdb
    58     reinplace "s;^.*DYLD_LIBRARY_PATH.*$;;g" ${destroot}/${prefix}/Library/LaunchDaemons/org.apache.couchdb.plist
     57    reinplace "s;`/opt/local/bin/icu-config --invoke`;;" ${destroot}${prefix}/bin/couchdb
     58    reinplace "s;^.*DYLD_LIBRARY_PATH.*$;;g" ${destroot}${prefix}/Library/LaunchDaemons/org.apache.couchdb.plist
    5959}
    6060
  • trunk/dports/databases/spatialite-devel/Portfile

    r40948 r71533  
    4949post-destroot {
    5050        # Set up the init SQL
    51         set sharedir ${destroot}/${prefix}/share/spatialite
     51        set sharedir ${destroot}${prefix}/share/spatialite
    5252        file mkdir ${sharedir}
    5353        system "gzip -cd ${distpath}/init_spatialite.sql.gz > ${sharedir}/init_spatialite.sql"
    5454
    5555        # Create a template database
    56         system "${destroot}/${prefix}/bin/spatialite ${sharedir}/spatialite.db < ${sharedir}/init_spatialite.sql"
     56        system "${destroot}${prefix}/bin/spatialite ${sharedir}/spatialite.db < ${sharedir}/init_spatialite.sql"
    5757}
  • trunk/dports/databases/spatialite/Portfile

    r67581 r71533  
    4545post-destroot {
    4646        # Set up the init SQL
    47         set sharedir ${destroot}/${prefix}/share/spatialite
     47        set sharedir ${destroot}${prefix}/share/spatialite
    4848        file mkdir ${sharedir}
    4949        system "gzip -cd ${distpath}/init_spatialite.sql.gz > ${sharedir}/init_spatialite.sql"
  • trunk/dports/databases/tokyocabinet-java/Portfile

    r55061 r71533  
    4242
    4343    xinstall -m 0755 -d ${javadir}
    44     file rename ${destroot}/${prefix}/lib/${jarfile} ${dest}
     44    file rename ${destroot}${prefix}/lib/${jarfile} ${dest}
    4545}
  • trunk/dports/devel/GitX/Portfile

    r57875 r71533  
    4646
    4747post-destroot {
    48     file mkdir  ${destroot}/${prefix}/bin
    49     file rename ${destroot}/${applications_dir}/gitx ${destroot}/${prefix}/bin/gitx
     48    file mkdir  ${destroot}${prefix}/bin
     49    file rename ${destroot}/${applications_dir}/gitx ${destroot}${prefix}/bin/gitx
    5050}
    5151
  • trunk/dports/devel/caml-ansicolor/Portfile

    r59411 r71533  
    4040    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
    4141    eval xinstall -m 644 [glob ${worksrcpath}/ANSITerminal.html/*.html] \
    42         ${destroot}/${prefix}/share/doc/${name}
     42        ${destroot}${prefix}/share/doc/${name}
    4343}
  • trunk/dports/devel/caml-getopt/Portfile

    r65323 r71533  
    3737    set ocaml_site_path [exec ocamlfind printconf destdir]
    3838    xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
    39         ${destroot}/${prefix}/share/doc/ \
    40         ${destroot}/${prefix}/share/examples/${name}
    41     file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
     39        ${destroot}${prefix}/share/doc/ \
     40        ${destroot}${prefix}/share/examples/${name}
     41    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    4242    xinstall -m 644 -W ${worksrcpath} COPYING Changes README \
    43         ${destroot}/${prefix}/share/doc/${name}
     43        ${destroot}${prefix}/share/doc/${name}
    4444    xinstall -m 644 ${worksrcpath}/sample.ml \
    4545        ${destroot}${prefix}/share/examples/${name}
  • trunk/dports/devel/caml-inifiles/Portfile

    r61081 r71533  
    3030    set ocaml_site_path [exec ocamlfind printconf destdir]
    3131    xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
    32         ${destroot}/${prefix}/share/doc/${name}
     32        ${destroot}${prefix}/share/doc/${name}
    3333    system "cd ${worksrcpath} && OCAMLFIND_INSTFLAGS=\"-destdir ${destroot}/${ocaml_site_path}\" make install "
    34     xinstall -m 644 -W ${worksrcpath} COPYING ${destroot}/${prefix}/share/doc/${name}/
     34    xinstall -m 644 -W ${worksrcpath} COPYING ${destroot}${prefix}/share/doc/${name}/
    3535}
    3636
  • trunk/dports/devel/caml-lwt/Portfile

    r66862 r71533  
    3838        xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
    3939        eval xinstall -m 644 [glob ${worksrcpath}/_build/lwt.docdir/*] \
    40             ${destroot}/${prefix}/share/doc/${name}
     40            ${destroot}${prefix}/share/doc/${name}
    4141}
  • trunk/dports/devel/caml-ounit/Portfile

    r59418 r71533  
    4343    xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
    4444    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] \
    45         ${destroot}/${prefix}/share/doc/${name}
     45        ${destroot}${prefix}/share/doc/${name}
    4646}
    4747
  • trunk/dports/devel/cryptokit/Portfile

    r60126 r71533  
    4040        xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
    4141        eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
    42             ${destroot}/${prefix}/share/doc/${name}
     42            ${destroot}${prefix}/share/doc/${name}
    4343}
  • trunk/dports/devel/ftjam/Portfile

    r59971 r71533  
    2323        system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/"
    2424        system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/"
    25         xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}/
    26         xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}/${prefix}/share/doc/${name}/
    27         xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}/${prefix}/share/doc/${name}/
    28         xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}/${prefix}/share/doc/${name}/
     25        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
     26        xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}${prefix}/share/doc/${name}/
     27        xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/
     28        xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/
    2929}
    3030
  • trunk/dports/devel/gnat-booch95/Portfile

    r61460 r71533  
    4040
    4141destroot {
    42     xinstall -m 775 -d ${destroot}/${prefix}/lib/booch
    43     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/src
    44     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT
    45     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Release
    46     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
    47     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
    48     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Debug
    49     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
    50     xinstall -m 775 -d ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
     42    xinstall -m 775 -d ${destroot}${prefix}/lib/booch
     43    xinstall -m 775 -d ${destroot}${prefix}/include/booch/src
     44    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT
     45    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release
     46    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
     47    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
     48    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug
     49    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
     50    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
    5151
    52     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}/${prefix}/lib/booch
    53     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/src/*]                             ${destroot}/${prefix}/include/booch/src
    54     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Makefile]                     ${destroot}/${prefix}/include/booch/GNAT
    55     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/booch_95.gpr]                 ${destroot}/${prefix}/include/booch/GNAT
    56     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/obj/*]    ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
    57     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
    58     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/obj/*]      ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
    59     eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/lib/*]      ${destroot}/${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
     52    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}${prefix}/lib/booch
     53    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/src/*]                             ${destroot}${prefix}/include/booch/src
     54    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Makefile]                     ${destroot}${prefix}/include/booch/GNAT
     55    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/booch_95.gpr]                 ${destroot}${prefix}/include/booch/GNAT
     56    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/obj/*]    ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
     57    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
     58    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/obj/*]      ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
     59    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/lib/*]      ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
    6060}
    6161
  • trunk/dports/devel/ht/Portfile

    r50980 r71533  
    2222
    2323post-destroot {
    24     file rename ${destroot}/${prefix}/bin/ht ${destroot}/${prefix}/bin/hte
     24    file rename ${destroot}${prefix}/bin/ht ${destroot}${prefix}/bin/hte
    2525}
  • trunk/dports/devel/jam/Portfile

    r59971 r71533  
    4343        system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/"
    4444        system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/"
    45         xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}/
    46         xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}/${prefix}/share/doc/${name}/
    47         xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}/${prefix}/share/doc/${name}/
    48         xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}/${prefix}/share/doc/${name}/
     45        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
     46        xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}${prefix}/share/doc/${name}/
     47        xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/
     48        xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/
    4949}
    5050
     
    6464                system "install -m 755 ${worksrcpath}/bin.*/g/jam ${destroot}${prefix}/bin/"
    6565                system "install -m 755 ${worksrcpath}/bin.*/g/mkjambase ${destroot}${prefix}/bin/"
    66                 xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}/
    67                 xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}/${prefix}/share/doc/${name}/
    68                 xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}/${prefix}/share/doc/${name}/
     66                xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
     67                xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/
     68                xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/
    6969        }
    7070}
  • trunk/dports/devel/mercurial/Portfile

    r71048 r71533  
    3434    # install html docs
    3535    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
    36             ${destroot}/${prefix}/share/doc/${name}
     36            ${destroot}${prefix}/share/doc/${name}
    3737
    3838    # install man pages
    3939    xinstall -m 444 -W ${worksrcpath}/doc hg.1 \
    40         ${destroot}/${prefix}/share/man/man1
     40        ${destroot}${prefix}/share/man/man1
    4141    xinstall -m 444 -W ${worksrcpath}/doc hgrc.5 hgignore.5 \
    42         ${destroot}/${prefix}/share/man/man5
     42        ${destroot}${prefix}/share/man/man5
    4343
    4444    # install contrib
  • trunk/dports/devel/ott/Portfile

    r54424 r71533  
    3434
    3535destroot {
    36     xinstall -m 755 -d ${destroot}/${prefix}/bin
     36    xinstall -m 755 -d ${destroot}${prefix}/bin
    3737    xinstall -m 755 -W ${worksrcpath} bin/ott \
    38         ${destroot}/${prefix}/bin/ott
     38        ${destroot}${prefix}/bin/ott
    3939}
  • trunk/dports/devel/subversion-javahlbindings/Portfile

    r69034 r71533  
    8989                system "ln -sf ${prefix}/lib/libsvnjavahl-1.dylib ${destroot}/Library/Java/Extensions/libsvnjavahl.jnilib"
    9090                file mkdir ${destroot}${prefix}/share/java
    91                 system "ln -sf ${prefix}/lib/svn-javahl/svn-javahl.jar ${destroot}/${prefix}/share/java/svn-javahl.jar"
     91                system "ln -sf ${prefix}/lib/svn-javahl/svn-javahl.jar ${destroot}${prefix}/share/java/svn-javahl.jar"
    9292                }
    9393
  • trunk/dports/devel/subversion-python24bindings/Portfile

    r70014 r71533  
    9898                        ${destroot}${PYTHON_PATH}/site-packages/svn-python.pth
    9999
    100                 file rename "${destroot}/${prefix}/lib/svn-python" \
    101                         "${destroot}/${prefix}/lib/svn-python2.4"
     100                file rename "${destroot}${prefix}/lib/svn-python" \
     101                        "${destroot}${prefix}/lib/svn-python2.4"
    102102                }
    103103
  • trunk/dports/devel/subversion-python25bindings/Portfile

    r70014 r71533  
    9898                        ${destroot}${PYTHON_PATH}/site-packages/svn-python.pth
    9999
    100                 file rename "${destroot}/${prefix}/lib/svn-python" \
    101                         "${destroot}/${prefix}/lib/svn-python2.5"
     100                file rename "${destroot}${prefix}/lib/svn-python" \
     101                        "${destroot}${prefix}/lib/svn-python2.5"
    102102                }
  • trunk/dports/devel/subversion-python26bindings/Portfile

    r70014 r71533  
    9898                        ${destroot}${PYTHON_PATH}/site-packages/svn-python.pth
    9999
    100                 file rename "${destroot}/${prefix}/lib/svn-python" \
    101                         "${destroot}/${prefix}/lib/svn-python2.6"
     100                file rename "${destroot}${prefix}/lib/svn-python" \
     101                        "${destroot}${prefix}/lib/svn-python2.6"
    102102                }
    103103
  • trunk/dports/devel/tailor/Portfile

    r56061 r71533  
    2525    # install docs
    2626    xinstall -m 644 -W ${worksrcpath} README.rst README.html \
    27         ${destroot}/${prefix}/share/doc/${name}
     27        ${destroot}${prefix}/share/doc/${name}
    2828}
  • trunk/dports/editors/TeXmacs/Portfile

    r54305 r71533  
    7575build.target    { }
    7676
    77 post-destroot   { file mkdir ${destroot}/${prefix}/share/${name}
     77post-destroot   { file mkdir ${destroot}${prefix}/share/${name}
    7878                  system "chown -R root:admin ${destroot}${prefix}/share/${name}"
    7979
  • trunk/dports/editors/vim-app/Portfile

    r71505 r71533  
    121121    }
    122122    # install launchscript
    123     xinstall -m 755 ${filespath}/gvim.sh ${destroot}/${prefix}/bin/gvim
    124     reinplace "s|@APPPATH@|${applications_dir}|g" ${destroot}/${prefix}/bin/gvim
     123    xinstall -m 755 ${filespath}/gvim.sh ${destroot}${prefix}/bin/gvim
     124    reinplace "s|@APPPATH@|${applications_dir}|g" ${destroot}${prefix}/bin/gvim
    125125
    126126    # allow for Vim.App to open .nfo, .vim, .latex, .tex, .diff files
  • trunk/dports/games/crafty/Portfile

    r32348 r71533  
    6666destroot {
    6767    # copy the executable
    68         xinstall -m 755 -d ${destroot}/${prefix}/bin
    69     file copy ${worksrcpath}/${name} ${destroot}/${prefix}/bin/
     68        xinstall -m 755 -d ${destroot}${prefix}/bin
     69    file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    7070
    7171    # copy the book files
    72     xinstall -m 755 -d ${destroot}/${prefix}/share/${name}
     72    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
    7373    file copy ${distpath}/${dist_book1} \
    7474              ${distpath}/${dist_book2} \
    7575              ${distpath}/${dist_book3} \
    76         ${destroot}/${prefix}/share/${name}/
     76        ${destroot}${prefix}/share/${name}/
    7777
    7878    # copy the docs
    79     xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
     79    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    8080    file copy ${distpath}/${dist_ascii} \
    8181              ${distpath}/${dist_ps} \
    82         ${destroot}/${prefix}/share/doc/${name}
     82        ${destroot}${prefix}/share/doc/${name}
    8383
    8484    # copy the manpage, renaming the extension
    8585    file copy ${distpath}/${dist_man} \
    86         ${destroot}/${prefix}/share/man/man1/${name}.1
     86        ${destroot}${prefix}/share/man/man1/${name}.1
    8787}
  • trunk/dports/games/duke3d/Portfile

    r68245 r71533  
    2525
    2626destroot {
    27         xinstall -m 755 -d ${destroot}/${prefix}/bin
    28         file copy ${worksrcpath}/${name} ${destroot}/${prefix}/bin/
     27        xinstall -m 755 -d ${destroot}${prefix}/bin
     28        file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/
    2929        }
    3030
  • trunk/dports/gnome/glom/Portfile

    r50980 r71533  
    3838
    3939post-destroot {
    40         file delete "${destpath}/${prefix}/share/mime/globs"
    41         file delete "${destpath}/${prefix}/share/mime/magic"
    42         file delete "${destpath}/${prefix}/share/mime/XMLnamespaces"
     40        file delete "${destpath}${prefix}/share/mime/globs"
     41        file delete "${destpath}${prefix}/share/mime/magic"
     42        file delete "${destpath}${prefix}/share/mime/XMLnamespaces"
    4343}
  • trunk/dports/graphics/qwtplot3d/Portfile

    r71355 r71533  
    9797
    9898destroot {
    99     xinstall -m 0644 ${worksrcpath}/lib/lib${name}.${version}.dylib ${destroot}/${prefix}/lib
    100     system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.2.dylib"
    101     system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.dylib"
    102     system "cd ${destroot}/${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.dylib"
    103     xinstall -m 755 -d  ${destroot}/${prefix}/include/${name}
    104     eval xinstall -m 0644 [glob ${worksrcpath}/include/*] ${destroot}/${prefix}/include/${name}
    105     system "install_name_tool -id ${prefix}/lib/lib${name}.${version}.dylib ${destroot}/${prefix}/lib/lib${name}.${version}.dylib"
     99    xinstall -m 0644 ${worksrcpath}/lib/lib${name}.${version}.dylib ${destroot}${prefix}/lib
     100    system "cd ${destroot}${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.2.dylib"
     101    system "cd ${destroot}${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.0.dylib"
     102    system "cd ${destroot}${prefix}/lib && ln -s lib${name}.${version}.dylib lib${name}.dylib"
     103    xinstall -m 755 -d  ${destroot}${prefix}/include/${name}
     104    eval xinstall -m 0644 [glob ${worksrcpath}/include/*] ${destroot}${prefix}/include/${name}
     105    system "install_name_tool -id ${prefix}/lib/lib${name}.${version}.dylib ${destroot}${prefix}/lib/lib${name}.${version}.dylib"
    106106}
  • trunk/dports/graphics/shapelib/Portfile

    r56093 r71533  
    4040                    libshp.${version}.dylib ${destroot}${prefix}/lib
    4141                  system "ln -sf libshp.${version}.dylib \
    42                     ${destroot}/${prefix}/lib/libshp.${libver}.dylib"
     42                    ${destroot}${prefix}/lib/libshp.${libver}.dylib"
    4343                  system "ln -sf libshp.${version}.dylib \
    44                     ${destroot}/${prefix}/lib/libshp.dylib" }
     44                    ${destroot}${prefix}/lib/libshp.dylib" }
  • trunk/dports/graphics/vtk-devel/Portfile

    r63940 r71533  
    332332    post-destroot {
    333333        xinstall -d -o root -g admin -m 0755 ${destroot}/${vtkDocPath}
    334         xinstall -d -o root -g admin -m 0755 ${destroot}/${prefix}/share/doc
     334        xinstall -d -o root -g admin -m 0755 ${destroot}${prefix}/share/doc
    335335        # Add the doxygen documentation
    336336        system "gnutar -C ${destroot}/${vtkDocPath} -zxf ${distpath}/${vtkDocFile}"
     
    342342        # system to do this because the $prefix path doesn't exist yet and the
    343343        # tcl ln command fails, whereas this system command will allow it.
    344         system "ln -s ${vtkDocPath} ${destroot}/${prefix}/share/doc/${distname}"
     344        system "ln -s ${vtkDocPath} ${destroot}${prefix}/share/doc/${distname}"
    345345    }
    346346    # A doxygen dependency would add a lot of complexity to vtk, so
  • trunk/dports/graphics/wxLua/Portfile

    r71036 r71533  
    8080
    8181        # remove some stuff that is unused with wxMac port
    82         delete "${destroot}/${prefix}/share/applications/wxlua.desktop"
    83         delete "${destroot}/${prefix}/share/mime/packages/wxlua.xml"
    84         delete "${destroot}/${prefix}/share/pixmaps/wxlualogo.xpm"
     82        delete "${destroot}${prefix}/share/applications/wxlua.desktop"
     83        delete "${destroot}${prefix}/share/mime/packages/wxlua.xml"
     84        delete "${destroot}${prefix}/share/pixmaps/wxlualogo.xpm"
    8585}
    8686
  • trunk/dports/lang/ccl/Portfile

    r68599 r71533  
    6565
    6666destroot        {
    67                   file mkdir ${destroot}/${prefix}/share/${name}/${shortversion}
    68                   system "cd ${worksrcpath} && tar cf - . | ( cd ${destroot}/${prefix}/share/${name}/${shortversion} && tar xf -)"
     67                  file mkdir ${destroot}${prefix}/share/${name}/${shortversion}
     68                  system "cd ${worksrcpath} && tar cf - . | ( cd ${destroot}${prefix}/share/${name}/${shortversion} && tar xf -)"
    6969                  reinplace "s|/usr/local/src/ccl|${prefix}/share/${name}/${shortversion}|" \
    7070                  ${workpath}/ccl/scripts/${ccl_script}
    7171                  system "chmod +x ${workpath}/ccl/scripts/${ccl_script}"
    72                   file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}/${prefix}/bin
     72                  file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}${prefix}/bin
    7373                  reinplace "s|\"usr\" \"local\" \"asdf-install\")))))|${prefixpath})))))|" \
    74                   ${destroot}/${prefix}/share/${name}/${shortversion}/tools/asdf-install/installer.lisp
     74                  ${destroot}${prefix}/share/${name}/${shortversion}/tools/asdf-install/installer.lisp
    7575                }
    7676
  • trunk/dports/lang/fsharp/Portfile

    r40948 r71533  
    3131
    3232post-patch {
    33     reinplace "s|gacutil -i|gacutil -i -root ${destroot}/${prefix}/lib/|g" ${worksrcpath}/install-mono.sh
     33    reinplace "s|gacutil -i|gacutil -i -root ${destroot}${prefix}/lib/|g" ${worksrcpath}/install-mono.sh
    3434    reinplace "s|^echo.*||g" ${worksrcpath}/install-mono.sh
    3535}
     
    5353        }
    5454
    55         set destfile [file join "${destroot}/${prefix}/bin/" [file tail [file rootname $binary]]]
     55        set destfile [file join "${destroot}${prefix}/bin/" [file tail [file rootname $binary]]]
    5656        set linkdest [file join ${sharedir}/bin/ [file tail $binary]]
    5757
  • trunk/dports/lang/ghc-devel/Portfile

    r65002 r71533  
    7474
    7575#bugs           GHC does not support DESTDIR. Instead, we install       \
    76 #               everything into ${destroot}/${prefix}, and then fix up  \
     76#               everything into ${destroot}${prefix}, and then fix up   \
    7777#               the five scripts which actually have the installation   \
    7878#               path hard coded.
     
    101101configure.cflags-append "-I${prefix}/include"
    102102
    103 configure.args  --prefix=${destroot}/${prefix}                  \
    104                 --mandir=${destroot}/${prefix}/share/man/       \
     103configure.args  --prefix=${destroot}${prefix}                   \
     104                --mandir=${destroot}${prefix}/share/man/        \
    105105                --with-readline-includes=${prefix}/include      \
    106106                --with-readline-libraries=${prefix}/lib         \
     
    123123
    124124                  foreach script_name [concat ${ghc_script} ${ghci_script} ${ghc-pkg_script} ] {
    125                         reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}${prefix}/bin/${script_name}
     125                        reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/${script_name}
    126126                  }
    127127
    128128                  foreach script_name { ghcprof hsc2hs-ghc } {
    129                         reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}${prefix}/bin/${script_name}
     129                        reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/${script_name}
    130130                  }
    131131
     
    133133
    134134                  set ghc_libdir [ glob ${destroot}${prefix}/bin/ghc-${version}.* ]
    135                   reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}${prefix}/lib/${ghc_libdir}/package.conf
     135                  reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/lib/${ghc_libdir}/package.conf
    136136
    137                   file delete ${destroot}/${prefix}/bin/ghc
    138                   file delete ${destroot}/${prefix}/bin/ghci
    139                   file delete ${destroot}/${prefix}/bin/ghc-pkg
     137                  file delete ${destroot}${prefix}/bin/ghc
     138                  file delete ${destroot}${prefix}/bin/ghci
     139                  file delete ${destroot}${prefix}/bin/ghc-pkg
    140140
    141141                  set ghc_date [ lindex [ split ${ghc_libdir} "." ] 2 ]
    142142
    143143                  foreach bin_name { ghcprof hasktags hp2ps hsc2hs-ghc runghc } {
    144                         file rename ${destroot}/${prefix}/bin/${bin_name} ${destroot}${prefix}/bin/${bin_name}-${version}.${ghc_date}
     144                        file rename ${destroot}${prefix}/bin/${bin_name} ${destroot}${prefix}/bin/${bin_name}-${version}.${ghc_date}
    145145                  }
    146146
  • trunk/dports/lang/gprolog/Portfile

    r56109 r71533  
    3232
    3333configure.args \
    34         --prefix=${destroot}/${prefix} \
     34        --prefix=${destroot}${prefix} \
    3535        --with-install-dir=${prefix}/lib/${name}-${version} \
    3636        --with-examples-dir=${prefix}/share/${name}-${version} \
  • trunk/dports/lang/sbcl/Portfile

    r68509 r71533  
    114114test.target     run-tests.sh
    115115
    116 destroot        { system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}/${prefix} sh ${worksrcpath}/install.sh"
     116destroot        { system "cd ${worksrcpath}; INSTALL_ROOT=${destroot}${prefix} sh ${worksrcpath}/install.sh"
    117117}
    118118
  • trunk/dports/mail/alpine/Portfile

    r69804 r71533  
    5656
    5757build.args \
    58   SPECIALS="GSSLIB=/${prefix}/lib SSLDIR=${prefix}"
     58  SPECIALS="GSSLIB=${prefix}/lib SSLDIR=${prefix}"
    5959
    6060variant without_krb5 description {Disable Kerberos5 support} {
  • trunk/dports/mail/eudora2unix/Portfile

    r59973 r71533  
    2424
    2525destroot {
    26         xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}/
    27         xinstall -m 644 ${worksrcpath}/index.html ${destroot}/${prefix}/share/doc/${name}/
    28         xinstall -m 644 ${worksrcpath}/details.html ${destroot}/${prefix}/share/doc/${name}/
    29         xinstall -m 755 ${worksrcpath}/Eudora2Mbox.py ${destroot}/${prefix}/bin/
    30         xinstall -m 755 ${worksrcpath}/Eudora2Unix.py ${destroot}/${prefix}/bin/
    31         xinstall -m 755 ${worksrcpath}/EudoraTOC.py ${destroot}/${prefix}/bin/
     26        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/
     27        xinstall -m 644 ${worksrcpath}/index.html ${destroot}${prefix}/share/doc/${name}/
     28        xinstall -m 644 ${worksrcpath}/details.html ${destroot}${prefix}/share/doc/${name}/
     29        xinstall -m 755 ${worksrcpath}/Eudora2Mbox.py ${destroot}${prefix}/bin/
     30        xinstall -m 755 ${worksrcpath}/Eudora2Unix.py ${destroot}${prefix}/bin/
     31        xinstall -m 755 ${worksrcpath}/EudoraTOC.py ${destroot}${prefix}/bin/
    3232}
  • trunk/dports/mail/qpopper/Portfile

    r59973 r71533  
    2323configure.args          --mandir=${prefix}/share/man \
    2424                                        --without-pam
    25 destroot.destdir        prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man
     25destroot.destdir        prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man
    2626
    2727post-patch {
  • trunk/dports/mail/vpopmail/Portfile

    r58230 r71533  
    104104        }
    105105        if {[variant_isset mysql5]} {
    106                 file rename ${destroot}/${prefix}/var/${name}/etc/vpopmail.mysql ${destroot}/${prefix}/var/${name}/etc/vpopmail.mysql.sample
     106                file rename ${destroot}${prefix}/var/${name}/etc/vpopmail.mysql ${destroot}${prefix}/var/${name}/etc/vpopmail.mysql.sample
    107107                xinstall -m 644 -W ${worksrcpath} README.mysql ${destroot}${prefix}/var/${name}/doc
    108108        }
  • trunk/dports/math/DSDP/Portfile

    r57375 r71533  
    3737
    3838destroot {
    39     xinstall ${worksrcpath}/lib/libdsdp.a ${destroot}/${prefix}/lib
    40     eval xinstall [glob ${worksrcpath}/include/*] ${destroot}/${prefix}/include
    41     xinstall ${worksrcpath}/bin/dsdp5 ${destroot}/${prefix}/bin
    42     xinstall ${worksrcpath}/bin/maxcut ${destroot}/${prefix}/bin
    43     xinstall ${worksrcpath}/bin/theta ${destroot}/${prefix}/bin
     39    xinstall ${worksrcpath}/lib/libdsdp.a ${destroot}${prefix}/lib
     40    eval xinstall [glob ${worksrcpath}/include/*] ${destroot}${prefix}/include
     41    xinstall ${worksrcpath}/bin/dsdp5 ${destroot}${prefix}/bin
     42    xinstall ${worksrcpath}/bin/maxcut ${destroot}${prefix}/bin
     43    xinstall ${worksrcpath}/bin/theta ${destroot}${prefix}/bin
    4444   
    4545    if {[variant_isset octave]} {
  • trunk/dports/net/ASFRecorder/Portfile

    r45792 r71533  
    2323                ${workpath}/${name}/source/asfrecorder.c"}
    2424destroot        { xinstall -m 755 ${workpath}/${name}/source/ASFRecorder \
    25                 ${destroot}/${prefix}/bin }
     25                ${destroot}${prefix}/bin }
  • trunk/dports/net/asterisk/Portfile

    r69520 r71533  
    4949
    5050post-destroot {
    51     system "rsync -a $worksrcpath/configs/*.sample ${destroot}/${prefix}/etc/asterisk"
    52     file mkdir "${destroot}/${prefix}/var/run"
    53     file mkdir "${destroot}/${prefix}/var/log/asterisk"
     51    system "rsync -a $worksrcpath/configs/*.sample ${destroot}${prefix}/etc/asterisk"
     52    file mkdir "${destroot}${prefix}/var/run"
     53    file mkdir "${destroot}${prefix}/var/log/asterisk"
    5454}
  • trunk/dports/net/asterisknow/Portfile

    r53684 r71533  
    2424
    2525post-destroot {
    26         file mkdir ${destroot}/${prefix}/var/lib/asterisk/gui_backups
    27         file mkdir ${destroot}/${prefix}/var/lib/asterisk/static-http/private/bkps
     26        file mkdir ${destroot}${prefix}/var/lib/asterisk/gui_backups
     27        file mkdir ${destroot}${prefix}/var/lib/asterisk/static-http/private/bkps
    2828}
    2929
  • trunk/dports/net/blackbag/Portfile

    r69520 r71533  
    3434
    3535post-patch {
    36     reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/Makefile
     36    reinplace "s|/usr/local|\$\(DESTDIR\)${prefix}|g" ${worksrcpath}/Makefile
    3737    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/bkb
    3838    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/sub.c
    39     reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/asn/Makefile
     39    reinplace "s|/usr/local|\$\(DESTDIR\)${prefix}|g" ${worksrcpath}/asn/Makefile
    4040    reinplace "s|/usr/local/bin|${prefix}/bin/blackbag|g" ${worksrcpath}/asn/asn
    4141    reinplace "s|shift|#shift|g" ${worksrcpath}/asn/asn
  • trunk/dports/net/ldapvi/Portfile

    r58271 r71533  
    2828configure.cppflags-append "-L${prefix}/lib"
    2929
    30 destroot.destdir        prefix=${destroot}/${prefix}
     30destroot.destdir        prefix=${destroot}${prefix}
    3131
    3232patchfiles      GNUmakefile-paths.patch \
  • trunk/dports/net/ntop/Portfile

    r62810 r71533  
    4848
    4949post-destroot   {
    50         xinstall -m 755 -o nobody -d ${destroot}/${prefix}/var/ntop \
    51                 ${destroot}/${prefix}/var/ntop/rrd
     50        xinstall -m 755 -o nobody -d ${destroot}${prefix}/var/ntop \
     51                ${destroot}${prefix}/var/ntop/rrd
    5252        system "cd ${destroot}${prefix}/var/ntop && \
    5353                touch addressQueue.db dnsCache.db macPrefix.db \
  • trunk/dports/net/openvpn2/Portfile

    r69520 r71533  
    3434
    3535post-destroot {
    36         set docdir ${destroot}/${prefix}/share/doc/${name}
     36        set docdir ${destroot}${prefix}/share/doc/${name}
    3737        xinstall -m 755 -d ${docdir}
    3838        foreach dir "easy-rsa sample-config-files sample-scripts \
  • trunk/dports/net/trafshow/Portfile

    r50984 r71533  
    4242                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
    4343
    44 destroot                {       xinstall -W ${worksrcpath} -m 755 -s -c trafshow ${destroot}/${prefix}/bin
    45                                 xinstall -W ${worksrcpath} -m 755 -s -c trafshow.1 ${destroot}/${prefix}/share/man/man1
    46                                 xinstall -W ${worksrcpath} -b -m 755 -s -c .trafshow ${destroot}/${prefix}/etc/trafshow.default }
     44destroot                {       xinstall -W ${worksrcpath} -m 755 -s -c trafshow ${destroot}${prefix}/bin
     45                                xinstall -W ${worksrcpath} -m 755 -s -c trafshow.1 ${destroot}${prefix}/share/man/man1
     46                                xinstall -W ${worksrcpath} -b -m 755 -s -c .trafshow ${destroot}${prefix}/etc/trafshow.default }
  • trunk/dports/print/cups-pdf/Portfile

    r64810 r71533  
    6666destroot {
    6767   xinstall -m 755 -d ${destroot}${prefix}/libexec/cups/backend \
    68       ${destroot}/${prefix}/etc/cups ${destroot}${prefix}/share/cups/model \
    69       ${destroot}/${prefix}/share/doc/${name} \
     68      ${destroot}${prefix}/etc/cups ${destroot}${prefix}/share/cups/model \
     69      ${destroot}${prefix}/share/doc/${name} \
    7070      ${destroot}${prefix}/var/spool/cups-pdf \
    7171      ${destroot}${prefix}/var/log/cups
  • trunk/dports/python/py-elementtree/Portfile

    r57375 r71533  
    3737                ${destroot}${prefix}/share/doc/${name}/examples
    3838        eval file copy [glob ${worksrcpath}/docs/*] \
    39                 ${destroot}/${prefix}/share/doc/${name}
     39                ${destroot}${prefix}/share/doc/${name}
    4040}
    4141
  • trunk/dports/python/py-gnuplot/Portfile

    r70583 r71533  
    2929                ANNOUNCE.txt CREDITS.txt FAQ.txt Gnuplot.html \
    3030                LICENSE.txt NEWS.txt README.txt TODO.txt \
    31                 ${destroot}/${prefix}/share/doc/${name}
     31                ${destroot}${prefix}/share/doc/${name}
    3232        file copy ${worksrcpath}/doc \
    33                 ${destroot}/${prefix}/share/doc/${name}
     33                ${destroot}${prefix}/share/doc/${name}
    3434}
    3535
  • trunk/dports/python/py-pastescript/Portfile

    r44419 r71533  
    3030        # Dependencies are the packaging system's job, for crying out loud.
    3131        # Cheetah doesn't use setuptools.
    32         reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.4/site-packages/PasteScript-${version}-py2.4.egg-info/requires.txt
     32        reinplace s|^Cheetah.*||g $destroot$prefix/lib/python2.4/site-packages/PasteScript-${version}-py2.4.egg-info/requires.txt
    3333}
  • trunk/dports/python/py-pylons/Portfile

    r44419 r71533  
    4545    # Dependencies are the packaging system's job, for crying out loud.
    4646    # Cheetah doesn't use setuptools.
    47     reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
     47    reinplace s|^Cheetah.*||g $destroot$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
    4848    # Neither does FormEncode
    49     reinplace s|^FormEncode.*||g $destroot/$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
     49    reinplace s|^FormEncode.*||g $destroot$prefix/lib/python2.4/site-packages/Pylons-${version}-py2.4.egg-info/requires.txt
    5050}
  • trunk/dports/python/py-supervisor/Portfile

    r50984 r71533  
    2323
    2424post-destroot   {
    25         file delete -force ${destroot}/${prefix}/doc
     25        file delete -force ${destroot}${prefix}/doc
    2626        xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt COPYRIGHT.txt LICENSES.txt TODO.txt UPGRADING.txt sample.conf ${destroot}${prefix}/share/doc/${name}
    2727}
  • trunk/dports/python/py-twisted/Portfile

    r56061 r71533  
    2929
    3030post-destroot {
    31         foreach f [glob -directory ${destroot}/${prefix}/bin *] {
     31        foreach f [glob -directory ${destroot}${prefix}/bin *] {
    3232                move $f ${destroot}${prefix}/bin/[file tail $f]2.4
    3333        }
  • trunk/dports/python/py25-elementtree/Portfile

    r57375 r71533  
    3131                ${destroot}${prefix}/share/doc/${name}/examples
    3232        eval file copy [glob ${worksrcpath}/docs/*] \
    33                 ${destroot}/${prefix}/share/doc/${name}
     33                ${destroot}${prefix}/share/doc/${name}
    3434}
    3535
  • trunk/dports/python/py25-gnuplot/Portfile

    r70583 r71533  
    2929                ANNOUNCE.txt CREDITS.txt FAQ.txt Gnuplot.html \
    3030                LICENSE.txt NEWS.txt README.txt TODO.txt \
    31                 ${destroot}/${prefix}/share/doc/${name}
     31                ${destroot}${prefix}/share/doc/${name}
    3232        file copy ${worksrcpath}/doc \
    33                 ${destroot}/${prefix}/share/doc/${name}
     33                ${destroot}${prefix}/share/doc/${name}
    3434}
    3535
  • trunk/dports/python/py25-logilab-astng/Portfile

    r69557 r71533  
    3434    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
    3535        ${destroot}${prefix}/share/doc/${name}
    36     file delete ${destroot}/${prefix}/lib/python2.5/site-packages/logilab/__init__.py
     36    file delete ${destroot}${prefix}/lib/python2.5/site-packages/logilab/__init__.py
    3737}
  • trunk/dports/python/py25-logilab-constraint/Portfile

    r58269 r71533  
    3434        ${destroot}${prefix}/share/doc/${name}/examples
    3535
    36     file delete ${destroot}/${prefix}/lib/python2.5/site-packages/logilab/__init__.py
     36    file delete ${destroot}${prefix}/lib/python2.5/site-packages/logilab/__init__.py
    3737}
  • trunk/dports/python/py25-pastescript/Portfile

    r44419 r71533  
    3030        # Dependencies are the packaging system's job, for crying out loud.
    3131        # Cheetah doesn't use setuptools.
    32         reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.5/site-packages/PasteScript-${version}-py2.5.egg-info/requires.txt
     32        reinplace s|^Cheetah.*||g $destroot$prefix/lib/python2.5/site-packages/PasteScript-${version}-py2.5.egg-info/requires.txt
    3333}
  • trunk/dports/python/py25-pylons/Portfile

    r65907 r71533  
    4848    # Dependencies are the packaging system's job, for crying out loud.
    4949    # Cheetah doesn't use setuptools.
    50     reinplace s|^Cheetah.*||g $destroot/$prefix/lib/python2.5/site-packages/Pylons-${version}-py2.5.egg-info/requires.txt
     50    reinplace s|^Cheetah.*||g $destroot$prefix/lib/python2.5/site-packages/Pylons-${version}-py2.5.egg-info/requires.txt
    5151    # Neither does FormEncode
    52     reinplace s|^FormEncode.*||g $destroot/$prefix/lib/python2.5/site-packages/Pylons-${version}-py2.5.egg-info/requires.txt
     52    reinplace s|^FormEncode.*||g $destroot$prefix/lib/python2.5/site-packages/Pylons-${version}-py2.5.egg-info/requires.txt
    5353}
  • trunk/dports/python/py25-twisted/Portfile

    r69711 r71533  
    2828
    2929post-destroot {
    30         foreach f [glob -directory ${destroot}/${prefix}/bin *] {
     30        foreach f [glob -directory ${destroot}${prefix}/bin *] {
    3131                move $f ${destroot}${prefix}/bin/[file tail $f]2.5
    3232        }
  • trunk/dports/python/py26-elementtree/Portfile

    r57375 r71533  
    2929        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    3030        eval file copy [glob ${worksrcpath}/docs/*] \
    31                 ${destroot}/${prefix}/share/doc/${name}
     31                ${destroot}${prefix}/share/doc/${name}
    3232        xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
    3333        eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
  • trunk/dports/python/py26-gnuplot/Portfile

    r70583 r71533  
    3030                ANNOUNCE.txt CREDITS.txt FAQ.txt Gnuplot.html \
    3131                LICENSE.txt NEWS.txt README.txt TODO.txt \
    32                 ${destroot}/${prefix}/share/doc/${name}
     32                ${destroot}${prefix}/share/doc/${name}
    3333        file copy ${worksrcpath}/doc \
    34                 ${destroot}/${prefix}/share/doc/${name}
     34                ${destroot}${prefix}/share/doc/${name}
    3535}
    3636
  • trunk/dports/science/geoexpress-sdk/Portfile

    r40948 r71533  
    3636
    3737destroot {
    38         file copy ${worksrcpath} ${destroot}/${prefix}/share/Geo_DSDK
    39         system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsiddecode ${destroot}/${prefix}/bin"
    40         system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsidinfo ${destroot}/${prefix}/bin"
     38        file copy ${worksrcpath} ${destroot}${prefix}/share/Geo_DSDK
     39        system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsiddecode ${destroot}${prefix}/bin"
     40        system "ln -s ${prefix}/share/Geo_DSDK/bin/mrsidinfo ${destroot}${prefix}/bin"
    4141}
  • trunk/dports/science/geos2/Portfile

    r57375 r71533  
    4040post-destroot {
    4141        # Compatibility links
    42         system "cd ${destroot}/${prefix}/lib && ln -s geos2/libgeos.dylib libgeos2.dylib"
    43         system "cd ${destroot}/${prefix}/lib && ln -s geos2/libgeos_c.dylib libgeos2_c.dylib"
     42        system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos.dylib libgeos2.dylib"
     43        system "cd ${destroot}${prefix}/lib && ln -s geos2/libgeos_c.dylib libgeos2_c.dylib"
    4444
    45         system "cd ${destroot}/${prefix}/include && ln -s geos2/geos.h geos2.h"
    46         system "cd ${destroot}/${prefix}/include && ln -s geos2/geos_c.h geos2_c.h"
     45        system "cd ${destroot}${prefix}/include && ln -s geos2/geos.h geos2.h"
     46        system "cd ${destroot}${prefix}/include && ln -s geos2/geos_c.h geos2_c.h"
    4747}
    4848
  • trunk/dports/science/gromacs-double/Portfile

    r71367 r71533  
    7979post-destroot {
    8080    # All the required files are provided by the single-precision 'gromacs' port. Delete everything that's not required.
    81     system "find \"${destroot}/${prefix}\" -depth 1 -not -name lib -print0 | xargs -0 rm -rf"
    82     system "find \"${destroot}/${prefix}\" -type f -not -iname '*_d' -a -not -name '*_d.*' -print0 | xargs -0 rm -rf"
    83     system "mv \"${destroot}/${prefix}/lib/gromacs-double\" \"${destroot}/${prefix}/lib/gromacs\""
     81    system "find \"${destroot}${prefix}\" -depth 1 -not -name lib -print0 | xargs -0 rm -rf"
     82    system "find \"${destroot}${prefix}\" -type f -not -iname '*_d' -a -not -name '*_d.*' -print0 | xargs -0 rm -rf"
     83    system "mv \"${destroot}${prefix}/lib/gromacs-double\" \"${destroot}${prefix}/lib/gromacs\""
    8484}
  • trunk/dports/security/cracklib-words/Portfile

    r62772 r71533  
    3939destroot  {
    4040    xinstall -d ${destroot}${prefix}/share/cracklib
    41     xinstall -m 644 ${worksrcpath}/${name} ${destroot}/${prefix}/share/cracklib
     41    xinstall -m 644 ${worksrcpath}/${name} ${destroot}${prefix}/share/cracklib
    4242}
    4343
  • trunk/dports/security/metasploit2/Portfile

    r50984 r71533  
    4141destroot        {
    4242                        set metasploitTargetDir "libexec/metasploit2"
    43                         xinstall -d -m 755 ${destroot}/${prefix}/${metasploitTargetDir}
     43                        xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
    4444                        foreach file [glob -directory ${workpath}/${worksrcdir} *]  {
    45                                 file copy ${file} ${destroot}/${prefix}/${metasploitTargetDir}
     45                                file copy ${file} ${destroot}${prefix}/${metasploitTargetDir}
    4646                        }
    47                         foreach file [glob -directory ${destroot}/${prefix}/${metasploitTargetDir} msf*]  {
     47                        foreach file [glob -directory ${destroot}${prefix}/${metasploitTargetDir} msf*]  {
    4848                                set useFile [file tail ${file}]
    4949## 'file link' doesn't play nice, it doesn't (seem) to want to do relative paths...
    5050##                              file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
    5151## so use 'system "ln -s ..."' instead.
    52                                 system "cd ${destroot}/${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
     52                                system "cd ${destroot}${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
    5353                        }
    5454                 }
  • trunk/dports/security/metasploit3/Portfile

    r50984 r71533  
    5555destroot        {
    5656                        set metasploitTargetDir "libexec/metasploit3"
    57                         xinstall -d -m 755 ${destroot}/${prefix}/${metasploitTargetDir}
     57                        xinstall -d -m 755 ${destroot}${prefix}/${metasploitTargetDir}
    5858                        foreach file [glob -directory ${workpath}/${worksrcdir} *]  {
    59                                 file copy ${file} ${destroot}/${prefix}/${metasploitTargetDir}
     59                                file copy ${file} ${destroot}${prefix}/${metasploitTargetDir}
    6060                        }
    61                         foreach file [glob -directory ${destroot}/${prefix}/${metasploitTargetDir} msf*]  {
     61                        foreach file [glob -directory ${destroot}${prefix}/${metasploitTargetDir} msf*]  {
    6262                                set useFile [file tail ${file}]
    6363## 'file link' doesn't play nice, it doesn't (seem) to want to do relative paths...
    6464##                              file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
    6565## so use 'system "ln -s ..."' instead.
    66                                 system "cd ${destroot}/${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
     66                                system "cd ${destroot}${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
    6767                        }
    6868                 }
  • trunk/dports/security/rsyncrypto/Portfile

    r69520 r71533  
    3232configure.cppflags-append -D__unix__
    3333
    34 destroot.destdir        prefix=${destroot}/${prefix} \
     34destroot.destdir        prefix=${destroot}${prefix} \
    3535                                mandir=${destroot}${prefix}/share/man
  • trunk/dports/sysutils/apt/Portfile

    r66285 r71533  
    4949                        ${varapt}/cache/archives/partial \
    5050                        ${varapt}/state/lists/partial \
    51                         ${destroot}/${prefix}/etc/apt \
    52                         ${destroot}/${prefix}/etc/apt/apt.conf.d
     51                        ${destroot}${prefix}/etc/apt \
     52                        ${destroot}${prefix}/etc/apt/apt.conf.d
    5353
    5454### Operating System Variants ###
     
    201201
    202202        # Install configuration files
    203         set confdest ${destroot}/${prefix}/etc/apt/apt.conf.d
     203        set confdest ${destroot}${prefix}/etc/apt/apt.conf.d
    204204        file mkdir ${confdest}
    205         xinstall -m 644 ${filespath}/sources.list ${destroot}/${prefix}/etc/apt/sources.list
    206         xinstall -m 644 ${worksrcpath}/build/docs/examples/apt.conf ${destroot}/${prefix}/etc/apt/apt.conf
     205        xinstall -m 644 ${filespath}/sources.list ${destroot}${prefix}/etc/apt/sources.list
     206        xinstall -m 644 ${worksrcpath}/build/docs/examples/apt.conf ${destroot}${prefix}/etc/apt/apt.conf
    207207
    208208        # Create var directoriesa
  • trunk/dports/sysutils/sysvbanner/Portfile

    r32348 r71533  
    3131
    3232destroot {
    33     xinstall -W ${worksrcpath} -m 755 banner ${destroot}/${prefix}/bin/${name}
     33    xinstall -W ${worksrcpath} -m 755 banner ${destroot}${prefix}/bin/${name}
    3434    xinstall -W ${worksrcpath} -m 644 banner.1 \
    35         ${destroot}/${prefix}/share/man/man1/${name}.1
     35        ${destroot}${prefix}/share/man/man1/${name}.1
    3636}
  • trunk/dports/tex/BibTool/Portfile

    r50984 r71533  
    2424checksums                       md5 20ebb18ea55e5f64b67f5b8edaa0d6fa
    2525
    26 destroot.destdir        BINDIR=${destroot}/${prefix}/bin LIBDIR=${destroot}/${prefix}/lib/${name}
     26destroot.destdir        BINDIR=${destroot}${prefix}/bin LIBDIR=${destroot}${prefix}/lib/${name}
    2727
    2828depends_lib                     bin:tex:texlive
  • trunk/dports/tex/gtamacfonts/Portfile

    r53926 r71533  
    6666
    6767destroot {
    68         file mkdir ${destroot}/${prefix}/share/texmf-dist
    69         system "mv ${workpath}/{doc,fonts,tex} ${destroot}/${prefix}/share/texmf-dist"
     68        file mkdir ${destroot}${prefix}/share/texmf-dist
     69        system "mv ${workpath}/{doc,fonts,tex} ${destroot}${prefix}/share/texmf-dist"
    7070}
    7171
  • trunk/dports/tex/texlive-basic/Portfile

    r68969 r71533  
    9898
    9999post-destroot {
    100     delete ${destroot}/${prefix}/bin/mf
     100    delete ${destroot}${prefix}/bin/mf
    101101}
    102102
  • trunk/dports/textproc/chmdump/Portfile

    r45802 r71533  
    3030
    3131destroot {
    32         xinstall -m 555 ${worksrcpath}/${name} ${destroot}/${prefix}/bin
     32        xinstall -m 555 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    3333}
  • trunk/dports/textproc/docbook-dsssl/Portfile

    r50984 r71533  
    1919destroot        {
    2020    # Docs
    21         xinstall -m 755 -d ${destroot}/${prefix}/${instdir} \
    22                 ${destroot}/${prefix}/share/doc/${name} \
    23                 ${destroot}/${prefix}/share/${name}
     21        xinstall -m 755 -d ${destroot}${prefix}/${instdir} \
     22                ${destroot}${prefix}/share/doc/${name} \
     23                ${destroot}${prefix}/share/${name}
    2424   
    2525    # bin
    2626        xinstall -m 644 -W ${worksrcpath} bin/collateindex.pl \
    27                 ${destroot}/${prefix}/bin
     27                ${destroot}${prefix}/bin
    2828    # man
    2929        xinstall -m 644 -W ${worksrcpath} bin/collateindex.pl.1 \
    30                 ${destroot}/${prefix}/share/man/man1
     30                ${destroot}${prefix}/share/man/man1
    3131
    3232    # everything else
    3333        xinstall -m 644 -W ${worksrcpath} BUGS ChangeLog README \
    3434                RELEASE-NOTES.html RELEASE-NOTES.xml RELEASE-NOTES.txt VERSION WhatsNew \
    35                 ${destroot}/${prefix}/share/doc/${name}
     35                ${destroot}${prefix}/share/doc/${name}
    3636        foreach dirname $dirs_to_install {
    37                 file copy ${worksrcpath}/${dirname} ${destroot}/${prefix}/${instdir}
     37                file copy ${worksrcpath}/${dirname} ${destroot}${prefix}/${instdir}
    3838        }
    3939}
  • trunk/dports/textproc/hunspell-dict-de_DE/Portfile

    r66408 r71533  
    2424use_zip             yes
    2525
    26 set installdir "$destroot/$prefix/share/hunspell/"
     26set installdir "$destroot$prefix/share/hunspell/"
    2727set worksrcdir "."
    2828
  • trunk/dports/textproc/lookup/Portfile

    r57375 r71533  
    4444
    4545post-destroot {
    46     xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}
     46    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
    4747    set docs {AUTHORS COPYING ChangeLog NEWS README README.org VERSION}
    4848    foreach f ${docs} {
    49         xinstall -m 644 ${worksrcpath}/${f} ${destroot}/${prefix}/share/doc/${name}
     49        xinstall -m 644 ${worksrcpath}/${f} ${destroot}${prefix}/share/doc/${name}
    5050    }
    5151
     
    9696    }
    9797    post-destroot {
    98         xinstall -m 644 ${worksrcpath}/texi/lookup.pdf ${destroot}/${prefix}/share/doc/${name}
     98        xinstall -m 644 ${worksrcpath}/texi/lookup.pdf ${destroot}${prefix}/share/doc/${name}
    9999    }
    100100}
  • trunk/dports/textproc/naturaldocs/Portfile

    r71531 r71533  
    4040
    4141destroot {
    42     file copy ${worksrcpath} ${destroot}/${prefix}/lib/
    43     ln -sf ${prefix}/lib/NaturalDocs-${version}/NaturalDocs ${destroot}/${prefix}/bin/
     42    file copy ${worksrcpath} ${destroot}${prefix}/lib/
     43    ln -sf ${prefix}/lib/NaturalDocs-${version}/NaturalDocs ${destroot}${prefix}/bin/
    4444}
  • trunk/dports/textproc/pdftohtml/Portfile

    r70030 r71533  
    2424
    2525destroot {
    26     xinstall -m 755 ${worksrcpath}/src/${name} ${destroot}/${prefix}/bin/
     26    xinstall -m 755 ${worksrcpath}/src/${name} ${destroot}${prefix}/bin/
    2727}
    2828
  • trunk/dports/textproc/remind/Portfile

    r69376 r71533  
    2828
    2929post-destroot {
    30     xinstall -m 755 -d ${destroot}/${prefix}/share/${name}/
    31     file copy ${worksrcpath}/examples ${destroot}/${prefix}/share/${name}/
     30    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/
     31    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}/
    3232}
  • trunk/dports/www/drupal5/Portfile

    r64108 r71533  
    7474build               {}
    7575
    76 set docroot ${destroot}/${prefix}/www/data
     76set docroot ${destroot}${prefix}/www/data
    7777
    7878destroot {
  • trunk/dports/www/drupal6/Portfile

    r64108 r71533  
    7474build               {}
    7575
    76 set docroot ${destroot}/${prefix}/www/data
     76set docroot ${destroot}${prefix}/www/data
    7777
    7878destroot {
  • trunk/dports/x11/kochi-substitute/Portfile

    r56061 r71533  
    2323destroot {
    2424        set fontsdir ${destroot}${prefix}/share/fonts/${name}
    25         xinstall -m 755 -d ${fontsdir} ${destroot}/${prefix}/share/doc/
     25        xinstall -m 755 -d ${fontsdir} ${destroot}${prefix}/share/doc/
    2626        xinstall -m 644 ${worksrcpath}/kochi-mincho-subst.ttf ${fontsdir}
    2727        xinstall -m 644 ${worksrcpath}/kochi-gothic-subst.ttf ${fontsdir}
     
    2929        system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
    3030        #docs
    31         file copy ${worksrcpath}/docs ${destroot}/${prefix}/share/doc/${name}
     31        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
    3232        xinstall -m 644 -W ${worksrcpath} COPYING README.ja Changelog \
    33                 ${destroot}/${prefix}/share/doc/${name}
     33                ${destroot}${prefix}/share/doc/${name}
    3434}
  • trunk/dports/x11/mikachanfont/Portfile

    r56061 r71533  
    2727build          {}
    2828destroot {
    29         set fontsdir ${destroot}/${prefix}/share/fonts/${name}
    30         xinstall -d -m 755 ${fontsdir} ${destroot}/${prefix}/share/doc/${name}
     29        set fontsdir ${destroot}${prefix}/share/fonts/${name}
     30        xinstall -d -m 755 ${fontsdir} ${destroot}${prefix}/share/doc/${name}
    3131        xinstall -m 644 ${worksrcpath}/fonts/mikachan.ttf ${fontsdir}
    3232        #mkfontscale && mkfontdir
     
    3434        #docs
    3535        xinstall -m 644 -W ${worksrcpath} COPYRIGHT ChangeLog README.ja \
    36                 COPYRIGHT.ja README ${destroot}/${prefix}/share/doc/${name}
     36                COPYRIGHT.ja README ${destroot}${prefix}/share/doc/${name}
    3737}
  • trunk/dports/x11/sazanami-font/Portfile

    r56059 r71533  
    2222destroot {
    2323        set fontsdir ${destroot}${prefix}/share/fonts/sazanami
    24         xinstall -d -m 755 ${destroot}/${prefix}/share/doc/ ${fontsdir}
     24        xinstall -d -m 755 ${destroot}${prefix}/share/doc/ ${fontsdir}
    2525        xinstall -m 644 ${worksrcpath}/sazanami-mincho.ttf ${fontsdir}
    2626        xinstall -m 644 ${worksrcpath}/sazanami-gothic.ttf ${fontsdir}
     
    2828        system "mkfontscale ${fontsdir} && mkfontdir ${fontsdir}"
    2929        #docs
    30         file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
     30        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    3131        xinstall -m 644 ${worksrcpath}/README \
    32                 ${destroot}/${prefix}/share/doc/${name}
     32                ${destroot}${prefix}/share/doc/${name}
    3333}
  • trunk/dports/x11/xping/Portfile

    r56061 r71533  
    2222build           { system "cd ${worksrcpath} && cc ${distfiles} -Wall -I${prefix}/include -L${prefix}/lib -lX11 -o xping" }
    2323
    24 destroot        { system "install -m 755 ${worksrcpath}/xping ${destroot}/${prefix}/bin/" }
     24destroot        { system "install -m 755 ${worksrcpath}/xping ${destroot}${prefix}/bin/" }
Note: See TracChangeset for help on using the changeset viewer.