Ignore:
Timestamp:
Nov 26, 2007, 5:54:57 AM (12 years ago)
Author:
bfulgham@…
Message:

Update portfile to remove improper use of 'cd' command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/wings/Portfile

    r20313 r31501  
    55name                    wings
    66version                 0.98.32a
     7revision                1
    78categories              graphics erlang
    89platforms               darwin
    9 maintainers             bfulgham@mac.com
     10maintainers             bfulgham@macports.org
    1011description             Erlang 3D Modeler
    1112long_description        Wings 3D is a subdivision modeler inspired by \
     
    2728
    2829post-destroot           {
    29         cd ${worksrcpath}
    3030        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
    31         xinstall -m 0644 README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
     31        xinstall -m 0644 -W ${worksrcpath} README AUTHORS license.terms ${destroot}${prefix}/share/doc/${name}
    3232
    3333        xinstall -d -m 0755 ${destroot}${prefix}/bin
    3434        xinstall -m 755 ${filespath}/wings.sh ${destroot}${prefix}/bin
    3535        reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/wings.sh
     36
    3637        system "cd ${destroot}${prefix}/bin && ln -s wings.sh wings"
    3738
Note: See TracChangeset for help on using the changeset viewer.