Ticket #13509 (closed enhancement: fixed)
Support .dmg disk images as distfiles with new use_dmg option
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts base enhancements |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | boeyms@… | |
| Port: |
Description
We support several kinds distfile formats, including .tar.gz, .tar.bz2 and .zip. The former is the default; the others can be achieved by setting use_bzip2 or use_zip, respectively, to "yes". It would be nice to also support disk images with the .dmg extension via a new option use_dmg.
I will attach a patch for base to implement this which seems to work for me, but this is my first "major" bit of base hacking, so please scrutinize it extra carefully and point out any problems.
I'll also attach a patch for the isightcapture portfile, which currently has to do the disk image manipulation manually, to show how this simplifies the portfile. This is also the portfile I tested this feature with.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

