[62678] trunk/dports/php/php5-oauth/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 13 13:25:56 PST 2010


Revision: 62678
          http://trac.macports.org/changeset/62678
Author:   ryandesign at macports.org
Date:     2010-01-13 13:25:54 -0800 (Wed, 13 Jan 2010)
Log Message:
-----------
php5-oath: examples go in share/examples

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

Modified: trunk/dports/php/php5-oauth/Portfile
===================================================================
--- trunk/dports/php/php5-oauth/Portfile	2010-01-13 20:54:31 UTC (rev 62677)
+++ trunk/dports/php/php5-oauth/Portfile	2010-01-13 21:25:54 UTC (rev 62678)
@@ -5,6 +5,7 @@
 PortGroup       php5extension 1.0
 
 php5extension.setup oauth 0.99.9 pecl
+revision        1
 license         BSD
 categories      php devel
 platforms       darwin
@@ -28,9 +29,10 @@
 
 post-destroot {
     set docdir ${prefix}/share/doc/${name}
-    xinstall -d ${destroot}${docdir}
+    set exampledir ${prefix}/share/examples
+    xinstall -d ${destroot}${docdir} ${destroot}${exampledir}
     xinstall -m 644 -W ${worksrcpath} LICENSE ${destroot}${docdir}
-    copy ${worksrcpath}/examples ${destroot}${docdir}
+    copy ${worksrcpath}/examples ${destroot}${exampledir}/${name}
 }
 
 livecheck.regex {(\d+(?:\.\d+)*)</a></th>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100113/ef96daff/attachment.html>


More information about the macports-changes mailing list