Changeset 40544 for trunk/dports


Ignore:
Timestamp:
Oct 6, 2008, 7:10:29 PM (16 years ago)
Author:
jmr@…
Message:

a52decX: don't use cd, and respect applications_dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/a52decX/Portfile

    r28937 r40544  
    2727patchfiles      patch-a52decX.pbproj-project.pbxproj
    2828
     29if {![info exists applications_dir]} {
     30    set applications_dir /Applications/MacPorts
     31}
    2932post-destroot {
    30     cd ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources
     33    set resdir ${destroot}${applications_dir}/${name}.app/Contents/Resources
    3134    foreach {exe} {a52dec lame} {
    32         ln -s ${prefix}/bin/${exe}
     35        ln -s ${prefix}/bin/${exe} ${resdir}
    3336    }
    3437}
Note: See TracChangeset for help on using the changeset viewer.