#14557 closed enhancement (fixed)
RFE: Commands for installing .app bundles
Reported by: | raimue (Rainer Müller) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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 (1)
Change History (8)
comment:1 Changed 16 years ago by raimue (Rainer Müller)
Component: | ports → base |
---|
comment:2 Changed 16 years ago by raimue (Rainer Müller)
Changed 16 years ago by raimue (Rainer Müller)
Attachment: | appbundle-1.0.tcl added |
---|
Preliminary port group
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → 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 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added my portgroup in r82534. Functionality and documentation are pretty good. There are a few to-do's left.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | base → ports |
---|---|
Milestone: | MacPorts Future |
Port: | app added |
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Now automatically adding makeicns build dependency in r82546.
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Add Tiger compatibility in r82550. I'm happy with the portgroup now; no other major plans for it at the moment.
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.