Opened 12 years ago

Closed 12 years ago

#33049 closed submission (fixed)

php5-magickwand @1.0.9 - New port submission

Reported by: coditect (Nicholas Rawlings) Owned by: ryandesign (Ryan Carsten Schmidt)
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 (1)

Portfile (1.2 KB) - added by coditect (Nicholas Rawlings) 12 years ago.
Portfile for php5-magickwand (2012-01-28)

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by coditect (Nicholas Rawlings)

Attachment: Portfile added

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

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

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.