[136760] trunk/dports/perl/p5-css/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon May 25 21:04:06 PDT 2015


Revision: 136760
          https://trac.macports.org/changeset/136760
Author:   ryandesign at macports.org
Date:     2015-05-25 21:04:06 -0700 (Mon, 25 May 2015)
Log Message:
-----------
p5-css: move examples to ${prefix}/share/doc/${subport}/examples

Modified Paths:
--------------
    trunk/dports/perl/p5-css/Portfile

Modified: trunk/dports/perl/p5-css/Portfile
===================================================================
--- trunk/dports/perl/p5-css/Portfile	2015-05-26 03:56:10 UTC (rev 136759)
+++ trunk/dports/perl/p5-css/Portfile	2015-05-26 04:04:06 UTC (rev 136760)
@@ -6,6 +6,7 @@
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         CSS 1.09
+revision            1
 maintainers         nomaintainer
 license             {Artistic-1 GPL}
 
@@ -32,9 +33,8 @@
     }
 
     post-destroot {
-        set examplesdir ${destroot}${prefix}/share/examples/${name}
-        xinstall -d ${examplesdir}
-        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
-            ${examplesdir}
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        copy ${worksrcpath}/examples ${destroot}${docdir}/examples
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150525/df09eb1e/attachment.html>


More information about the macports-changes mailing list