Changeset 32257


Ignore:
Timestamp:
Dec 23, 2007, 9:39:21 AM (12 years ago)
Author:
ryandesign@…
Message:

All openmaintainer ports: ${prefix} already begins with a slash,
so there's no reason to put a slash before the ${prefix} variable
when using it.

See r32256 for the equivalent change for nomaintainer ports.

Location:
trunk/dports
Files:
17 edited

Legend:

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

    r30188 r32257  
    4040use_configure       no
    4141build.args          PREFIX="${prefix}"
    42 destroot.destdir    PREFIX="${destroot}/${prefix}"
     42destroot.destdir    PREFIX="${destroot}${prefix}"
    4343
    4444variant universal {
  • trunk/dports/cross/arm-apple-darwin-binutils/Portfile

    r30190 r32257  
    5454
    5555        # Make the binaries externally visible.
    56         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
    57         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
    58         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ar ./"
    59         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-libtool ./"
    60         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ranlib ./"
     56        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
     57        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
     58        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ar ./"
     59        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-libtool ./"
     60        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ranlib ./"
    6161
    6262        # Set up non-prefixed binaries in the iphone bin directory
  • trunk/dports/cross/arm-apple-darwin-cc/Portfile

    r30190 r32257  
    4545post-destroot {
    4646        # Make the binaries externally visible.
    47         system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-cc ./"
     47        system "cd ${destroot}${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-cc ./"
    4848
    4949        # Set up non-prefixed binaries in the iphone bin directory
  • trunk/dports/devel/nsis/Portfile

    r30192 r32257  
    4343        system "cd ${worksrcpath} && scons ${scons.args} install"
    4444        foreach dir {Bin Docs Include Plugins Contrib Examples Menu Stubs} {
    45                 file delete -force ${destpath}/${prefix}/share/nsis/${dir}
    46                 file copy -force ${workpath}/nsis-${version}/${dir} ${destpath}/${prefix}/share/nsis
     45                file delete -force ${destpath}${prefix}/share/nsis/${dir}
     46                file copy -force ${workpath}/nsis-${version}/${dir} ${destpath}${prefix}/share/nsis
    4747        }
    48         system "chmod -R go-w '${destpath}/${prefix}/share/nsis'"
     48        system "chmod -R go-w '${destpath}${prefix}/share/nsis'"
    4949}
  • trunk/dports/devel/stgit/Portfile

    r29510 r32257  
    3636    # Install what little documentation there is
    3737    xinstall -m 644 -W ${worksrcpath} COPYING README \
    38         ${destroot}/${prefix}/share/doc/${name}
     38        ${destroot}${prefix}/share/doc/${name}
    3939    eval xinstall -m 644 [eval glob ${stgdocs}] \
    40         ${destroot}/${prefix}/share/doc/${name}
     40        ${destroot}${prefix}/share/doc/${name}
    4141    if {${stgman} != ""} {
    4242        eval xinstall -m 644 [eval glob ${stgman}] \
    43             ${destroot}/${prefix}/share/man/man1
     43            ${destroot}${prefix}/share/man/man1
    4444    }
    4545}
  • trunk/dports/games/fortune/Portfile

    r31206 r32257  
    5454        foreach datfile $datfiles {
    5555                file copy ${worksrcpath}/datfiles/${datfile} \
    56                         ${destroot}/${prefix}/share/games/fortune
     56                        ${destroot}${prefix}/share/games/fortune
    5757        }
    5858}
  • trunk/dports/lang/lua/Portfile

    r30664 r32257  
    4646}
    4747
    48 destroot.target install INSTALL_TOP=${destroot}/${prefix}
     48destroot.target install INSTALL_TOP=${destroot}${prefix}
    4949post-destroot {
    5050        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
  • trunk/dports/lang/perl5.9-devel/Portfile

    r32171 r32257  
    4646    set branch [join [lrange [split ${version} .] 0 1] .]
    4747
    48     foreach man1File [glob ${destroot}/${prefix}/share/man/man1/*] {
     48    foreach man1File [glob ${destroot}${prefix}/share/man/man1/*] {
    4949        regexp (.*)(\.1.*) ${man1File} -> program suffix
    5050        file rename ${man1File} ${program}${version}${suffix}
    5151    }
    52     foreach man3File [glob ${destroot}/${prefix}/share/man/man3/*] {
     52    foreach man3File [glob ${destroot}${prefix}/share/man/man3/*] {
    5353        file rename ${man3File} ${man3File}pm${branch}
    5454    }
  • trunk/dports/lang/tcl/Portfile

    r32235 r32257  
    2424destroot.destdir  INSTALL_ROOT=${destroot}
    2525post-destroot {
    26     ln -s ${prefix}/bin/tclsh8.5 ${destroot}/${prefix}/bin/tclsh
    27     ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}/${prefix}/lib/libtcl.dylib
     26    ln -s ${prefix}/bin/tclsh8.5 ${destroot}${prefix}/bin/tclsh
     27    ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}${prefix}/lib/libtcl.dylib
    2828}
    2929
  • trunk/dports/multimedia/ffmpeg/Portfile

    r30772 r32257  
    4848
    4949post-destroot {
    50         file mkdir ${destroot}/${prefix}/share/doc/${name}
    51         file copy ${worksrcpath}/doc/TODO ${destroot}/${prefix}/share/doc/${name}
     50        file mkdir ${destroot}${prefix}/share/doc/${name}
     51        file copy ${worksrcpath}/doc/TODO ${destroot}${prefix}/share/doc/${name}
    5252        foreach f [glob ${worksrcpath}/doc/*.txt ${worksrcpath}/doc/*.html] {
    53                 file copy $f ${destroot}/${prefix}/share/doc/${name}
     53                file copy $f ${destroot}${prefix}/share/doc/${name}
    5454        }
    5555}
  • trunk/dports/net/nessus-core/Portfile

    r30204 r32257  
    3030                patch-nessusd-preferences.c
    3131
    32 destroot.keepdirs       ${destroot}/${prefix}/etc/nessus \
    33                         ${destroot}/${prefix}/var/nessus/jobs \
    34                         ${destroot}/${prefix}/var/nessus/logs \
    35                         ${destroot}/${prefix}/var/nessus/tmp \
    36                         ${destroot}/${prefix}/var/nessus/users
     32destroot.keepdirs       ${destroot}${prefix}/etc/nessus \
     33                        ${destroot}${prefix}/var/nessus/jobs \
     34                        ${destroot}${prefix}/var/nessus/logs \
     35                        ${destroot}${prefix}/var/nessus/tmp \
     36                        ${destroot}${prefix}/var/nessus/users
    3737
    3838post-patch       {
  • trunk/dports/python/py-matplotlib/Portfile

    r31210 r32257  
    7575
    7676post-destroot {
    77         xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} \
    78                 ${destroot}/${prefix}/share/${name}
     77        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
     78                ${destroot}${prefix}/share/${name}
    7979        xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
    8080                INTERACTIVE KNOWN_BUGS README TODO \
    81                 ${destroot}/${prefix}/share/doc/${name}
     81                ${destroot}${prefix}/share/doc/${name}
    8282        file copy ${worksrcpath}/license \
    83                 ${destroot}/${prefix}/share/doc/${name}
     83                ${destroot}${prefix}/share/doc/${name}
    8484        file copy ${worksrcpath}/examples \
    85                 ${destroot}/${prefix}/share/${name}
     85                ${destroot}${prefix}/share/${name}
    8686}
    8787
  • trunk/dports/python/py-sip/Portfile

    r30513 r32257  
    4242
    4343post-destroot {
    44         xinstall -m 755 -d ${destroot}/${prefix}/share/doc
    45         file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
     44        xinstall -m 755 -d ${destroot}${prefix}/share/doc
     45        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
    4646        xinstall -m 644 -W ${worksrcpath} LICENSE NEWS README THANKS TODO \
    4747                ${destroot}${prefix}/share/doc/${name}
  • trunk/dports/python/py25-matplotlib/Portfile

    r31210 r32257  
    7676
    7777post-destroot {
    78         xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} \
    79                 ${destroot}/${prefix}/share/${name}
     78        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
     79                ${destroot}${prefix}/share/${name}
    8080        xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
    8181                INTERACTIVE KNOWN_BUGS README TODO \
    82                 ${destroot}/${prefix}/share/doc/${name}
     82                ${destroot}${prefix}/share/doc/${name}
    8383        file copy ${worksrcpath}/license \
    84                 ${destroot}/${prefix}/share/doc/${name}
     84                ${destroot}${prefix}/share/doc/${name}
    8585        file copy ${worksrcpath}/examples \
    86                 ${destroot}/${prefix}/share/${name}
     86                ${destroot}${prefix}/share/${name}
    8787}
    8888
  • trunk/dports/science/triangle/Portfile

    r30208 r32257  
    4242}
    4343
    44 destroot.destdir        BINDIR=${destroot}/${prefix}/bin
     44destroot.destdir        BINDIR=${destroot}${prefix}/bin
    4545
    4646post-destroot {
    47     xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} \
    48         ${destroot}/${prefix}/bin
    49     eval xinstall -m 644 -W ${worksrcpath} A.poly README ${destroot}/${prefix}/share/doc/${name}
    50     xinstall -m 755 -W ${worksrcpath} triangle showme ${destroot}/${prefix}/bin
     47    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
     48        ${destroot}${prefix}/bin
     49    eval xinstall -m 644 -W ${worksrcpath} A.poly README ${destroot}${prefix}/share/doc/${name}
     50    xinstall -m 755 -W ${worksrcpath} triangle showme ${destroot}${prefix}/bin
    5151}
    5252
  • trunk/dports/tex/bibutils/Portfile

    r30562 r32257  
    2424                    sha1 504655a7f42e66dfd731dbb3bd31b8c64de3c049
    2525
    26 configure.pre_args  --install-dir ${destroot}/${prefix}/bin
     26configure.pre_args  --install-dir ${destroot}${prefix}/bin
  • trunk/dports/www/cgit/Portfile

    r31772 r32257  
    5050post-destroot {
    5151    xinstall -m 444 ${worksrcpath}/cgitrc ${destroot}${prefix}/etc/cgitrc.sample
    52     xinstall -m 700 -o www -g www -d ${destroot}/${prefix}/var/cache/cgit
     52    xinstall -m 700 -o www -g www -d ${destroot}${prefix}/var/cache/cgit
    5353    destroot.keepdirs ${destroot}${prefix}/var/cache/cgit
    5454}
Note: See TracChangeset for help on using the changeset viewer.