[93008] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Sun May 13 17:41:28 PDT 2012


Revision: 93008
          https://trac.macports.org/changeset/93008
Author:   ryandesign at macports.org
Date:     2012-05-13 17:41:28 -0700 (Sun, 13 May 2012)
Log Message:
-----------
php-hidef: unified port

Modified Paths:
--------------
    trunk/dports/php/php-hidef/Portfile

Added Paths:
-----------
    trunk/dports/php/php-hidef/

Modified: trunk/dports/php/php-hidef/Portfile
===================================================================
--- trunk/dports/php/php5-hidef/Portfile	2012-05-13 23:49:46 UTC (rev 93003)
+++ trunk/dports/php/php-hidef/Portfile	2012-05-14 00:41:28 UTC (rev 93008)
@@ -1,9 +1,11 @@
+# -*- 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       php5extension 1.0
+PortGroup       php 1.0
 
-php5extension.setup hidef 0.1.11 pecl
+php.setup       hidef 0.1.11 pecl
+php.branches    5.3 5.4
 license         PHP
 categories      php devel
 platforms       darwin
@@ -20,14 +22,16 @@
 
 use_parallel_build yes
 
-test.run yes
-
-post-destroot {
-    set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
-    xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
+if {${name} != ${subport}} {
+    test.run yes
+    
+    post-destroot {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
+    }
+    
+    platform darwin {
+        patchfiles-append patch-hidef.c.diff
+    }
 }
-
-platform darwin {
-    patchfiles-append patch-hidef.c.diff
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120513/85ec1c04/attachment.html>


More information about the macports-changes mailing list