[50364] trunk/dports/php/php5-memcache/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 29 14:11:48 PDT 2009


Revision: 50364
          http://trac.macports.org/changeset/50364
Author:   ryandesign at macports.org
Date:     2009-04-29 14:11:48 -0700 (Wed, 29 Apr 2009)
Log Message:
-----------
php5-memcache: switch to php5peclextension portgroup, with maintainer's approval

Modified Paths:
--------------
    trunk/dports/php/php5-memcache/Portfile

Modified: trunk/dports/php/php5-memcache/Portfile
===================================================================
--- trunk/dports/php/php5-memcache/Portfile	2009-04-29 21:00:28 UTC (rev 50363)
+++ trunk/dports/php/php5-memcache/Portfile	2009-04-29 21:11:48 UTC (rev 50364)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-name              php5-memcache
-version           2.1.2
+PortGroup               php5peclextension 1.0
 
-categories        php net devel
+php5peclextension.setup memcache 2.1.2
+revision                1
+categories-append       net devel
 platforms         darwin freebsd openbsd
 maintainers       emory.smith at gmail.com openmaintainer
-homepage          http://pecl.php.net/package/memcache
 description       PHP5 bindings for memcache
 long_description \
     Memcached is a caching daemon designed especially for dynamic web \
@@ -15,25 +15,6 @@
     This extension allows you to work with memcached through handy OO \
     and procedural interfaces.
 
-master_sites      http://pecl.php.net/get/
 checksums         md5 cfde0918360f3909a242c3211604ad46
-distname          memcache-${version}
-extract.suffix    .tgz
 
-depends_lib   port:memcached path:bin/phpize:php5 port:zlib
-
-pre-configure {
-    system "cd ${worksrcpath} && phpize"
-}
-
-destroot.destdir INSTALL_ROOT=${destroot}
-
-post-install {
-    ui_msg "***************************************************************************"
-    ui_msg "* To enable the memcache extension in php, add or edit the following      *"
-    ui_msg "* lines in ${prefix}/etc/php.ini:                                         *"
-    ui_msg "*                                                                         *" 
-    ui_msg "* extension_dir=${prefix}/lib/php/extensions/no-debug-non-zts-20060613    *"
-    ui_msg "* extension = memcache.so                                                 *" 
-    ui_msg "***************************************************************************"
-}
+depends_lib-append      port:memcached port:zlib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090429/8ce3426e/attachment.html>


More information about the macports-changes mailing list