[MacPorts] #14557: RFE: Commands for installing .app bundles
MacPorts
trac at macosforge.org
Tue Mar 4 06:16:24 PST 2008
#14557: RFE: Commands for installing .app bundles
-----------------------------------+----------------------------------------
Reporter: raimue at macports.org | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: MacPorts base enhancements
Component: ports | Version: 1.7.0
Keywords: appdir appbundle apps |
-----------------------------------+----------------------------------------
Commands for installing .app bundles would be helpful. See for example how
the tuxmath port does it at the moment.
{{{
post-destroot {
xinstall -m 755 -d
${destroot}/Applications/MacPorts/TuxMath.app/Contents/MacOS
ln -s ${prefix}/bin/tuxmath
${destroot}/Applications/MacPorts/TuxMath.app/Contents/MacOS/TuxMath
}
}}}
This could be done like this:
{{{
app.install yes
app.name TuxMath
app.binary ${prefix}/bin/tuxmath
}}}
Additional directives would be needed for inclusion of Resources etc.
Also, a Info.plist with version information should be generated.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14557>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list