#42730: pngquant @2.1.0 Portfile --------------------------+-------------------------- Reporter: lpancescu@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: pngquant | --------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r117656 with these changes: * adjust whitespace to conform to modeline (indents at multiples of 4 spaces) * use github portgroup * download distfile from homepage, since that's where the download link takes you, and because those are bz2 files, which are smaller than the gz files github offers * patch Makefile to remove incorrect assumptions about where it should look for dependencies * ensure we're UsingTheRightCompiler and `-arch` flags * add universal variant and set `ARFLAGS` in order to add the `s` flag which makes the universal build succeed; equivalently, we could have patched lib/Makefile to run `ranlib` after running `ar` * use destroot.env instead of destroot.post_args, thereby eliminating the need to specify destroot.destdir again * all build environment variables needed to be copied to the destroot, so I used `eval` to accomplish that * add dependency on zlib, since the Makefile does use the flag `-lz` * [PortfileRecipes#doc install documentation files] -- Ticket URL: <https://trac.macports.org/ticket/42730#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X