Skip to content
Permalink
Browse files

a52decX: don't use cd, and respect applications_dir

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40544 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Oct 6, 2008
1 parent c6b278f commit 4eee44accd869cf4e17e3d72f97c4dba763db00c
Showing with 5 additions and 2 deletions.
  1. +5 −2 aqua/a52decX/Portfile
@@ -26,10 +26,13 @@ depends_run port:a52dec \

patchfiles patch-a52decX.pbproj-project.pbxproj

if {![info exists applications_dir]} {
set applications_dir /Applications/MacPorts
}
post-destroot {
cd ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources
set resdir ${destroot}${applications_dir}/${name}.app/Contents/Resources
foreach {exe} {a52dec lame} {
ln -s ${prefix}/bin/${exe}
ln -s ${prefix}/bin/${exe} ${resdir}
}
}

0 comments on commit 4eee44a

Please sign in to comment.
You can’t perform that action at this time.