[62362] trunk/dports/php
nox at macports.org
nox at macports.org
Mon Jan 4 19:42:13 PST 2010
Revision: 62362
http://trac.macports.org/changeset/62362
Author: nox at macports.org
Date: 2010-01-04 19:42:12 -0800 (Mon, 04 Jan 2010)
Log Message:
-----------
Create new port php5-amf
Allows to encode and decode PHP data in ActionScript Message Format
(AMF) version 0 and 3.
Added Paths:
-----------
trunk/dports/php/php5-amf/
trunk/dports/php/php5-amf/Portfile
trunk/dports/php/php5-amf/files/
trunk/dports/php/php5-amf/files/patch-amf.c.diff
Added: trunk/dports/php/php5-amf/Portfile
===================================================================
--- trunk/dports/php/php5-amf/Portfile (rev 0)
+++ trunk/dports/php/php5-amf/Portfile 2010-01-05 03:42:12 UTC (rev 62362)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup php5extension 1.0
+
+php5extension.setup amfext 0.9.2 pecl
+php5extension.extensions amf
+name php5-amf
+license PHP
+categories php devel
+platforms darwin
+maintainers nox openmaintainer
+description ActionScript Message Format extension
+
+long_description \
+ Allows to encode and decode PHP data in ActionScript Message Format (AMF) \
+ version 0 and 3.
+
+checksums md5 c5899ca580f19ef7f057b6ea41c2d236 \
+ sha1 f2f40d4ddc4416fa09f17e94ed037f907fd87ec4 \
+ rmd160 d55426eb9da3513058fc58db51f5ba35cff831a9
+
+patchfiles patch-amf.c.diff
+
+configure.args --with-amf
+
+use_parallel_build yes
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog LICENSE README \
+ ${destroot}${docdir}
+}
+
+livecheck.regex {>(\d+(?:\.\d+)*)</a></th>}
\ No newline at end of file
Property changes on: trunk/dports/php/php5-amf/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/php/php5-amf/files/patch-amf.c.diff
===================================================================
--- trunk/dports/php/php5-amf/files/patch-amf.c.diff (rev 0)
+++ trunk/dports/php/php5-amf/files/patch-amf.c.diff 2010-01-05 03:42:12 UTC (rev 62362)
@@ -0,0 +1,19 @@
+--- amf.c.orig 2010-01-05 04:23:23.000000000 +0100
++++ amf.c 2010-01-05 04:29:37.000000000 +0100
+@@ -1185,7 +1185,6 @@
+ int resultType = AMFC_TYPEDOBJECT;
+ int resultValueLength = 0;
+ zval** resultValue = struc;
+- int deallocResult = (*struc)->refcount;
+
+ resultType = amf_perform_serialize_callback(struc, &className,&classNameLen,&resultValue,var_hash TSRMLS_CC);
+
+@@ -2670,7 +2669,7 @@
+ }
+ else
+ {
+- newval->refcount--;
++ Z_DELREF_P(newval);
+ }
+ *rval = newval;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100104/b34b45d1/attachment.html>
More information about the macports-changes
mailing list