New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14557 (closed enhancement: fixed)

Opened 4 years ago

Last modified 6 months ago

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

appbundle-1.0.tcl Download (2.6 KB) - added by raimue@… 3 years ago.
Preliminary port group

Change History

Changed 4 years ago by raimue@…

  • component changed from ports to base

Changed 3 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.

Changed 3 years ago by raimue@…

Preliminary port group

Changed 6 months ago by ryandesign@…

  • status changed from new to assigned
  • owner changed from macports-tickets@… to ryandesign@…

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.

Changed 6 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.

Changed 6 months ago by ryandesign@…

  • component changed from base to ports
  • port set to app
  • milestone MacPorts Future deleted

Enhanced how default app.identifier is generated in r82535 and r82536.

Changed 6 months ago by ryandesign@…

Now automatically adding makeicns build dependency in r82546.

Changed 6 months ago by ryandesign@…

Add Tiger compatibility in r82550. I'm happy with the portgroup now; no other major plans for it at the moment.

Note: See TracTickets for help on using tickets.