[62722] trunk/dports/php

nox at macports.org nox at macports.org
Thu Jan 14 15:17:15 PST 2010


Revision: 62722
          http://trac.macports.org/changeset/62722
Author:   nox at macports.org
Date:     2010-01-14 15:17:13 -0800 (Thu, 14 Jan 2010)
Log Message:
-----------
Create new port php5-imlib2

imlib2 is a very fast image manipulation library, but without the
support for as many image formats as other libraries such as
imagemagick. This extension is experimental. It's been tested on a
number of Linux installs, but nothing else.

Added Paths:
-----------
    trunk/dports/php/php5-imlib2/
    trunk/dports/php/php5-imlib2/Portfile
    trunk/dports/php/php5-imlib2/files/
    trunk/dports/php/php5-imlib2/files/patch-imlib2.c.diff

Added: trunk/dports/php/php5-imlib2/Portfile
===================================================================
--- trunk/dports/php/php5-imlib2/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-imlib2/Portfile	2010-01-14 23:17:13 UTC (rev 62722)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem      1.0
+PortGroup       archcheck 1.0
+PortGroup       php5extension 1.0
+
+php5extension.setup imlib2 0.1.00 pecl
+license         PHP
+conflicts       php5-cairo_wrapper
+categories      php devel
+platforms       darwin
+maintainers     nox openmaintainer
+description     Provides an image manipulation interface using libimlib2
+
+long_description \
+    imlib2 is a very fast image manipulation library, but without the support \
+    for as many image formats as other libraries such as imagemagick. This \
+    extension is experimental. It's been tested on a number of Linux installs, \
+    but nothing else.
+
+checksums       md5     8bc2d64a7f8897e914f1e1b1f8e7b554 \
+                sha1    e4bbb37601cb6122624b66832dd11deba06656df \
+                rmd160  36ecf7b1d4f0872b0597db09c0410fa429e4bf21
+
+patchfiles      patch-imlib2.c.diff
+
+depends_lib-append \
+    port:imlib2
+
+archcheck.files \
+    lib/libImlib2.dylib
+
+test.run yes
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} CREDITS readme.txt docs/api.txt \
+        ${destroot}${docdir}
+}
+
+livecheck.regex {(\d+(?:\.\d+)*)</a></th>}


Property changes on: trunk/dports/php/php5-imlib2/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/php/php5-imlib2/files/patch-imlib2.c.diff
===================================================================
--- trunk/dports/php/php5-imlib2/files/patch-imlib2.c.diff	                        (rev 0)
+++ trunk/dports/php/php5-imlib2/files/patch-imlib2.c.diff	2010-01-14 23:17:13 UTC (rev 62722)
@@ -0,0 +1,14 @@
+--- imlib2.c.orig	2010-01-14 12:19:05.000000000 +0100
++++ imlib2.c	2010-01-14 12:26:35.000000000 +0100
+@@ -48,6 +48,11 @@
+ static int le_imlib2_poly;
+ 
+ 
++ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0)
++	ZEND_ARG_PASS_INFO(0)
++	ZEND_ARG_PASS_INFO(1)
++ZEND_END_ARG_INFO()
++
+ function_entry imlib2_functions[] = {
+ 	PHP_FE(imlib2_image_modify_gamma,NULL)
+ 	PHP_FE(imlib2_image_modify_contrast,NULL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100114/709c8641/attachment.html>


More information about the macports-changes mailing list