Ticket #30759 (closed request: duplicate)
app portgroup
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | app |
Description
Create an "app" portgroup, to create an application in ${applications_dir}, optionally with an icon. (Currently we copy blocks of code into portfiles to do this, for example r82472.)
The portgroup should expose a number of options, including:
- app.name (the name that will appear in the Finder; default computed based on ${name} (for example, if ${name} is all lowercase, use [string totitle ${name}], otherwise use ${name})
- app.executable (the executable to run; default ${name}; can be absolute path within ${destroot} or relative (to ${prefix}/bin) in which case a symlink to it is made, or can be absolute path in ${worksrcpath} or ${filespath} in which case it is copied and used directly)
- app.icon (the icns file to use; default empty; can be set to an existing icns file, or any other graphics file that makeicns can turn into an icns file)
- app.identifier (a valid CFBundleIdentifier; default computed based on ${homepage} and ${app.name})
Change History
Note: See
TracTickets for help on using
tickets.


#14557