[100065] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 25 14:37:02 PST 2012
Revision: 100065
https://trac.macports.org/changeset/100065
Author: ryandesign at macports.org
Date: 2012-11-25 14:37:02 -0800 (Sun, 25 Nov 2012)
Log Message:
-----------
php-magickwand: fix advertised version of module
Modified Paths:
--------------
trunk/dports/php/php-magickwand/Portfile
trunk/dports/php/php5-magickwand/Portfile
Added Paths:
-----------
trunk/dports/php/php-magickwand/files/
trunk/dports/php/php-magickwand/files/patch-magickwand.h.diff
trunk/dports/php/php5-magickwand/files/
trunk/dports/php/php5-magickwand/files/patch-magickwand.h.diff
Modified: trunk/dports/php/php-magickwand/Portfile
===================================================================
--- trunk/dports/php/php-magickwand/Portfile 2012-11-25 21:05:30 UTC (rev 100064)
+++ trunk/dports/php/php-magickwand/Portfile 2012-11-25 22:37:02 UTC (rev 100065)
@@ -6,7 +6,7 @@
name php-magickwand
version 1.0.9
-revision 2
+revision 3
categories-append graphics
platforms darwin
maintainers ryandesign openmaintainer
@@ -34,6 +34,12 @@
if {${name} != ${subport}} {
depends_lib-append port:ImageMagick
+ patchfiles patch-magickwand.h.diff
+
+ post-patch {
+ reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/magickwand.h
+ }
+
configure.args --with-magickwand=${prefix}
}
Added: trunk/dports/php/php-magickwand/files/patch-magickwand.h.diff
===================================================================
--- trunk/dports/php/php-magickwand/files/patch-magickwand.h.diff (rev 0)
+++ trunk/dports/php/php-magickwand/files/patch-magickwand.h.diff 2012-11-25 22:37:02 UTC (rev 100065)
@@ -0,0 +1,11 @@
+--- magickwand.h.orig 2012-01-31 10:35:01.000000000 -0600
++++ magickwand.h 2012-11-25 15:49:38.000000000 -0600
+@@ -21,7 +21,7 @@
+ #include "TSRM.h"
+ #endif
+
+-#define MAGICKWAND_VERSION "1.0.8"
++#define MAGICKWAND_VERSION "@VERSION@"
+
+ /* ************************************************************************************************************** */
+
Modified: trunk/dports/php/php5-magickwand/Portfile
===================================================================
--- trunk/dports/php/php5-magickwand/Portfile 2012-11-25 21:05:30 UTC (rev 100064)
+++ trunk/dports/php/php5-magickwand/Portfile 2012-11-25 22:37:02 UTC (rev 100065)
@@ -5,7 +5,7 @@
PortGroup php5extension 1.0
php5extension.setup magickwand 1.0.9
-revision 1
+revision 2
categories-append graphics
platforms darwin
maintainers ryandesign openmaintainer
@@ -30,6 +30,12 @@
depends_lib-append port:ImageMagick
+patchfiles patch-magickwand.h.diff
+
+post-patch {
+ reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/magickwand.h
+}
+
configure.args --with-magickwand=${prefix}
livecheck.type regex
Added: trunk/dports/php/php5-magickwand/files/patch-magickwand.h.diff
===================================================================
--- trunk/dports/php/php5-magickwand/files/patch-magickwand.h.diff (rev 0)
+++ trunk/dports/php/php5-magickwand/files/patch-magickwand.h.diff 2012-11-25 22:37:02 UTC (rev 100065)
@@ -0,0 +1,11 @@
+--- magickwand.h.orig 2012-01-31 10:35:01.000000000 -0600
++++ magickwand.h 2012-11-25 15:49:38.000000000 -0600
+@@ -21,7 +21,7 @@
+ #include "TSRM.h"
+ #endif
+
+-#define MAGICKWAND_VERSION "1.0.8"
++#define MAGICKWAND_VERSION "@VERSION@"
+
+ /* ************************************************************************************************************** */
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121125/f5e2d2d5/attachment.html>
More information about the macports-changes
mailing list