Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14557 (new enhancement)

Opened 6 months ago

Last modified 8 weeks ago

RFE: Commands for installing .app bundles

Reported by: raimue@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base enhancements
Component: base Version: 1.7.0
Keywords: appdir appbundle apps Cc:

Description

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.

Change History

Changed 8 weeks ago by raimue@…

  • component changed from ports to base
Note: See TracTickets for help on using tickets.