New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33049 (closed submission: fixed)

Opened 16 months ago

Last modified 14 months ago

php5-magickwand @1.0.9 - New port submission

Reported by: nicholas@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: php5-magickwand

Description

Attached is a portfile for the MagickWand API for PHP, an image manipulation extension that provides a more complete interface to the ImageMagick library than does the older imagick extension.

I'm new to the art of portfile writing, so suggestions are welcome!

Attachments

Portfile (1.2 KB) - added by nicholas@… 16 months ago.
Portfile for php5-magickwand (2012-01-28)

Change History

Changed 16 months ago by nicholas@…

Portfile for php5-magickwand (2012-01-28)

comment:1 Changed 14 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Status changed from new to assigned

Thanks.

comment:2 Changed 14 months ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed in r91145 with these changes:

  • Just set distname instead of setting dist_version, dist_name, php5extension.build_dirs and distfiles
  • The php5extension portgroup already sets categories to php, so let's just append the graphics category rather than overwriting it
  • Rewrote master_sites to reuse ${homepage} variable, and added legacy download directory
  • Updated checksum because it did not match; you attached the portfile to this ticket 2012-01-28 and the distfile was updated on the server on 2012-02-29; I hope the developers do not make a regular habit of performing such stealth updates
  • Added rmd160 checksum (distfiles should have two checksum types)
  • The php5extension portgroup already adds a library dependency on php5, so you only need to append the ImageMagick dependency
  • MacPorts already takes care of adding --prefix=${prefix} to configure.pre_args and the php5extension portgroup takes care of helping you find php-config, so the only configure arg we need is --with-magickwand=${prefix}

Then I realized I forgot to check whether livecheck works. It didn't, so I fixed it in r91146.

Note: See TracTickets for help on using tickets.