Ticket #14557 (new enhancement)
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
Note: See
TracTickets for help on using
tickets.

