Ticket #14557 (closed enhancement: fixed)
RFE: Commands for installing .app bundles
| Reported by: | raimue@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | appdir appbundle apps | Cc: | |
| Port: | app |
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


