Changeset 32782


Ignore:
Timestamp:
Jan 13, 2008, 11:15:07 AM (12 years ago)
Author:
ryandesign@…
Message:

zopeedit: no longer use the deprecated 'cd' command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/zopeedit/Portfile

    r30257 r32782  
    2828
    2929configure {
    30         cd ${worksrcpath}
    31         reinplace "s|/usr/bin/${name}|${prefix}/bin/${name}|g" man/${name}.1
     30        reinplace "s|/usr/bin/${name}|${prefix}/bin/${name}|g" ${worksrcpath}/man/${name}.1
    3231}
    3332
     
    3938destroot.args   --prefix=${destroot}${prefix}
    4039post-destroot {
    41         cd ${worksrcpath}
    4240        file rename ${destroot}${prefix}/bin/${name}.py \
    4341                ${destroot}${prefix}/bin/${name}
    4442        xinstall -d -m 0755 ${destroot}${prefix}/share/man/man1
    45         xinstall -m 0644 man/${name}.1 ${destroot}${prefix}/share/man/man1
     43        xinstall -m 0644 -W ${worksrcpath} man/${name}.1 ${destroot}${prefix}/share/man/man1
    4644        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
    47         xinstall -m 0644 README.txt ${destroot}${prefix}/share/doc/${name}
    48         xinstall -m 0644 CHANGES.txt ${destroot}${prefix}/share/doc/${name}
    49         xinstall -m 0644 INSTALL-UNIX.txt ${destroot}${prefix}/share/doc/${name}
    50         xinstall -m 0644 LICENSE.txt ${destroot}${prefix}/share/doc/${name}
     45        xinstall -m 0644 -W ${worksrcpath} \
     46                README.txt \
     47                CHANGES.txt \
     48                INSTALL-UNIX.txt \
     49                LICENSE.txt \
     50                ${destroot}${prefix}/share/doc/${name}
    5151}
    5252
Note: See TracChangeset for help on using the changeset viewer.