[99046] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Wed Oct 24 18:59:52 PDT 2012


Revision: 99046
          http://trac.macports.org//changeset/99046
Author:   ryandesign at macports.org
Date:     2012-10-24 18:59:52 -0700 (Wed, 24 Oct 2012)
Log Message:
-----------
php-sphinx: new port, version 1.2.0 (#26736)

Added Paths:
-----------
    trunk/dports/php/php-sphinx/
    trunk/dports/php/php-sphinx/Portfile
    trunk/dports/php/php-sphinx/files/
    trunk/dports/php/php-sphinx/files/patch-php_sphinx.h.diff

Added: trunk/dports/php/php-sphinx/Portfile
===================================================================
--- trunk/dports/php/php-sphinx/Portfile	                        (rev 0)
+++ trunk/dports/php/php-sphinx/Portfile	2012-10-25 01:59:52 UTC (rev 99046)
@@ -0,0 +1,34 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem              1.0
+PortGroup               php 1.1
+
+name                    php-sphinx
+version                 1.2.0
+categories-append       textproc
+platforms               darwin
+maintainers             ryandesign openmaintainer
+license                 PHP
+
+php.branches            5.3 5.4
+php.pecl                yes
+
+description             PHP bindings for Sphinx full-text search
+
+long_description        ${description}
+
+checksums               rmd160  fc4edabc84855bd34afd0a80eb8e3ffb4e7ad6b9 \
+                        sha256  5e6ba4111500749bd80c78c8b3cdb85757b0614e2761032ca4b1795913293a43
+
+if {${name} != ${subport}} {
+    depends_lib-append      port:libsphinxclient
+    
+    patchfiles              patch-php_sphinx.h.diff
+    
+    post-patch {
+        reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/php_sphinx.h
+    }
+    
+    configure.args-append   --with-sphinx=${prefix}
+}


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

Added: trunk/dports/php/php-sphinx/files/patch-php_sphinx.h.diff
===================================================================
--- trunk/dports/php/php-sphinx/files/patch-php_sphinx.h.diff	                        (rev 0)
+++ trunk/dports/php/php-sphinx/files/patch-php_sphinx.h.diff	2012-10-25 01:59:52 UTC (rev 99046)
@@ -0,0 +1,11 @@
+--- php_sphinx.h.orig	2012-04-03 04:33:43.000000000 -0500
++++ php_sphinx.h	2012-10-24 20:14:21.000000000 -0500
+@@ -32,7 +32,7 @@
+ PHP_MINIT_FUNCTION(sphinx);
+ PHP_MINFO_FUNCTION(sphinx);
+ 
+-#define PHP_SPHINX_VERSION "1.1.0"
++#define PHP_SPHINX_VERSION "@VERSION@"
+ 
+ #endif	/* PHP_SPHINX_H */
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121024/e9800136/attachment.html>


More information about the macports-changes mailing list