[62593] trunk/dports/php
nox at macports.org
nox at macports.org
Mon Jan 11 11:43:07 PST 2010
Revision: 62593
http://trac.macports.org/changeset/62593
Author: nox at macports.org
Date: 2010-01-11 11:43:05 -0800 (Mon, 11 Jan 2010)
Log Message:
-----------
Create new port php5-zorba
This extension is a wrapper of Zorba library to allow PHP developers to
use XQuery.
Added Paths:
-----------
trunk/dports/php/php5-zorba/
trunk/dports/php/php5-zorba/Portfile
Added: trunk/dports/php/php5-zorba/Portfile
===================================================================
--- trunk/dports/php/php5-zorba/Portfile (rev 0)
+++ trunk/dports/php/php5-zorba/Portfile 2010-01-11 19:43:05 UTC (rev 62593)
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup php5extension 1.0
+
+php5extension.setup zorba 0.9.9 pecl
+php5extension.extensions zorba_api
+license PHP
+categories php devel
+platforms darwin
+maintainers nox openmaintainer
+description PHP support for XQuery
+
+long_description \
+ This extension is a wrapper of Zorba library to allow PHP developers to \
+ use XQuery.
+
+homepage http://www.zorba-xquery.com/
+
+checksums md5 68435be7b5be3c7006d524d14f3f7801 \
+ sha1 6df7b12072359878052253f8ccc783fa72d751fc \
+ rmd160 2dd8ebb5f312e4bf431a2e1bbc342ddfa3f9c518
+
+configure.args-append \
+ --with-zorba_api=${prefix}
+
+configure.cppflags-append \
+ -I${prefix}/include/zorba
+
+use_parallel_build yes
+
+post-patch {
+ # Library files zorba not found
+ # configure: error: Is the zorba_api distribution installed properly?
+ reinplace /LIBNAMES/s/zorba/zorba_simplestore/ ${worksrcpath}/config.m4
+
+ # Libraries extension is ".dylib" on Darwin, not ".so"
+ reinplace {s/\.so/\.dylib/} ${worksrcpath}/config.m4
+
+ # Header "zorba/zorba.h" is in "${prefix}/include/zorba"
+ reinplace {s:/include:/include/zorba:} ${worksrcpath}/config.m4
+}
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
+}
+
+livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
Property changes on: trunk/dports/php/php5-zorba/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100111/5654ffd7/attachment.html>
More information about the macports-changes
mailing list