[50181] trunk/dports/php

nox at macports.org nox at macports.org
Mon Apr 27 06:34:54 PDT 2009


Revision: 50181
          http://trac.macports.org/changeset/50181
Author:   nox at macports.org
Date:     2009-04-27 06:34:53 -0700 (Mon, 27 Apr 2009)
Log Message:
-----------
php5-apc: Port to php5peclextension portgroup.

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

Added Paths:
-----------
    trunk/dports/php/php5-apc/

Modified: trunk/dports/php/php5-apc/Portfile
===================================================================
--- trunk/dports/devel/php5-apc/Portfile	2009-04-27 11:52:58 UTC (rev 50180)
+++ trunk/dports/php/php5-apc/Portfile	2009-04-27 13:34:53 UTC (rev 50181)
@@ -2,36 +2,26 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       php5peclextension 1.0
 
 name            php5-apc
-set my_name     APC
 version         3.1.2
-categories      devel php
+revision        1
+categories      php devel
 platforms       darwin
 maintainers     nox openmaintainer
 description     Alternative PHP Cache
 
+php5peclextension.setup APC ${version}
+
 long_description \
     APC is a free, open, and robust framework for caching and \
     optimizing PHP intermediate code.
 
-homepage        http://pecl.php.net/package/APC
-master_sites    http://pecl.php.net/get/
-distname        ${my_name}-${version}
-extract.suffix  .tgz
-
 checksums       md5     0a18cf164b3e044e27edd4c1d8c3145c \
                 sha1    aebd866b06779814e9af5ae16948687347c50054 \
                 rmd160  0e2b044e37e161fa449d5d27a72181205adf7e18
 
-depends_lib     path:bin/phpize:php5
-
-pre-configure {
-    system "cd ${worksrcpath} && phpize"
-}
-
 use_parallel_build  yes
 
 build.args          EXTRA_INCLUDES=-I${prefix}/include
-
-destroot.destdir    INSTALL_ROOT=${destroot}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090427/f03e9e4e/attachment.html>


More information about the macports-changes mailing list