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
comment:2 Changed 4 years ago by raimue@…
I was checking if we could utilize Platypus for this. But it has much more features than we need for this and it does not seem to get updates anymore.
I will look into writing a port group to support this.
comment:3 Changed 23 months ago by ryandesign@…
- Owner changed from macports-tickets@… to ryandesign@…
- Status changed from new to assigned
Oh, I didn't realize we already had a ticket for this when I filed duplicate #30759. And I've spent awhile now making my portgroup, without realizing there was already one here.
It looks like we have similar ideas, but #30759 contains a much more detailed game plan with additional features not contemplated here. I'll work on completing my portgroup and committing it soon.
comment:4 Changed 22 months ago by ryandesign@…
- Status changed from assigned to closed
- Resolution set to fixed
Added my portgroup in r82534. Functionality and documentation are pretty good. There are a few to-do's left.
comment:5 Changed 22 months ago by ryandesign@…
- Component changed from base to ports
- Port set to app
- Milestone MacPorts Future deleted

