Ignore:
Timestamp:
Mar 30, 2010, 9:12:48 AM (10 years ago)
Author:
ryandesign@…
Message:

bochs: simplify destroot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/bochs/Portfile

    r65685 r65689  
    3636}
    3737
    38 pre-destroot {
    39         xinstall -m 755 -d ${destroot}${prefix}/bin
    40         xinstall -m 755 -d ${destroot}${prefix}/share/bochs
    41         xinstall -m 755 -d ${destroot}${applications_dir}
    42 }
    43 
    4438post-destroot {
     39        xinstall -d ${destroot}${prefix}/share/bochs
    4540        file copy ${worksrcpath}/bochs.app ${destroot}${prefix}/share/bochs
    4641        system "ln -s ${prefix}/share/bochs/bochs.app ${destroot}${applications_dir}/bochs.app"
    47         xinstall -m 755 ${worksrcpath}/bochs ${destroot}${prefix}/bin
    48         xinstall -m 755 ${worksrcpath}/bximage ${destroot}${prefix}/bin
    49         xinstall -m 755 ${worksrcpath}/bxcommit ${destroot}${prefix}/bin
     42        xinstall -W ${worksrcpath} bochs bximage bxcommit ${destroot}${prefix}/bin
    5043        reinplace "s|\$BXSHARE/|${prefix}/share/bochs/|g" \
    5144                ${destroot}${prefix}/share/bochs/bochsrc-sample.txt
Note: See TracChangeset for help on using the changeset viewer.